Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-29882

SPARK on Kubernetes is Broken for SPARK with no Hadoop release

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.4.4
    • None
    • Kubernetes, Spark Core
    • None
    • How was this patch tested?

      Kubernetes 1.14, Spark 2.4.4, Hadoop 3.2.1. Adding $SPARK_DIST_CLASSPATH to {{-cp }} param of entrypoint.sh enables launching the executors correctly.

    Description

      What changes were proposed in this pull request?

      Include $SPARK_DIST_CLASSPATH in class path when launching CoarseGrainedExecutorBackend on Kubernetes executors using the provided entrypoint.sh

      Why are the changes needed?

      For user provided Hadoop (3.2.1 in this example) $SPARK_DIST_CLASSPATH contains the required jars.

      Does this PR introduce any user-facing change?

      no

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sshakeri Shahin Shakeri
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: