我已经下载了Spark 2.1.0和Apache Zeppelin 0.7.0。我已经为Spark,Java和Winutils编辑了我的环境变量(因为我使用的是Windows 10)。我编辑了zeppelin-env.sh和zeppelin-site.xml来导出我的JAVA_HOME和SPARK_HOME。我编辑了zeppelin-site.xml来更改端口号,因为8080已经在使用中。我以管理员身份打开命令行,更改为zeppelin-0.7.0-bin-all目录并运行命令bin \ zeppelin.cmd。我打开浏览器并导航到localhost:8090。 Zeppelin打开,右上角出现绿灯表示我已连接到服务器。一旦我运行"将数据加载到表格中#34;教程我收到一个错误:
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at org.apache.thrift.transport.TSocket.open(TSocket.java:182)
at org.apache.zeppelin.interpreter.remote.ClientFactory.create(ClientFactory.java:51)
at org.apache.zeppelin.interpreter.remote.ClientFactory.create(ClientFactory.java:37)
at org.apache.commons.pool2.BasePooledObjectFactory.makeObject(BasePooledObjectFactory.java:60)
at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:861)
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435)
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess.getClient(RemoteInterpreterProcess.java:90)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.init(RemoteInterpreter.java:209)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreter.getFormType(RemoteInterpreter.java:375)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.getFormType(LazyOpenInterpreter.java:105)
at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:365)
at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
at org.apache.zeppelin.scheduler.RemoteScheduler$JobRunner.run(RemoteScheduler.java:329)
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)
日志文件夹中没有可用的日志。一切都在命令行中打印。 %md解释器用作来自"欢迎来到Zeppelin"的代码。我跑完后工作正常。
我已尝试根据issues.apache.org上的ZEPPELIN_305和ZEPPELIN-449更改内存。我试过关掉Windows防火墙。我已经卸载并重新安装,以确保它不是我自己造成的错误,但似乎没有任何工作。
有没有人有相同/类似的问题?任何帮助将非常感激。
答案 0 :(得分:0)
您的问题可能在于编辑错误的配置文件。由于您使用的是Windows 10,因此需要编辑zeppelin-env.cmd(而不是用于Linux的zeppelin-env.sh)。请参阅Zeppelin安装指南的link。