Github user HeartSaVioR commented on the pull request:
https://github.com/apache/storm/pull/464#issuecomment-88039031
@harshach
I'm seeing failed message again. I ran a ```storm jar``` from UI
container's shell and it works well.
UI shows topology information nicely, which may tell connection between UI
and Nimbus Thrift is valid.
Killing topology with API also works well.
Below is error logs from UI container.
```
2015-03-31 09:54:29 b.s.u.core [INFO] topology cmd {:exit 1, :out "428
[main] INFO backtype.storm.StormSubmitter - Generated ZooKeeper secret payload
for MD5-digest: -5597653866246168988:-6838346593417745091\n432 [main] INFO
backtype.storm.security.auth.AuthUtils - Got AutoCreds []\n442 [main] INFO
backtype.storm.utils.StormBoundedExponentialBackoffRetry - The baseSleepTimeMs
[2000] the maxSleepTimeMs [60000] the maxRetries [5]\n", :err "Exception in
thread \"main\" java.lang.RuntimeException:
org.apache.thrift7.transport.TTransportException: java.net.ConnectException:
Connection refused\n\tat
backtype.storm.security.auth.TBackoffConnect.retryNext(TBackoffConnect.java:59)\n\tat
backtype.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:51)\n\tat
backtype.storm.security.auth.ThriftClient.reconnect(ThriftClient.java:103)\n\tat
backtype.storm.security.auth.ThriftClient.<init>(ThriftClient.java:72)\n\tat
backtype.storm.utils.NimbusClient.<init>(NimbusC
lient.java:62)\n\tat
backtype.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:46)\n\tat
backtype.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:225)\n\tat
backtype.storm.StormSubmitter.submitTopology(StormSubmitter.java:271)\n\tat
backtype.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:307)\n\tat
backtype.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:288)\n\tat
storm.starter.WordCountTopology.main(WordCountTopology.java:94)\nCaused by:
org.apache.thrift7.transport.TTransportException: java.net.ConnectException:
Connection refused\n\tat
org.apache.thrift7.transport.TSocket.open(TSocket.java:187)\n\tat
org.apache.thrift7.transport.TFramedTransport.open(TFramedTransport.java:81)\n\tat
backtype.storm.security.auth.SimpleTransportPlugin.connect(SimpleTransportPlugin.java:102)\n\tat
backtype.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:48)\n\t...
9 more\nCaused by: java.net.ConnectE
xception: Connection refused\n\tat
java.net.PlainSocketImpl.socketConnect(Native Method)\n\tat
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)\n\tat
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)\n\tat
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)\n\tat
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)\n\tat
java.net.Socket.connect(Socket.java:579)\n\tat
org.apache.thrift7.transport.TSocket.open(TSocket.java:182)\n\t... 12 more\n"}
```
I tried it into UI container shell and failed again.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---