我该如何解决Zeppelin 0.8 Windows 10安装类未发现异常问题

时间:2018-12-22 18:15:42

标签: java windows pyspark hadoop2 apache-zeppelin

我正在尝试在系统上安装Zeppelin。当我尝试使用Zeppelin Notebook 0.8新版本运行pyspark程序时,我在Windows 10上安装了Java 8 spark 2.3和hadoop 2.7。我正在获取java类未发现异常。你能帮忙吗?

我在下面的示例代码中使用了

%pyspark
df=spark.read.format("csv").option("header","true").load("file:///F:/Customer.csv")
df.createOrReplaceTempView("dim_df")
df.show()

我收到如下错误:

java.lang.RuntimeException: Warning: Local jar E:\zeppelin-0.8.0-bin-all\zeppelin-0.8.0-bin-all\bin\64890 does not exist, skipping.
Warning: Local jar E:\zeppelin-0.8.0-bin-all\zeppelin-0.8.0-bin-all\bin\192.168.0.181 does not exist, skipping.
java.lang.ClassNotFoundException: org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:348)
    at org.apache.spark.util.Utils$.classForName(Utils.scala:238)
    at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:851)
    at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:198)
    at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:228)
    at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:137)
    at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
2018-12-22 23:11:58 INFO  ShutdownHookManager:54 - Shutdown hook called
2018-12-22 23:11:58 INFO  ShutdownHookManager:54 - Deleting directory C:\Users\10184\AppData\Local\Temp\spark-575bf18c-871b-4feb-a065-34a6e3c2bd10
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterManagedProcess.start(RemoteInterpreterManagedProcess.java:205)
at org.apache.zeppelin.interpreter.ManagedInterpreterGroup.getOrCreateInterpreterProcess(ManagedInterpreterGroup.java:64)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getOrCreateInterpreterProcess(RemoteInterpreter.java:111)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.internal_create(RemoteInterpreter.java:164)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.open(RemoteInterpreter.java:132)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getFormType(RemoteInterpreter.java:299)
at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:407)
at org.apache.zeppelin.scheduler.Job.run(Job.java:188)
at org.apache.zeppelin.scheduler.RemoteScheduler$JobRunner.run(RemoteScheduler.java:307)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

0 个答案:

没有答案