You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Walid Aljoby <wa...@yahoo.com> on 2016/07/04 21:27:52 UTC

Topology submision Bugs

Hi all,
I am running Apache Storm 1.0.1 over clusters of two nodes (one is called Master which runs zookeeper and nimbus, the other one runs supervisor).I just configured the  storm.zookeeper.servers:  and  nimbus.seeds: to be the IP address of Master node for both two machines.
However, when I submitted the topology through the Master node like this:  storm jar target/storm-starter-1.0.1.jar org.apache.storm.starter.WordCountTopology DemoI came across into the following Exceptions:
790  [main] INFO  o.a.s.StormSubmitter - Generated ZooKeeper secret payload for MD5-digest: -6025945650128968937:-8258756050733197469
866  [main] INFO  o.a.s.s.a.AuthUtils - Got AutoCreds []
Exception in thread "main" java.lang.RuntimeException: org.apache.storm.thrift.transport.TTransportException: java.net.UnknownHostException: wf-ubuntun
    at org.apache.storm.security.auth.TBackoffConnect.retryNext(TBackoffConnect.java:64)
    at org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:56)
    at org.apache.storm.security.auth.ThriftClient.reconnect(ThriftClient.java:99)
    at org.apache.storm.security.auth.ThriftClient.<init>(ThriftClient.java:69)
    at org.apache.storm.utils.NimbusClient.<init>(NimbusClient.java:106)
    at org.apache.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:78)
    at org.apache.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:228)
    at org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:288)
    at org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:324)
    at org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:305)
    at org.apache.storm.starter.WordCountTopology.main(WordCountTopology.java:93)
Caused by: org.apache.storm.thrift.transport.TTransportException: java.net.UnknownHostException: wf-ubuntun
    at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:226)
    at org.apache.storm.thrift.transport.TFramedTransport.open(TFramedTransport.java:81)
    at org.apache.storm.security.auth.SimpleTransportPlugin.connect(SimpleTransportPlugin.java:103)
    at org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:53)
    ... 9 more
Caused by: java.net.UnknownHostException: wf-ubuntun
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:579)
    at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:221)
    ... 12 more




Please I hope anyone can help, and thank you in advance..

Best Regards---
WA

Re: Topology submision Bugs

Posted by Jungtaek Lim <ka...@gmail.com>.
No you need to set that value to ip address of each node. You're encouraged
to set both of the machines.
On 2016년 7월 6일 (수) at 오전 3:37 Walid Aljoby <wa...@yahoo.com> wrote:

> Thank you Jungtaek. I will send you log file of supervisor, but let me
> first try to set storm.local.hostname..
> The question: Do I set storm.local.hostname to be the IP address of the
> node that runs the Nimbus? and Where would be these setting, Is it for both
> master and slave nodes?
>
>
> Thank you
> --
> Regards
> WA
>
>
> ------------------------------
> *From:* Jungtaek Lim <ka...@gmail.com>
> *To:* Walid Aljoby <wa...@yahoo.com>; "user@storm.apache.org" <
> user@storm.apache.org>; Harsha Chintalapani <st...@harsha.io>
> *Sent:* Tuesday, July 5, 2016 6:25 PM
>
> *Subject:* Re: Topology submision Bugs
>
> If your supervisor has crashed please attach log file of supervisor. It
> could be due to connectivity of Nimbus / Zookeeper, and if then you're
> likely don't set /etc/hosts properly.
>
> Before resolving you can still set storm.local.hostname to ip address and
> restart all storm components.
> On 2016년 7월 5일 (화) at 오후 7:17 Walid Aljoby <wa...@yahoo.com> wrote:
>
> Hi,
>
> the nodes can ping each other using the name defined inside /etc/hosts.
> the cluster consists of two machines: 10.10.10.20 and 10.10.10.15
>
> this is my configuration for both machines:
>
> storm.zookeeper.servers:
>      - "10.10.10.20"
> nimbus.seeds: ["10.10.10.20"]
>
>
> In 10.10.10.20, I run zookeeper, nimbus and UI. In the other one, I run
> supervisor only, but it run for a short time then disapper!
>
> I hope if something is missed, please let me know..
>
> Thank you
> --
> Regards
>
> WA
> ------------------------------
> *From:* Jungtaek Lim <ka...@gmail.com>
> *To:* Walid Aljoby <wa...@yahoo.com>; Harsha Chintalapani <
> storm@harsha.io>; "user@storm.apache.org" <us...@storm.apache.org>
> *Sent:* Tuesday, July 5, 2016 5:41 PM
>
> *Subject:* Re: Topology submision Bugs
>
> If each node of your cluster doesn't recognize to each other by local
> hostname of the node, you need to set storm.local.hostname to IP address
> for each node's storm.yaml config file.
>
> We occasionally add pairs of local hostname / IP to /etc/hosts of all
> nodes, or register servers to private DNS when available.
>
> Jungtaek Lim (HeartSaVioR)
>
> 2016년 7월 5일 (화) 오후 6:08, Walid Aljoby <wa...@yahoo.com>님이 작성:
>
> Thank you..
>
> nimbus.seeds: the IP address of machine running nimbus (which is the same
> host through which the topology is submitted).
> but the bugs still occur!
>
> --
> Regards
>
> WA
> ------------------------------
> *From:* Harsha Chintalapani <st...@harsha.io>
> *To:* user@storm.apache.org; Walid Aljoby <wa...@yahoo.com>
> *Sent:* Tuesday, July 5, 2016 6:50 AM
>
> *Subject:* Re: Topology submision Bugs
>
> unknownhost generally means your configuration in nimbus.seeds are unable
> to resolve to a hostname. Make sure the entries you added in nimbus.seeds
> can be pingable from the host you are submitting the topology
>
> On Mon, Jul 4, 2016 at 2:27 PM Walid Aljoby <wa...@yahoo.com>
> wrote:
>
> Hi all,
>
> I am running Apache Storm 1.0.1 over clusters of two nodes (one is called
> Master which runs zookeeper and nimbus, the other one runs supervisor).
> I just configured the  storm.zookeeper.servers:  and  nimbus.seeds: to be
> the IP address of Master node for both two machines.
>
> However, when I submitted the topology through the Master node like this:
> storm jar target/storm-starter-1.0.1.jar
> org.apache.storm.starter.WordCountTopology Demo
> I came across into the following Exceptions:
>
> 790  [main] INFO  o.a.s.StormSubmitter - Generated ZooKeeper secret
> payload for MD5-digest: -6025945650128968937:-8258756050733197469
> 866  [main] INFO  o.a.s.s.a.AuthUtils - Got AutoCreds []
> Exception in thread "main" java.lang.RuntimeException:
> org.apache.storm.thrift.transport.TTransportException:
> java.net.UnknownHostException: wf-ubuntun
>     at
> org.apache.storm.security.auth.TBackoffConnect.retryNext(TBackoffConnect.java:64)
>     at
> org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:56)
>     at
> org.apache.storm.security.auth.ThriftClient.reconnect(ThriftClient.java:99)
>     at
> org.apache.storm.security.auth.ThriftClient.<init>(ThriftClient.java:69)
>     at org.apache.storm.utils.NimbusClient.<init>(NimbusClient.java:106)
>     at
> org.apache.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:78)
>     at
> org.apache.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:228)
>     at
> org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:288)
>     at
> org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:324)
>     at
> org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:305)
>     at
> org.apache.storm.starter.WordCountTopology.main(WordCountTopology.java:93)
> Caused by: org.apache.storm.thrift.transport.TTransportException:
> java.net.UnknownHostException: wf-ubuntun
>     at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:226)
>     at
> org.apache.storm.thrift.transport.TFramedTransport.open(TFramedTransport.java:81)
>     at
> org.apache.storm.security.auth.SimpleTransportPlugin.connect(SimpleTransportPlugin.java:103)
>     at
> org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:53)
>     ... 9 more
> Caused by: java.net.UnknownHostException: wf-ubuntun
>     at
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
>     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>     at java.net.Socket.connect(Socket.java:579)
>     at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:221)
>     ... 12 more
>
>
>
>
> Please I hope anyone can help, and thank you in advance..
>
>
> Best Regards
> ---
>
> WA
>
>
>
>
>
>
>
>

Re: Topology submision Bugs

Posted by Walid Aljoby <wa...@yahoo.com>.
Thank you Jungtaek. I will send you log file of supervisor, but let me first try to set storm.local.hostname..The question: Do I set storm.local.hostname to be the IP address of the node that runs the Nimbus? and Where would be these setting, Is it for both master and slave nodes?


Thank you--RegardsWA

      From: Jungtaek Lim <ka...@gmail.com>
 To: Walid Aljoby <wa...@yahoo.com>; "user@storm.apache.org" <us...@storm.apache.org>; Harsha Chintalapani <st...@harsha.io> 
 Sent: Tuesday, July 5, 2016 6:25 PM
 Subject: Re: Topology submision Bugs
   
If your supervisor has crashed please attach log file of supervisor. It could be due to connectivity of Nimbus / Zookeeper, and if then you're likely don't set /etc/hosts properly.

Before resolving you can still set storm.local.hostname to ip address and restart all storm components.
On 2016년 7월 5일 (화) at 오후 7:17 Walid Aljoby <wa...@yahoo.com> wrote:

Hi,
the nodes can ping each other using the name defined inside /etc/hosts.the cluster consists of two machines: 10.10.10.20 and 10.10.10.15
this is my configuration for both machines:
storm.zookeeper.servers:     - "10.10.10.20"nimbus.seeds: ["10.10.10.20"]


In 10.10.10.20, I run zookeeper, nimbus and UI. In the other one, I run supervisor only, but it run for a short time then disapper!
I hope if something is missed, please let me know..
Thank you--Regards
WA
  From: Jungtaek Lim <ka...@gmail.com>
 To: Walid Aljoby <wa...@yahoo.com>; Harsha Chintalapani <st...@harsha.io>; "user@storm.apache.org" <us...@storm.apache.org> 
 Sent: Tuesday, July 5, 2016 5:41 PM
 Subject: Re: Topology submision Bugs
  
If each node of your cluster doesn't recognize to each other by local hostname of the node, you need to set storm.local.hostname to IP address for each node's storm.yaml config file.
We occasionally add pairs of local hostname / IP to /etc/hosts of all nodes, or register servers to private DNS when available.

Jungtaek Lim (HeartSaVioR) 
2016년 7월 5일 (화) 오후 6:08, Walid Aljoby <wa...@yahoo.com>님이 작성:

Thank you..
nimbus.seeds: the IP address of machine running nimbus (which is the same host through which the topology is submitted).but the bugs still occur!
--Regards
WA  From: Harsha Chintalapani <st...@harsha.io>
 To: user@storm.apache.org; Walid Aljoby <wa...@yahoo.com> 
 Sent: Tuesday, July 5, 2016 6:50 AM
 Subject: Re: Topology submision Bugs
  
unknownhost generally means your configuration in nimbus.seeds are unable to resolve to a hostname. Make sure the entries you added in nimbus.seeds can be pingable from the host you are submitting the topology

On Mon, Jul 4, 2016 at 2:27 PM Walid Aljoby <wa...@yahoo.com> wrote:

Hi all,
I am running Apache Storm 1.0.1 over clusters of two nodes (one is called Master which runs zookeeper and nimbus, the other one runs supervisor).I just configured the  storm.zookeeper.servers:  and  nimbus.seeds: to be the IP address of Master node for both two machines.
However, when I submitted the topology through the Master node like this:  storm jar target/storm-starter-1.0.1.jar org.apache.storm.starter.WordCountTopology DemoI came across into the following Exceptions:
790  [main] INFO  o.a.s.StormSubmitter - Generated ZooKeeper secret payload for MD5-digest: -6025945650128968937:-8258756050733197469
866  [main] INFO  o.a.s.s.a.AuthUtils - Got AutoCreds []
Exception in thread "main" java.lang.RuntimeException: org.apache.storm.thrift.transport.TTransportException: java.net.UnknownHostException: wf-ubuntun
    at org.apache.storm.security.auth.TBackoffConnect.retryNext(TBackoffConnect.java:64)
    at org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:56)
    at org.apache.storm.security.auth.ThriftClient.reconnect(ThriftClient.java:99)
    at org.apache.storm.security.auth.ThriftClient.<init>(ThriftClient.java:69)
    at org.apache.storm.utils.NimbusClient.<init>(NimbusClient.java:106)
    at org.apache.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:78)
    at org.apache.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:228)
    at org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:288)
    at org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:324)
    at org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:305)
    at org.apache.storm.starter.WordCountTopology.main(WordCountTopology.java:93)
