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

Spark JAR compiled with Java 7 leads to PySpark not working in YARN

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Duplicate
    • 1.0.0
    • None
    • PySpark, YARN
    • None

    Description

      Current (Spark 1.0) implementation of PySpark on Yarn requires python to be able to read Spark assembly JAR. But Spark assembly JAR compiled with Java 7 can sometimes be not readable by python. This can be due to the fact that JARs created by Java 7 with more 2^16 files is encoded in Zip64, which python cant read.

      SPARK-1911 warns users from using Java 7 when creating Spark distribution.

      One way to fix this is to put pyspark in a different smaller JAR than rest of Spark so that it is readable by python.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tdas Tathagata Das
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: