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 03:44:01 UTC
[jira] [Comment Edited] (SPARK-1911) Warn users that jars should be
built with Java 6 for PySpark to work on YARN
[ https://issues.apache.org/jira/browse/SPARK-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14008260#comment-14008260 ]
Tathagata Das edited comment on SPARK-1911 at 5/25/14 1:43 AM:
---------------------------------------------------------------
https://github.com/apache/spark/pull/859/ adds a warning in make-distribution.sh if they try to compile spark with java 6.
Note that the actual problem of making Java 7 compiled JARs work with Python still needs to be solved.
was (Author: tdas):
https://github.com/apache/spark/pull/859/files
> Warn users that jars should be built with Java 6 for PySpark to work on YARN
> ----------------------------------------------------------------------------
>
> Key: SPARK-1911
> URL: https://issues.apache.org/jira/browse/SPARK-1911
> Project: Spark
> Issue Type: Sub-task
> Components: Documentation
> Reporter: Andrew Or
> Fix For: 1.0.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)