[
https://issues.apache.org/jira/browse/SPARK-9742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14679495#comment-14679495
]
Herman van Hovell commented on SPARK-9742:
------------------------------------------
Seems SPARK-9760 and this ticket are covering the same problem. I'll do a
rebuild of the master in the morning, and see if the problem has been fixed.
> NullPointerException when using --packages
> ------------------------------------------
>
> Key: SPARK-9742
> URL: https://issues.apache.org/jira/browse/SPARK-9742
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 1.5.0
> Reporter: Herman van Hovell
> Assignee: Burak Yavuz
> Priority: Blocker
>
> I am getting a NullPointerException when I start the Spark Shell with the
> {{--packages}} option on the latest master.
> This is the command I use to start the shell:
> {noformat}
> ./spark-shell --packages com.databricks:spark-csv_2.10:1.2.0
> {noformat}
> This the error I get:
> {noformat}
> hvanhovell@QT02:/media/hvanhovell/Data/QT/IT/Software/spark/dist/bin$
> ./spark-shell --packages com.databricks:spark-csv_2.10:1.2.0
> Ivy Default Cache set to: /home/hvanhovell/.ivy2/cache
> The jars for the packages stored in: /home/hvanhovell/.ivy2/jars
> Exception in thread "main" java.lang.NullPointerException
> at
> org.apache.spark.deploy.SparkSubmitUtils$.createRepoResolvers(SparkSubmit.scala:812)
> at
> org.apache.spark.deploy.SparkSubmitUtils$.resolveMavenCoordinates(SparkSubmit.scala:962)
> at
> org.apache.spark.deploy.SparkSubmit$.prepareSubmitEnvironment(SparkSubmit.scala:286)
> at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:153)
> at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:120)
> at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
> Using Spark's default log4j profile:
> org/apache/spark/log4j-defaults.properties
> 15/08/07 10:32:05 INFO Utils: Shutdown hook called
> {noformat}
> It also happens with other dependencies.
> Can anybody confirm this?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]