Caused by: org.apache.storm.thrift.transport.TTransportException: java.net.UnknownHostException: wf-ubuntun
    at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:226)
    at org.apache.storm.thrift.transport.TFramedTransport.open(TFramedTransport.java:81)
    at org.apache.storm.security.auth.SimpleTransportPlugin.connect(SimpleTransportPlugin.java:103)
    at org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:53)
    ... 9 more
Caused by: java.net.UnknownHostException: wf-ubuntun
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:579)
    at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:221)
    ... 12 more




Please I hope anyone can help, and thank you in advance..

Best Regards---
WA



 


 


  

Re: Topology submision Bugs

Posted by Jungtaek Lim <ka...@gmail.com>.
If your supervisor has crashed please attach log file of supervisor. It
could be due to connectivity of Nimbus / Zookeeper, and if then you're
likely don't set /etc/hosts properly.

Before resolving you can still set storm.local.hostname to ip address and
restart all storm components.
On 2016년 7월 5일 (화) at 오후 7:17 Walid Aljoby <wa...@yahoo.com> wrote:

> Hi,
>
> the nodes can ping each other using the name defined inside /etc/hosts.
> the cluster consists of two machines: 10.10.10.20 and 10.10.10.15
>
> this is my configuration for both machines:
>
> storm.zookeeper.servers:
>      - "10.10.10.20"
> nimbus.seeds: ["10.10.10.20"]
>
>
> In 10.10.10.20, I run zookeeper, nimbus and UI. In the other one, I run
> supervisor only, but it run for a short time then disapper!
>
> I hope if something is missed, please let me know..
>
> Thank you
> --
> Regards
>
> WA
> ------------------------------
> *From:* Jungtaek Lim <ka...@gmail.com>
> *To:* Walid Aljoby <wa...@yahoo.com>; Harsha Chintalapani <
> storm@harsha.io>; "user@storm.apache.org" <us...@storm.apache.org>
> *Sent:* Tuesday, July 5, 2016 5:41 PM
>
> *Subject:* Re: Topology submision Bugs
>
> If each node of your cluster doesn't recognize to each other by local
> hostname of the node, you need to set storm.local.hostname to IP address
> for each node's storm.yaml config file.
>
> We occasionally add pairs of local hostname / IP to /etc/hosts of all
> nodes, or register servers to private DNS when available.
>
> Jungtaek Lim (HeartSaVioR)
>
> 2016년 7월 5일 (화) 오후 6:08, Walid Aljoby <wa...@yahoo.com>님이 작성:
>
> Thank you..
>
> nimbus.seeds: the IP address of machine running nimbus (which is the same
> host through which the topology is submitted).
> but the bugs still occur!
>
> --
> Regards
>
> WA
> ------------------------------
> *From:* Harsha Chintalapani <st...@harsha.io>
> *To:* user@storm.apache.org; Walid Aljoby <wa...@yahoo.com>
> *Sent:* Tuesday, July 5, 2016 6:50 AM
>
> *Subject:* Re: Topology submision Bugs
>
> unknownhost generally means your configuration in nimbus.seeds are unable
> to resolve to a hostname. Make sure the entries you added in nimbus.seeds
> can be pingable from the host you are submitting the topology
>
> On Mon, Jul 4, 2016 at 2:27 PM Walid Aljoby <wa...@yahoo.com>
> wrote:
>
> Hi all,
>
> I am running Apache Storm 1.0.1 over clusters of two nodes (one is called
> Master which runs zookeeper and nimbus, the other one runs supervisor).
> I just configured the  storm.zookeeper.servers:  and  nimbus.seeds: to be
> the IP address of Master node for both two machines.
>
> However, when I submitted the topology through the Master node like this:
> storm jar target/storm-starter-1.0.1.jar
> org.apache.storm.starter.WordCountTopology Demo
> I came across into the following Exceptions:
>
> 790  [main] INFO  o.a.s.StormSubmitter - Generated ZooKeeper secret
> payload for MD5-digest: -6025945650128968937:-8258756050733197469
> 866  [main] INFO  o.a.s.s.a.AuthUtils - Got AutoCreds []
> Exception in thread "main" java.lang.RuntimeException:
> org.apache.storm.thrift.transport.TTransportException:
> java.net.UnknownHostException: wf-ubuntun
>     at
> org.apache.storm.security.auth.TBackoffConnect.retryNext(TBackoffConnect.java:64)
>     at
> org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:56)
>     at
> org.apache.storm.security.auth.ThriftClient.reconnect(ThriftClient.java:99)
>     at
> org.apache.storm.security.auth.ThriftClient.<init>(ThriftClient.java:69)
>     at org.apache.storm.utils.NimbusClient.<init>(NimbusClient.java:106)
>     at
> org.apache.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:78)
>     at
> org.apache.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:228)
>     at
> org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:288)
>     at
> org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:324)
>     at
> org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:305)
>     at
> org.apache.storm.starter.WordCountTopology.main(WordCountTopology.java:93)
> Caused by: org.apache.storm.thrift.transport.TTransportException:
> java.net.UnknownHostException: wf-ubuntun
>     at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:226)
>     at
> org.apache.storm.thrift.transport.TFramedTransport.open(TFramedTransport.java:81)
>     at
> org.apache.storm.security.auth.SimpleTransportPlugin.connect(SimpleTransportPlugin.java:103)
>     at
> org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:53)
>     ... 9 more
> Caused by: java.net.UnknownHostException: wf-ubuntun
>     at
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
>     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>     at java.net.Socket.connect(Socket.java:579)
>     at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:221)
>     ... 12 more
>
>
>
>
> Please I hope anyone can help, and thank you in advance..
>
>
> Best Regards
> ---
>
> WA
>
>
>
>
>
>

Re: Topology submision Bugs

Posted by anshu shukla <an...@gmail.com>.
Remove the storm local dir ( if supervisor disappears after some time )

On Tue, Jul 5, 2016 at 3:47 PM, Walid Aljoby <wa...@yahoo.com> wrote:

> Hi,
>
> the nodes can ping each other using the name defined inside /etc/hosts.
> the cluster consists of two machines: 10.10.10.20 and 10.10.10.15
>
> this is my configuration for both machines:
>
> storm.zookeeper.servers:
>      - "10.10.10.20"
> nimbus.seeds: ["10.10.10.20"]
>
>
> In 10.10.10.20, I run zookeeper, nimbus and UI. In the other one, I run
> supervisor only, but it run for a short time then disapper!
>
> I hope if something is missed, please let me know..
>
> Thank you
> --
> Regards
>
> WA
>
> ------------------------------
> *From:* Jungtaek Lim <ka...@gmail.com>
> *To:* Walid Aljoby <wa...@yahoo.com>; Harsha Chintalapani <
> storm@harsha.io>; "user@storm.apache.org" <us...@storm.apache.org>
> *Sent:* Tuesday, July 5, 2016 5:41 PM
>
> *Subject:* Re: Topology submision Bugs
>
> If each node of your cluster doesn't recognize to each other by local
> hostname of the node, you need to set storm.local.hostname to IP address
> for each node's storm.yaml config file.
>
> We occasionally add pairs of local hostname / IP to /etc/hosts of all
> nodes, or register servers to private DNS when available.
>
> Jungtaek Lim (HeartSaVioR)
>
> 2016년 7월 5일 (화) 오후 6:08, Walid Aljoby <wa...@yahoo.com>님이 작성:
>
> Thank you..
>
> nimbus.seeds: the IP address of machine running nimbus (which is the same
> host through which the topology is submitted).
> but the bugs still occur!
>
> --
> Regards
>
> WA
> ------------------------------
> *From:* Harsha Chintalapani <st...@harsha.io>
> *To:* user@storm.apache.org; Walid Aljoby <wa...@yahoo.com>
> *Sent:* Tuesday, July 5, 2016 6:50 AM
>
> *Subject:* Re: Topology submision Bugs
>
> unknownhost generally means your configuration in nimbus.seeds are unable
> to resolve to a hostname. Make sure the entries you added in nimbus.seeds
> can be pingable from the host you are submitting the topology
>
> On Mon, Jul 4, 2016 at 2:27 PM Walid Aljoby <wa...@yahoo.com>
> wrote:
>
> Hi all,
>
> I am running Apache Storm 1.0.1 over clusters of two nodes (one is called
> Master which runs zookeeper and nimbus, the other one runs supervisor).
> I just configured the  storm.zookeeper.servers:  and  nimbus.seeds: to be
> the IP address of Master node for both two machines.
>
> However, when I submitted the topology through the Master node like this:
> storm jar target/storm-starter-1.0.1.jar
> org.apache.storm.starter.WordCountTopology Demo
> I came across into the following Exceptions:
>
> 790  [main] INFO  o.a.s.StormSubmitter - Generated ZooKeeper secret
> payload for MD5-digest: -6025945650128968937:-8258756050733197469
> 866  [main] INFO  o.a.s.s.a.AuthUtils - Got AutoCreds []
> Exception in thread "main" java.lang.RuntimeException:
> org.apache.storm.thrift.transport.TTransportException:
> java.net.UnknownHostException: wf-ubuntun
>     at
> org.apache.storm.security.auth.TBackoffConnect.retryNext(TBackoffConnect.java:64)
>     at
> org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:56)
>     at
> org.apache.storm.security.auth.ThriftClient.reconnect(ThriftClient.java:99)
>     at
> org.apache.storm.security.auth.ThriftClient.<init>(ThriftClient.java:69)
>     at org.apache.storm.utils.NimbusClient.<init>(NimbusClient.java:106)
>     at
> org.apache.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:78)
>     at
> org.apache.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:228)
>     at
> org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:288)
>     at
> org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:324)
>     at
> org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:305)
>     at
> org.apache.storm.starter.WordCountTopology.main(WordCountTopology.java:93)
> Caused by: org.apache.storm.thrift.transport.TTransportException:
> java.net.UnknownHostException: wf-ubuntun
>     at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:226)
>     at
> org.apache.storm.thrift.transport.TFramedTransport.open(TFramedTransport.java:81)
>     at
> org.apache.storm.security.auth.SimpleTransportPlugin.connect(SimpleTransportPlugin.java:103)
>     at
> org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:53)
>     ... 9 more
> Caused by: java.net.UnknownHostException: wf-ubuntun
>     at
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
>     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>     at java.net.Socket.connect(Socket.java:579)
>     at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:221)
>     ... 12 more
>
>
>
>
> Please I hope anyone can help, and thank you in advance..
>
>
> Best Regards
> ---
>
> WA
>
>
>
>
>
>


-- 
Thanks & Regards,
Anshu Shukla

Re: Topology submision Bugs

Posted by Walid Aljoby <wa...@yahoo.com>.
Hi,
the nodes can ping each other using the name defined inside /etc/hosts.the cluster consists of two machines: 10.10.10.20 and 10.10.10.15
this is my configuration for both machines:
storm.zookeeper.servers:     - "10.10.10.20"nimbus.seeds: ["10.10.10.20"]


In 10.10.10.20, I run zookeeper, nimbus and UI. In the other one, I run supervisor only, but it run for a short time then disapper!
I hope if something is missed, please let me know..
Thank you--Regards
WA

      From: Jungtaek Lim <ka...@gmail.com>
 To: Walid Aljoby <wa...@yahoo.com>; Harsha Chintalapani <st...@harsha.io>; "user@storm.apache.org" <us...@storm.apache.org> 
 Sent: Tuesday, July 5, 2016 5:41 PM
 Subject: Re: Topology submision Bugs
   
If each node of your cluster doesn't recognize to each other by local hostname of the node, you need to set storm.local.hostname to IP address for each node's storm.yaml config file.
We occasionally add pairs of local hostname / IP to /etc/hosts of all nodes, or register servers to private DNS when available.

Jungtaek Lim (HeartSaVioR) 
2016년 7월 5일 (화) 오후 6:08, Walid Aljoby <wa...@yahoo.com>님이 작성:

Thank you..
nimbus.seeds: the IP address of machine running nimbus (which is the same host through which the topology is submitted).but the bugs still occur!
--Regards
WA  From: Harsha Chintalapani <st...@harsha.io>
 To: user@storm.apache.org; Walid Aljoby <wa...@yahoo.com> 
 Sent: Tuesday, July 5, 2016 6:50 AM
 Subject: Re: Topology submision Bugs
  
unknownhost generally means your configuration in nimbus.seeds are unable to resolve to a hostname. Make sure the entries you added in nimbus.seeds can be pingable from the host you are submitting the topology

On Mon, Jul 4, 2016 at 2:27 PM Walid Aljoby <wa...@yahoo.com> wrote:

Hi all,
I am running Apache Storm 1.0.1 over clusters of two nodes (one is called Master which runs zookeeper and nimbus, the other one runs supervisor).I just configured the  storm.zookeeper.servers:  and  nimbus.seeds: to be the IP address of Master node for both two machines.
However, when I submitted the topology through the Master node like this:  storm jar target/storm-starter-1.0.1.jar org.apache.storm.starter.WordCountTopology DemoI came across into the following Exceptions:
790  [main] INFO  o.a.s.StormSubmitter - Generated ZooKeeper secret payload for MD5-digest: -6025945650128968937:-8258756050733197469
866  [main] INFO  o.a.s.s.a.AuthUtils - Got AutoCreds []
Exception in thread "main" java.lang.RuntimeException: org.apache.storm.thrift.transport.TTransportException: java.net.UnknownHostException: wf-ubuntun
    at org.apache.storm.security.auth.TBackoffConnect.retryNext(TBackoffConnect.java:64)
    at org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:56)
    at org.apache.storm.security.auth.ThriftClient.reconnect(ThriftClient.java:99)
    at org.apache.storm.security.auth.ThriftClient.<init>(ThriftClient.java:69)
    at org.apache.storm.utils.NimbusClient.<init>(NimbusClient.java:106)
    at org.apache.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:78)
    at org.apache.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:228)
    at org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:288)
    at org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:324)
    at org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:305)
    at org.apache.storm.starter.WordCountTopology.main(WordCountTopology.java:93)
Caused by: org.apache.storm.thrift.transport.TTransportException: java.net.UnknownHostException: wf-ubuntun
    at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:226)
    at org.apache.storm.thrift.transport.TFramedTransport.open(TFramedTransport.java:81)
    at org.apache.storm.security.auth.SimpleTransportPlugin.connect(SimpleTransportPlugin.java:103)
    at org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:53)
    ... 9 more
Caused by: java.net.UnknownHostException: wf-ubuntun
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:579)
    at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:221)
    ... 12 more




Please I hope anyone can help, and thank you in advance..

Best Regards---
WA



 


  

Re: Topology submision Bugs

Posted by Jungtaek Lim <ka...@gmail.com>.
If each node of your cluster doesn't recognize to each other by local
hostname of the node, you need to set storm.local.hostname to IP address
for each node's storm.yaml config file.

We occasionally add pairs of local hostname / IP to /etc/hosts of all
nodes, or register servers to private DNS when available.

Jungtaek Lim (HeartSaVioR)

2016년 7월 5일 (화) 오후 6:08, Walid Aljoby <wa...@yahoo.com>님이 작성:

> Thank you..
>
> nimbus.seeds: the IP address of machine running nimbus (which is the same
> host through which the topology is submitted).
> but the bugs still occur!
>
> --
> Regards
>
> WA
> ------------------------------
> *From:* Harsha Chintalapani <st...@harsha.io>
> *To:* user@storm.apache.org; Walid Aljoby <wa...@yahoo.com>
> *Sent:* Tuesday, July 5, 2016 6:50 AM
>
> *Subject:* Re: Topology submision Bugs
>
> unknownhost generally means your configuration in nimbus.seeds are unable
> to resolve to a hostname. Make sure the entries you added in nimbus.seeds
> can be pingable from the host you are submitting the topology
>
> On Mon, Jul 4, 2016 at 2:27 PM Walid Aljoby <wa...@yahoo.com>
> wrote:
>
> Hi all,
>
> I am running Apache Storm 1.0.1 over clusters of two nodes (one is called
> Master which runs zookeeper and nimbus, the other one runs supervisor).
> I just configured the  storm.zookeeper.servers:  and  nimbus.seeds: to be
> the IP address of Master node for both two machines.
>
> However, when I submitted the topology through the Master node like this:
> storm jar target/storm-starter-1.0.1.jar
> org.apache.storm.starter.WordCountTopology Demo
> I came across into the following Exceptions:
>
> 790  [main] INFO  o.a.s.StormSubmitter - Generated ZooKeeper secret
> payload for MD5-digest: -6025945650128968937:-8258756050733197469
> 866  [main] INFO  o.a.s.s.a.AuthUtils - Got AutoCreds []
> Exception in thread "main" java.lang.RuntimeException:
> org.apache.storm.thrift.transport.TTransportException:
> java.net.UnknownHostException: wf-ubuntun
>     at
> org.apache.storm.security.auth.TBackoffConnect.retryNext(TBackoffConnect.java:64)
>     at
> org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:56)
>     at
> org.apache.storm.security.auth.ThriftClient.reconnect(ThriftClient.java:99)
>     at
> org.apache.storm.security.auth.ThriftClient.<init>(ThriftClient.java:69)
>     at org.apache.storm.utils.NimbusClient.<init>(NimbusClient.java:106)
>     at
> org.apache.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:78)
>     at
> org.apache.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:228)
>     at
> org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:288)
>     at
> org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:324)
>     at
> org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:305)
>     at
> org.apache.storm.starter.WordCountTopology.main(WordCountTopology.java:93)
> Caused by: org.apache.storm.thrift.transport.TTransportException:
> java.net.UnknownHostException: wf-ubuntun
>     at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:226)
>     at
> org.apache.storm.thrift.transport.TFramedTransport.open(TFramedTransport.java:81)
>     at
> org.apache.storm.security.auth.SimpleTransportPlugin.connect(SimpleTransportPlugin.java:103)
>     at
> org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:53)
>     ... 9 more
> Caused by: java.net.UnknownHostException: wf-ubuntun
>     at
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
>     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>     at java.net.Socket.connect(Socket.java:579)
>     at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:221)
>     ... 12 more
>
>
>
>
> Please I hope anyone can help, and thank you in advance..
>
>
> Best Regards
> ---
>
> WA
>
>
>
>

