apache-spark - org.apache.zeppelin.interpreter.InterpreterException:Sparkr没有响应

标签 apache-spark hadoop apache-zeppelin sparkr

当我在Zeppelin中执行简单的Sparkr脚本时:

代码%spark.r 2 + 2
我发现以下错误:

org.apache.zeppelin.interpreter.InterpreterException: sparkr is not  responding 
R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
Copyright (C) 2013 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.



at org.apache.zeppelin.spark.ZeppelinR.open(ZeppelinR.java:165)
at org.apache.zeppelin.spark.SparkRInterpreter.open(SparkRInterpreter.java:91)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:618)
at org.apache.zeppelin.scheduler.Job.run(Job.java:186)
at org.apache.zeppelin.scheduler.FIFOScheduler$1.run(FIFOScheduler.java:139)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 

即使我在zeppline.env.sh中设置了SPARK_HOME和JAVA_HOME

最佳答案

R进程很可能已死,请检查spark解释器日志

关于apache-spark - org.apache.zeppelin.interpreter.InterpreterException:Sparkr没有响应,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49105404/

相关文章:

apache-spark - 如果驱动程序崩溃会发生什么?

sql-server - pyspark : spark-submit is not able to perform the desired job

java - 为什么 hadoop 输出文件 part-r-00000 是空的

hadoop - Hive 没有为倾斜的表创建单独的目录

apache-spark - Apache Zeppelin 是否足够稳定以用于生产

database - Apache Zeppelin 如何可视化 Hbase 中的数据?

git - 本地 Git 存储库中的 Zeppelin Notebook 存储

python - 将 Spark 与 Flask 和 JDBC 一起使用

hadoop - Spark Standalone 与 python 和 scala 的行为不同

即使我将 numReducetasks 设置为 2,Hadoop 也只会生成一个输出文件