You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Tathagata Das (JIRA)" <ji...@apache.org> on 2014/05/25 04:05:01 UTC

[jira] [Created] (SPARK-1920) Spark JAR compiled with Java 7 leads to PySpark not work in YARN

Tathagata Das created SPARK-1920:
------------------------------------

             Summary: Spark JAR compiled with Java 7 leads to PySpark not work in YARN
                 Key: SPARK-1920
                 URL: https://issues.apache.org/jira/browse/SPARK-1920
             Project: Spark
          Issue Type: Bug
          Components: PySpark, YARN
    Affects Versions: 1.0.0
            Reporter: Tathagata Das


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|https://issues.apache.org/jira/browse/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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)