Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.
This repository was archived by the owner on May 7, 2025. It is now read-only.

How to get the plugin class to be visible to executors #1

Closed
@brandonvin

Description

@brandonvin

Hi, I tried using an ExecutorPlugin as you showed in this repo, with Spark 2.4.4. My setup is to define the plugin class in my application code, and build an uberjar of the application.

I am passing the application jar as --jars to spark-submit. However, executors fail to launch with a ClassNotFoundException. I can only workaround this by passing the application JAR explicitly as spark.executor.extraClassPath. Do you have any clue why?

I have more details in this post: https://stackoverflow.com/questions/58586671/executorplugin-plugin-class-bundled-in-app-jar-class-not-found-on-executor

Thanks, I'd appreciate any insights. Knowledge about ExecutorPlugin seems scarce, sorry if this is the wrong place to ask.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions