首页新闻找找看学习计划

storm 本地报错

0
悬赏园豆:10 [已关闭问题] 关闭于 2015-07-15 16:08

我用eclipse创建了一个java工程,导入storm的一些jar包。写了一个简单的例子,但是启动报错了。。

java.io.IOException: Unable to delete file: C:\Users\ADMINI~1\AppData\Local\Temp\17c69038-6557-49fb-b24d-236dea1f29e2\version-2\log.1
at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1390)
at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1044)
at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:977)
at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1381)
at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1044)
at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:977)
at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1381)
at backtype.storm.util$rmr.invoke(util.clj:413)
at backtype.storm.testing$kill_local_storm_cluster.invoke(testing.clj:164)
at backtype.storm.LocalCluster$_shutdown.invoke(LocalCluster.clj:32)
at backtype.storm.LocalCluster.shutdown(Unknown Source)
at storm.TestTopology.main(TestTopology.java:26)
2349 [Thread-6-EventThread] INFO com.netflix.curator.framework.state.ConnectionStateManager - State change: SUSPENDED
2349 [ConnectionStateManager-0] WARN com.netflix.curator.framework.state.ConnectionStateManager - There are no ConnectionStateListeners registered.
2350 [Thread-6-EventThread] WARN backtype.storm.cluster - Received event :disconnected::none: with disconnected Zookeeper.
4957 [Thread-6-SendThread(localhost:2000)] WARN org.apache.zookeeper.ClientCnxn - Session 0x14e903f51fa000b for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
7774 [Thread-6-SendThread(localhost:2000)] WARN org.apache.zookeeper.ClientCnxn - Session 0x14e903f51fa000b for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused: no further information

不屈的心的主页 不屈的心 | 初学一级 | 园豆:147
提问于:2015-07-15 14:07
< >
分享
所有回答(1)
0

原来和storm的版本有关。。。。我用的是storm-0.8.2版本。。。这个错误是在eclipse本地运行storm的时候在其结束的时候报的错误。

不屈的心 | 园豆:147 (初学一级) | 2015-07-15 16:07
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册