[ 
https://issues.apache.org/jira/browse/STORM-615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14388356#comment-14388356
 ] 

ASF GitHub Bot commented on STORM-615:
--------------------------------------

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>(NimbusClient.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.ConnectException: 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.


> Add REST API to upload topology
> -------------------------------
>
>                 Key: STORM-615
>                 URL: https://issues.apache.org/jira/browse/STORM-615
>             Project: Apache Storm
>          Issue Type: Bug
>            Reporter: Sriharsha Chintalapani
>            Assignee: Sriharsha Chintalapani
>
> Add REST api /api/v1/submitTopology to upload topology jars and config using 
> REST api.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to