Re: Topology submision Bugs

Posted by Walid Aljoby <wa...@yahoo.com>.
Thank you..
nimbus.seeds: the IP address of machine running nimbus (which is the same host through which the topology is submitted).but the bugs still occur!
--Regards
WA

      From: Harsha Chintalapani <st...@harsha.io>
 To: user@storm.apache.org; Walid Aljoby <wa...@yahoo.com> 
 Sent: Tuesday, July 5, 2016 6:50 AM
 Subject: Re: Topology submision Bugs
   
unknownhost generally means your configuration in nimbus.seeds are unable to resolve to a hostname. Make sure the entries you added in nimbus.seeds can be pingable from the host you are submitting the topology

On Mon, Jul 4, 2016 at 2:27 PM Walid Aljoby <wa...@yahoo.com> wrote:

Hi all,
I am running Apache Storm 1.0.1 over clusters of two nodes (one is called Master which runs zookeeper and nimbus, the other one runs supervisor).I just configured the  storm.zookeeper.servers:  and  nimbus.seeds: to be the IP address of Master node for both two machines.
However, when I submitted the topology through the Master node like this:  storm jar target/storm-starter-1.0.1.jar org.apache.storm.starter.WordCountTopology DemoI came across into the following Exceptions:
790  [main] INFO  o.a.s.StormSubmitter - Generated ZooKeeper secret payload for MD5-digest: -6025945650128968937:-8258756050733197469
866  [main] INFO  o.a.s.s.a.AuthUtils - Got AutoCreds []
Exception in thread "main" java.lang.RuntimeException: org.apache.storm.thrift.transport.TTransportException: java.net.UnknownHostException: wf-ubuntun
    at org.apache.storm.security.auth.TBackoffConnect.retryNext(TBackoffConnect.java:64)
    at org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:56)
    at org.apache.storm.security.auth.ThriftClient.reconnect(ThriftClient.java:99)
    at org.apache.storm.security.auth.ThriftClient.<init>(ThriftClient.java:69)
    at org.apache.storm.utils.NimbusClient.<init>(NimbusClient.java:106)
    at org.apache.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:78)
    at org.apache.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:228)
    at org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:288)
    at org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:324)
    at org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:305)
    at org.apache.storm.starter.WordCountTopology.main(WordCountTopology.java:93)
Caused by: org.apache.storm.thrift.transport.TTransportException: java.net.UnknownHostException: wf-ubuntun
    at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:226)
    at org.apache.storm.thrift.transport.TFramedTransport.open(TFramedTransport.java:81)
    at org.apache.storm.security.auth.SimpleTransportPlugin.connect(SimpleTransportPlugin.java:103)
    at org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:53)
    ... 9 more
Caused by: java.net.UnknownHostException: wf-ubuntun
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:579)
    at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:221)
    ... 12 more




Please I hope anyone can help, and thank you in advance..

Best Regards---
WA



  

Re: Topology submision Bugs

Posted by Harsha Chintalapani <st...@harsha.io>.
unknownhost generally means your configuration in nimbus.seeds are unable
to resolve to a hostname. Make sure the entries you added in nimbus.seeds
can be pingable from the host you are submitting the topology

On Mon, Jul 4, 2016 at 2:27 PM Walid Aljoby <wa...@yahoo.com> wrote:

> Hi all,
>
> I am running Apache Storm 1.0.1 over clusters of two nodes (one is called
> Master which runs zookeeper and nimbus, the other one runs supervisor).
> I just configured the  storm.zookeeper.servers:  and  nimbus.seeds: to be
> the IP address of Master node for both two machines.
>
> However, when I submitted the topology through the Master node like this:
> storm jar target/storm-starter-1.0.1.jar
> org.apache.storm.starter.WordCountTopology Demo
> I came across into the following Exceptions:
>
> 790  [main] INFO  o.a.s.StormSubmitter - Generated ZooKeeper secret
> payload for MD5-digest: -6025945650128968937:-8258756050733197469
> 866  [main] INFO  o.a.s.s.a.AuthUtils - Got AutoCreds []
> Exception in thread "main" java.lang.RuntimeException:
> org.apache.storm.thrift.transport.TTransportException:
> java.net.UnknownHostException: wf-ubuntun
>     at
> org.apache.storm.security.auth.TBackoffConnect.retryNext(TBackoffConnect.java:64)
>     at
> org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:56)
>     at
> org.apache.storm.security.auth.ThriftClient.reconnect(ThriftClient.java:99)
>     at
> org.apache.storm.security.auth.ThriftClient.<init>(ThriftClient.java:69)
>     at org.apache.storm.utils.NimbusClient.<init>(NimbusClient.java:106)
>     at
> org.apache.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:78)
>     at
> org.apache.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:228)
>     at
> org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:288)
>     at
> org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:324)
>     at
> org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:305)
>     at
> org.apache.storm.starter.WordCountTopology.main(WordCountTopology.java:93)
> Caused by: org.apache.storm.thrift.transport.TTransportException:
> java.net.UnknownHostException: wf-ubuntun
>     at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:226)
>     at
> org.apache.storm.thrift.transport.TFramedTransport.open(TFramedTransport.java:81)
>     at
> org.apache.storm.security.auth.SimpleTransportPlugin.connect(SimpleTransportPlugin.java:103)
>     at
> org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:53)
>     ... 9 more
> Caused by: java.net.UnknownHostException: wf-ubuntun
>     at
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
>     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>     at java.net.Socket.connect(Socket.java:579)
>     at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:221)
>     ... 12 more
>
>
>
>
> Please I hope anyone can help, and thank you in advance..
>
>
> Best Regards
> ---
>
> WA
>

Re: Topology submision Bugs

