storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kosala Dissanayake <umaradi...@gmail.com>
Subject Re: Error on initialization of server mk-supervisor, novalocal UnknownHostException
Date Mon, 02 Feb 2015 05:11:11 GMT
I'm guessing you are running on OpenStack.

Add *127.0.0.1 slave1.novalocal *to your /etc/hosts file

On Thu, Jan 29, 2015 at 10:56 AM, Xunyun Liu <xunyunliu@gmail.com> wrote:

> ​Hi there,
>
> I am a new guy learning storm by following this tutorial, Running a
> Multi-Node Storm Cluster
> <http://www.michael-noll.com/tutorials/running-multi-node-storm-cluster/#java-6>.
> My configuration is almost the same as this tutorial posted except that
>  the java version in my machine is Oracle JDK 6 and storm version is 0.9.3.
>  ​
>
> Everything goes quite well before I tried to start the slave node. the
> nimbus daemon and ui have been successfully initialized and the
> configuration of nimbus and Zookeeper could be seen through a browser. But
> when it comes to starting a slave node,  a strange error occurred. the
> error message is pasted as follows:
>
> 2015-01-28T23:19:34.201+0000 b.s.d.supervisor [ERROR] Error on
> initialization of server mk-supervisor
> java.net.UnknownHostException: slave1.novalocal: slave1.novalocal
>         at java.net.InetAddress.getLocalHost(InetAddress.java:1402)
> ~[na:1.6.0_45]
>         at backtype.storm.util$local_hostname.invoke(util.clj:205)
> ~[storm-core-0.9.3.jar:0.9.3]
>         at clojure.lang.AFn.applyToHelper(AFn.java:159)
> [clojure-1.5.1.jar:na]
>         at clojure.lang.AFn.applyTo(AFn.java:151) [clojure-1.5.1.jar:na]
>         at clojure.core$apply.invoke(core.clj:617) ~[clojure-1.5.1.jar:na]
>         at clojure.core$memoize$fn__5049.doInvoke(core.clj:5735)
> ~[clojure-1.5.1.jar:na]
>         at clojure.lang.RestFn.invoke(RestFn.java:397)
> [clojure-1.5.1.jar:na]
>         at backtype.storm.util$hostname.invoke(util.clj:213)
> ~[storm-core-0.9.3.jar:0.9.3]
>         at
> backtype.storm.daemon.supervisor$supervisor_data.invoke(supervisor.clj:215)
> ~[storm-core-0.9.3.jar:0.9.3]
>         at
> backtype.storm.daemon.supervisor$fn__4209$exec_fn__1108__auto____4210.invoke(supervisor.clj:391)
> ~[storm-core-0.9.3.jar:0.9.3]
>         at clojure.lang.AFn.applyToHelper(AFn.java:167)
> [clojure-1.5.1.jar:na]
>         at clojure.lang.AFn.applyTo(AFn.java:151) [clojure-1.5.1.jar:na]
>         at clojure.core$apply.invoke(core.clj:617) ~[clojure-1.5.1.jar:na]
>         at
> backtype.storm.daemon.supervisor$fn__4209$mk_supervisor__4235.doInvoke(supervisor.clj:387)
> [storm-core-0.9.3.jar:0.9.3]
>         at clojure.lang.RestFn.invoke(RestFn.java:436)
> [clojure-1.5.1.jar:na]
>         at
> backtype.storm.daemon.supervisor$_launch.invoke(supervisor.clj:600)
> [storm-core-0.9.3.jar:0.9.3]
>         at
> backtype.storm.daemon.supervisor$_main.invoke(supervisor.clj:630)
> [storm-core-0.9.3.jar:0.9.3]
>         at clojure.lang.AFn.applyToHelper(AFn.java:159)
> [clojure-1.5.1.jar:na]
>         at clojure.lang.AFn.applyTo(AFn.java:151) [clojure-1.5.1.jar:na]
>         at backtype.storm.daemon.supervisor.main(Unknown Source)
> [storm-core-0.9.3.jar:0.9.3]
> 2015-01-28T23:19:34.247+0000 b.s.util [ERROR] Halting process: ("Error on
> initialization")
> java.lang.RuntimeException: ("Error on initialization")
>         at backtype.storm.util$exit_process_BANG_.doInvoke(util.clj:325)
> [storm-core-0.9.3.jar:0.9.3]
>         at clojure.lang.RestFn.invoke(RestFn.java:423)
> [clojure-1.5.1.jar:na]
>         at
> backtype.storm.daemon.supervisor$fn__4209$mk_supervisor__4235.doInvoke(supervisor.clj:387)
> [storm-core-0.9.3.jar:0.9.3]
>         at clojure.lang.RestFn.invoke(RestFn.java:436)
> [clojure-1.5.1.jar:na]
>         at
> backtype.storm.daemon.supervisor$_launch.invoke(supervisor.clj:600)
> [storm-core-0.9.3.jar:0.9.3]
>         at
> backtype.storm.daemon.supervisor$_main.invoke(supervisor.clj:630)
> [storm-core-0.9.3.jar:0.9.3]
>         at clojure.lang.AFn.applyToHelper(AFn.java:159)
> [clojure-1.5.1.jar:na]
>         at clojure.lang.AFn.applyTo(AFn.java:151) [clojure-1.5.1.jar:na]
>         at backtype.storm.daemon.supervisor.main(Unknown Source)
> [storm-core-0.9.3.jar:0.9.3]
>
>
> The most tricky part is that sometimes this error won't be triggered, and
> all I have done is just restarting the node or recover it from a snapshot.
> But this operation cannot guarantee the successful initialization of the
> slave. Can someone help me please, I have been stuck on it for several
> days. Thank you.
>
> --
> Best Regards.
> ======================================================
> Xunyun Liu
>
>

Mime
View raw message