首页 新闻 搜索 专区 学院

如何在Windows下的Eclipse中直接运行Storm的WordCountTopology

0
[待解决问题]

568 [main] INFO b.s.u.Utils - Using defaults.yaml from resources
680 [main] INFO b.s.u.Utils - Using defaults.yaml from resources
828 [main] INFO b.s.StormSubmitter - Generated ZooKeeper secret payload for MD5-digest: -8847437208572306707:-7948759022259113488
829 [main] INFO b.s.s.a.AuthUtils - Got AutoCreds []
846 [main] INFO b.s.u.StormBoundedExponentialBackoffRetry - The baseSleepTimeMs [2000] the maxSleepTimeMs [60000] the maxRetries [5]
Exception in thread "main" java.lang.RuntimeException: org.apache.thrift7.transport.TTransportException: java.net.ConnectException: Connection refused: connect
at backtype.storm.security.auth.TBackoffConnect.retryNext(TBackoffConnect.java:59)
at backtype.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:51)
at backtype.storm.security.auth.ThriftClient.reconnect(ThriftClient.java:103)
at backtype.storm.security.auth.ThriftClient.<init>(ThriftClient.java:72)
at backtype.storm.utils.NimbusClient.<init>(NimbusClient.java:69)
at backtype.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:53)
at backtype.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:225)
at backtype.storm.StormSubmitter.submitTopology(StormSubmitter.java:271)
at backtype.storm.StormSubmitter.submitTopology(StormSubmitter.java:157)
at storm_WordCountTopology.WordCountTopology.main(WordCountTopology.java:23)
Caused by: org.apache.thrift7.transport.TTransportException: java.net.ConnectException: Connection refused: connect
at org.apache.thrift7.transport.TSocket.open(TSocket.java:187)
at org.apache.thrift7.transport.TFramedTransport.open(TFramedTransport.java:81)
at backtype.storm.security.auth.SimpleTransportPlugin.connect(SimpleTransportPlugin.java:103)
at backtype.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:48)
... 8 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at org.apache.thrift7.transport.TSocket.open(TSocket.java:182)
... 11 more

Lianxl的主页 Lianxl | 菜鸟二级 | 园豆:206
提问于:2016-01-19 10:26
< >
分享
所有回答(1)
0

同求,楼主解决了吗?

-Mask- | 园豆:204 (菜鸟二级) | 2021-04-10 16:05

已经不研究这个了2333

支持(0) 反对(0) imperatore | 园豆:200 (初学一级) | 2021-04-10 16:13

@imperatore: 好的吧

支持(0) 反对(0) -Mask- | 园豆:204 (菜鸟二级) | 2021-04-10 16:31
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册