spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chintan (JIRA)" <>
Subject [jira] [Created] (SPARK-12551) Not able to load CSV package
Date Tue, 29 Dec 2015 09:07:49 GMT
chintan created SPARK-12551:

             Summary: Not able to load CSV package
                 Key: SPARK-12551
             Project: Spark
          Issue Type: Bug
          Components: R, SparkR
    Affects Versions: 1.5.2
         Environment: Rstudio under Windows
            Reporter: chintan

When ever i am trying load CSV package spark dont work, it gives Invoke java error

Sys.setenv('SPARKR_SUBMIT_ARGS'='"--packages" "com.databricks:spark-csv_2.10:1.2.0" "sparkr-shell"')
> Sys.setenv(SPARK_MEM="1g")
> sc <- sparkR.init(master = "local")
Launching java with spark-submit command C:/spark/bin/spark-submit.cmd   "--packages" "com.databricks:spark-csv_2.10:1.2.0"
"sparkr-shell" C:\Users\shahch07\AppData\Local\Temp\RtmpigvXMn\backend_port98840b15c5a 
> sqlContext <- sparkRSQL.init(sc)
> DF <- createDataFrame(sqlContext, faithful)
Error in invokeJava(isStatic = FALSE, objId$id, methodName, ...) : 
  org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 0.0 failed
1 times, most recent failure: Lost task 0.0 in stage 0.0 (TID 0, localhost): java.lang.NullPointerException
	at java.lang.ProcessBuilder.start(
	at org.apache.hadoop.util.Shell.runCommand(
	at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(
	at org.apache.hadoop.fs.FileUtil.chmod(
	at org.apache.hadoop.fs.FileUtil.chmod(
	at org.apache.spark.util.Utils$.fetchFile(Utils.scala:381)
	at org.apache.spark.executor.Executor$$anonfun$org$apache$spark$executor$Executor$$updateDependencies$5.apply(Executor.scala:405)
	at org.apache.spark.executor.Executor$$anonfun$org$apache$spark$executor$Executor$$updateDependencies$5.apply(Executor.scala:397)
	at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLi

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message