R口译员不在Zeppelin 0.6.2工作

时间:2016-10-31 14:25:38

标签: python r apache sparkr apache-zeppelin

我最近在Mac OS Siera 10.2上安装了apache zeppelin 0.6.2,我可以运行spark和python示例但是当我尝试使用%r%spark.r运行R代码时得到一个错误。我已经在.bash_profile中设置了SPARK_HOMESCALA_HOME。附加错误日志:

INFO [2016-10-31 19:48:10,806] ({pool-2-thread-5} SchedulerFactory.java[jobFinished]:137) - Job remoteInterpretJob_1477923480756 finished by scheduler org.apache.zeppelin.spark.SparkRInterpreter314730576
 INFO [2016-10-31 19:48:10,804] ({pool-1-thread-5} ZeppelinR.java[createRScript]:366) - File /var/folders/_b/2cr99z410sddt8km9p9b9fs80000gn/T/zeppelin_sparkr-6402261059466053567.R created
ERROR [2016-10-31 19:48:20,836] ({pool-1-thread-5} TThreadPoolServer.java[run]:296) - Error occurred during processing of message.
org.apache.zeppelin.interpreter.InterpreterException: sparkr is not responding 

1 个答案:

答案 0 :(得分:0)

只是想到在.bash_profile中设置SPARK_HOME是不够的,还需要更新zeppelin-env.sh并在那里设置SPARK_HOME。