火花检查失败

时间:2019-04-17 17:57:11

标签: apache-zeppelin

我正在尝试设置我的口译员,但我迷路了,我需要一些帮助。我设置了环境变量(我认为),但是当我尝试使用

检查spark版本时
  

$ spark sc.version

我收到此错误:

  

java.lang.NullPointerException       在org.apache.thrift.transport.TSocket.open(TSocket.java:170)       在org.apache.zeppelin.interpreter.remote.ClientFactory.create(ClientFactory.java:51)       在org.apache.zeppelin.interpreter.remote.ClientFactory.create(ClientFactory.java:37)       在org.apache.commons.pool2.BasePooledObjectFactory.makeObject(BasePooledObjectFactory.java:60)       在org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:861)       在org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435)       在org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363)       在org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess.getClient(RemoteInterpreterProcess.java:62)       在org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess.callRemoteFunction(RemoteInterpreterProcess.java:133)       在org.apache.zeppelin.interpreter.remote.RemoteInterpreter.internal_create(RemoteInterpreter.java:165)       在org.apache.zeppelin.interpreter.remote.RemoteInterpreter.open(RemoteInterpreter.java:132)       在org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getFormType(RemoteInterpreter.java:299)       在org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:407)       在org.apache.zeppelin.scheduler.Job.run(Job.java:188)       在org.apache.zeppelin.scheduler.RemoteScheduler $ JobRunner.run(RemoteScheduler.java:315)       在java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511)       在java.util.concurrent.FutureTask.run(FutureTask.java:266)       在java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.access $ 201(ScheduledThreadPoolExecutor.java:180)       在java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)       在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)       在java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:624)       在java.lang.Thread.run(Thread.java:748)

我是说我的Java是错的吗?我为java home设置了环境变量,如下所示:

  

导出JAVA_HOME = / usr / java8

所以我希望解释器使用java8并正常工作。

感谢您的帮助!

0 个答案:

没有答案