[ 
https://issues.apache.org/jira/browse/SPARK-3869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14164535#comment-14164535
 ] 

Apache Spark commented on SPARK-3869:
-------------------------------------

User 'cocoatomo' has created a pull request for this issue:
https://github.com/apache/spark/pull/2725

> ./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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to