You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Andrew Or (JIRA)" <ji...@apache.org> on 2014/06/24 20:46:26 UTC

[jira] [Reopened] (SPARK-1911) Warn users that jars should be built with Java 6 for YARN

     [ https://issues.apache.org/jira/browse/SPARK-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Or reopened SPARK-1911:
------------------------------


Looks like we still haven't fixed this. At the very least we should explicitly add this warning in the documentation. The next step that is more involved is to add a warning prompt in the mvn build scripts whenever Java 7+ is detected.

> Warn users that jars should be built with Java 6 for YARN
> ---------------------------------------------------------
>
>                 Key: SPARK-1911
>                 URL: https://issues.apache.org/jira/browse/SPARK-1911
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Documentation
>    Affects Versions: 1.1.0
>            Reporter: Andrew Or
>             Fix For: 1.1.0
>
>
> Python sometimes fails to read jars created by Java 7. This is necessary for PySpark to work in YARN, and so Spark assembly JAR should compiled in Java 6 for PySpark to work on YARN.
> Currently we warn users only in make-distribution.sh, but most users build the jars directly. We should emphasize it in the docs especially for PySpark and YARN because this issue is not trivial to debug.



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