Posted by Li Wang <wa...@gmail.com>.
Hi WA,

You must specify the hostname on the nimbus node with IP address that can
be accessed on the supervisor nodes rather than 127.0.0.1.

For instance, we assume the host name of nimbus node is nimbus_node and its
ip address is 192.168.1.4. Then your /etc/hosts files on both the nimbus
node and the supervisor nodes should contain:
         nimbus_node 192.168.1.4

If the problem still cannot be solved, please attach your /etc/hosts on
your nimbus node and any supervisor node.

Thanks,
Li


On 5 July 2016 at 17:05, Walid Aljoby <wa...@yahoo.com.invalid>
wrote:

> Thank you.
> I used IP address directly but the problem  still the same.
> Regards,
> WA
>
>       From: Gmail <wa...@gmail.com>
>  To: dev@storm.apache.org
> Cc: User <us...@storm.apache.org>
>  Sent: Tuesday, July 5, 2016 7:05 AM
>  Subject: Re: Topology submision Bugs
>
> Hi
>
> Please make sure the host name wf-ubuntun is properly configured in
> /etc/hosts on the nodes.
>
> Hope this helps.
>
> Li
>
> Sent from my iPhone
>
> > On 5 Jul 2016, at 5:27 AM, Walid Aljoby <wa...@yahoo.com.INVALID>
> wrote:
> >
> > Hi all,
> > I am running Apache Storm 1.0.1 over clusters of two nodes (one is
> called Master which runs zookeeper and nimbus, the other one runs
> supervisor).I just configured the  storm.zookeeper.servers:  and
> nimbus.seeds: to be the IP address of Master node for both two machines.
> > However, when I submitted the topology through the Master node like
> this:  storm jar target/storm-starter-1.0.1.jar
> org.apache.storm.starter.WordCountTopology DemoI came across into the
> following Exceptions:
> > 790  [main] INFO  o.a.s.StormSubmitter - Generated ZooKeeper secret
> payload for MD5-digest: -6025945650128968937:-8258756050733197469
> > 866  [main] INFO  o.a.s.s.a.AuthUtils - Got AutoCreds []
> > Exception in thread "main" java.lang.RuntimeException:
> org.apache.storm.thrift.transport.TTransportException:
> java.net.UnknownHostException: wf-ubuntun
> >    at
> org.apache.storm.security.auth.TBackoffConnect.retryNext(TBackoffConnect.java:64)
> >    at
> org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:56)
> >    at
> org.apache.storm.security.auth.ThriftClient.reconnect(ThriftClient.java:99)
> >    at
> org.apache.storm.security.auth.ThriftClient.<init>(ThriftClient.java:69)
> >    at org.apache.storm.utils.NimbusClient.<init>(NimbusClient.java:106)
> >    at
> org.apache.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:78)
> >    at
> org.apache.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:228)
> >    at
> org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:288)
> >    at
> org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:324)
> >    at
> org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:305)
> >    at
> org.apache.storm.starter.WordCountTopology.main(WordCountTopology.java:93)
> > Caused by: org.apache.storm.thrift.transport.TTransportException:
> java.net.UnknownHostException: wf-ubuntun
> >    at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:226)
> >    at
> org.apache.storm.thrift.transport.TFramedTransport.open(TFramedTransport.java:81)
> >    at
> org.apache.storm.security.auth.SimpleTransportPlugin.connect(SimpleTransportPlugin.java:103)
> >    at
> org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:53)
> >    ... 9 more
> > Caused by: java.net.UnknownHostException: wf-ubuntun
> >    at
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
> >    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
> >    at java.net.Socket.connect(Socket.java:579)
> >    at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:221)
> >    ... 12 more
> >
> >
> >
> >
> > Please I hope anyone can help, and thank you in advance..
> >
> > Best Regards---
> > WA
>
>
>

Re: Topology submision Bugs

Posted by Walid Aljoby <wa...@yahoo.com>.
Thank you.
I used IP address directly but the problem  still the same.
Regards,
WA

      From: Gmail <wa...@gmail.com>
 To: dev@storm.apache.org 
Cc: User <us...@storm.apache.org>
 Sent: Tuesday, July 5, 2016 7:05 AM
 Subject: Re: Topology submision Bugs
   
Hi

Please make sure the host name wf-ubuntun is properly configured in /etc/hosts on the nodes. 

Hope this helps. 

Li

Sent from my iPhone

> On 5 Jul 2016, at 5:27 AM, Walid Aljoby <wa...@yahoo.com.INVALID> wrote:
> 
> Hi all,
> I am running Apache Storm 1.0.1 over clusters of two nodes (one is called Master which runs zookeeper and nimbus, the other one runs supervisor).I just configured the  storm.zookeeper.servers:  and  nimbus.seeds: to be the IP address of Master node for both two machines.
> However, when I submitted the topology through the Master node like this:  storm jar target/storm-starter-1.0.1.jar org.apache.storm.starter.WordCountTopology DemoI came across into the following Exceptions:
> 790  [main] INFO  o.a.s.StormSubmitter - Generated ZooKeeper secret payload for MD5-digest: -6025945650128968937:-8258756050733197469
> 866  [main] INFO  o.a.s.s.a.AuthUtils - Got AutoCreds []
> Exception in thread "main" java.lang.RuntimeException: org.apache.storm.thrift.transport.TTransportException: java.net.UnknownHostException: wf-ubuntun
>    at org.apache.storm.security.auth.TBackoffConnect.retryNext(TBackoffConnect.java:64)
>    at org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:56)
>    at org.apache.storm.security.auth.ThriftClient.reconnect(ThriftClient.java:99)
>    at org.apache.storm.security.auth.ThriftClient.<init>(ThriftClient.java:69)
>    at org.apache.storm.utils.NimbusClient.<init>(NimbusClient.java:106)
>    at org.apache.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:78)
>    at org.apache.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:228)
>    at org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:288)
>    at org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:324)
>    at org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:305)
>    at org.apache.storm.starter.WordCountTopology.main(WordCountTopology.java:93)
> Caused by: org.apache.storm.thrift.transport.TTransportException: java.net.UnknownHostException: wf-ubuntun
>    at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:226)
>    at org.apache.storm.thrift.transport.TFramedTransport.open(TFramedTransport.java:81)
>    at org.apache.storm.security.auth.SimpleTransportPlugin.connect(SimpleTransportPlugin.java:103)
>    at org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:53)
>    ... 9 more
> Caused by: java.net.UnknownHostException: wf-ubuntun
>    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
>    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>    at java.net.Socket.connect(Socket.java:579)
>    at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:221)
>    ... 12 more
> 
> 
> 
> 
> Please I hope anyone can help, and thank you in advance..
> 
> Best Regards---
> WA

  

