[
https://issues.apache.org/jira/browse/SPARK-6491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Owen updated SPARK-6491:
-----------------------------
Component/s: Spark Submit
[~marsishandsome] please assign a Component to JIRAs
> Spark will put the current working dir to the CLASSPATH
> -------------------------------------------------------
>
> Key: SPARK-6491
> URL: https://issues.apache.org/jira/browse/SPARK-6491
> Project: Spark
> Issue Type: Bug
> Components: Spark Submit
> Affects Versions: 1.3.0
> Reporter: Liangliang Gu
>
> When running "bin/computer-classpath.sh", the output will be:
> :/spark/conf:/spark/assembly/target/scala-2.10/spark-assembly-1.3.0-hadoop2.5.0-cdh5.2.0.jar:/spark/lib_managed/jars/datanucleus-rdbms-3.2.9.jar:/spark/lib_managed/jars/datanucleus-api-jdo-3.2.6.jar:/spark/lib_managed/jars/datanucleus-core-3.2.10.jar
> Java will add the current working dir to the CLASSPATH, if the first ":"
> exists, which is not expected by spark users.
> For example, if I call spark-shell in the folder /root. And there exists a
> "core-site.xml" under /root/. Spark will use this file as HADOOP CONF file,
> even if I have already set HADOOP_CONF_DIR=/etc/hadoop/conf.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]