Rstudio和Rcmd中的SparkR错误

时间:2015-12-15 18:18:53

标签: sparkr

head(df)SparkR错误

invokeJava出错(isStatic = TRUE,className,methodName,...):   org.apache.spark.SparkException:由于阶段失败而中止作业:阶段6.0中的任务0失败1次,最近失败:阶段6.0中丢失的任务0.0(TID 6,localhost):java.io.IOException:无法运行程序“Rscript”:CreateProcess error = 2,系统找不到指定的文件

    at java.lang.ProcessBuilder.start(Unknown Source)

    at org.apache.spark.api.r.RRDD$.createRProcess(RRDD.scala:407)

    at org.apache.spark.api.r.RRDD$.createRWorker(RRDD.scala:445)

    at org.apache.spark.api.r.BaseRRDD.compute(RRDD.scala:62)

    at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:300)

    at org.apache.spark.rdd.RDD.iterator(RDD.scala:264)

    at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)

    at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:300)

    at org.apache.spark.rdd.RDD.iterator(RDD.scala:264)

    at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)

    at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.sc

0 个答案:

没有答案