Re: Topology submision Bugs

Posted by Walid Aljoby <wa...@yahoo.com.INVALID>.
Thank you.
I used IP address directly but the problem  still the same.
Regards,
WA

      From: Gmail <wa...@gmail.com>
 To: dev@storm.apache.org 
Cc: User <us...@storm.apache.org>
 Sent: Tuesday, July 5, 2016 7:05 AM
 Subject: Re: Topology submision Bugs
   
Hi

Please make sure the host name wf-ubuntun is properly configured in /etc/hosts on the nodes. 

Hope this helps. 

Li

Sent from my iPhone

> On 5 Jul 2016, at 5:27 AM, Walid Aljoby <wa...@yahoo.com.INVALID> wrote:
> 
> Hi all,
> I am running Apache Storm 1.0.1 over clusters of two nodes (one is called Master which runs zookeeper and nimbus, the other one runs supervisor).I just configured the  storm.zookeeper.servers:  and  nimbus.seeds: to be the IP address of Master node for both two machines.
> However, when I submitted the topology through the Master node like this:  storm jar target/storm-starter-1.0.1.jar org.apache.storm.starter.WordCountTopology DemoI came across into the following Exceptions:
> 790  [main] INFO  o.a.s.StormSubmitter - Generated ZooKeeper secret payload for MD5-digest: -6025945650128968937:-8258756050733197469
> 866  [main] INFO  o.a.s.s.a.AuthUtils - Got AutoCreds []
> Exception in thread "main" java.lang.RuntimeException: org.apache.storm.thrift.transport.TTransportException: java.net.UnknownHostException: wf-ubuntun
>    at org.apache.storm.security.auth.TBackoffConnect.retryNext(TBackoffConnect.java:64)
>    at org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:56)
>    at org.apache.storm.security.auth.ThriftClient.reconnect(ThriftClient.java:99)
>    at org.apache.storm.security.auth.ThriftClient.<init>(ThriftClient.java:69)
>    at org.apache.storm.utils.NimbusClient.<init>(NimbusClient.java:106)
>    at org.apache.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:78)
>    at org.apache.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:228)
>    at org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:288)
>    at org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:324)
>    at org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:305)
>    at org.apache.storm.starter.WordCountTopology.main(WordCountTopology.java:93)
> Caused by: org.apache.storm.thrift.transport.TTransportException: java.net.UnknownHostException: wf-ubuntun
>    at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:226)
>    at org.apache.storm.thrift.transport.TFramedTransport.open(TFramedTransport.java:81)
>    at org.apache.storm.security.auth.SimpleTransportPlugin.connect(SimpleTransportPlugin.java:103)
>    at org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:53)
>    ... 9 more
> Caused by: java.net.UnknownHostException: wf-ubuntun
>    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
>    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>    at java.net.Socket.connect(Socket.java:579)
>    at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:221)
>    ... 12 more
> 
> 
> 
> 
> Please I hope anyone can help, and thank you in advance..
> 
> Best Regards---
> WA

  

Re: Topology submision Bugs

Posted by Gmail <wa...@gmail.com>.
Hi

Please make sure the host name wf-ubuntun is properly configured in /etc/hosts on the nodes. 

Hope this helps. 

Li

Sent from my iPhone

> On 5 Jul 2016, at 5:27 AM, Walid Aljoby <wa...@yahoo.com.INVALID> wrote:
> 
> Hi all,
> I am running Apache Storm 1.0.1 over clusters of two nodes (one is called Master which runs zookeeper and nimbus, the other one runs supervisor).I just configured the  storm.zookeeper.servers:  and  nimbus.seeds: to be the IP address of Master node for both two machines.
> However, when I submitted the topology through the Master node like this:  storm jar target/storm-starter-1.0.1.jar org.apache.storm.starter.WordCountTopology DemoI came across into the following Exceptions:
> 790  [main] INFO  o.a.s.StormSubmitter - Generated ZooKeeper secret payload for MD5-digest: -6025945650128968937:-8258756050733197469
> 866  [main] INFO  o.a.s.s.a.AuthUtils - Got AutoCreds []
> Exception in thread "main" java.lang.RuntimeException: org.apache.storm.thrift.transport.TTransportException: java.net.UnknownHostException: wf-ubuntun
>     at org.apache.storm.security.auth.TBackoffConnect.retryNext(TBackoffConnect.java:64)
>     at org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:56)
>     at org.apache.storm.security.auth.ThriftClient.reconnect(ThriftClient.java:99)
>     at org.apache.storm.security.auth.ThriftClient.<init>(ThriftClient.java:69)
>     at org.apache.storm.utils.NimbusClient.<init>(NimbusClient.java:106)
>     at org.apache.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:78)
>     at org.apache.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:228)
>     at org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:288)
>     at org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:324)
>     at org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:305)
>     at org.apache.storm.starter.WordCountTopology.main(WordCountTopology.java:93)
> Caused by: org.apache.storm.thrift.transport.TTransportException: java.net.UnknownHostException: wf-ubuntun
>     at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:226)
>     at org.apache.storm.thrift.transport.TFramedTransport.open(TFramedTransport.java:81)
>     at org.apache.storm.security.auth.SimpleTransportPlugin.connect(SimpleTransportPlugin.java:103)
>     at org.apache.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:53)
>     ... 9 more
> Caused by: java.net.UnknownHostException: wf-ubuntun
>     at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
>     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>     at java.net.Socket.connect(Socket.java:579)
>     at org.apache.storm.thrift.transport.TSocket.open(TSocket.java:221)
>     ... 12 more
> 
> 
> 
> 
> Please I hope anyone can help, and thank you in advance..
> 
> Best Regards---
> WA