You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "cocoatomo (JIRA)" <ji...@apache.org> on 2014/10/09 02:59:33 UTC

[jira] [Created] (SPARK-3869) ./bin/spark-class miss Java version with _JAVA_OPTIONS set

cocoatomo created SPARK-3869:
--------------------------------

             Summary: ./bin/spark-class miss Java version with _JAVA_OPTIONS set
                 Key: SPARK-3869
                 URL: https://issues.apache.org/jira/browse/SPARK-3869
             Project: Spark
          Issue Type: Bug
          Components: Spark Shell
    Affects Versions: 1.2.0
         Environment: Mac OS X 10.9.5, Python 2.6.8, Java 1.8.0_20
            Reporter: cocoatomo


When _JAVA_OPTIONS environment variable is set, a command "java -version" outputs a message like "Picked up _JAVA_OPTIONS: -Dfile.encoding=UTF-8".
./bin/spark-class knows java version from the first line of "java -version" output, so it mistakes java version with _JAVA_OPTIONS set.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org