I have been running a storm-0.8.2 cluster for over a year now.  Last night
AWS restarted the supervisor machines.  I have tried to restart the
supervisor processes manually, but upon start up I receive this error
message in the logs.

014-10-15 19:48:04 supervisor [ERROR] Error on initialization of server
mk-supervisor

java.net.UnknownHostException: domU-12-31-39-09-D2-92:
domU-12-31-39-09-D2-92

at java.net.InetAddress.getLocalHost(InetAddress.java:1454)

at backtype.storm.util$local_hostname.invoke(util.clj:153)

at
backtype.storm.daemon.supervisor$supervisor_data.invoke(supervisor.clj:181)

at
backtype.storm.daemon.supervisor$fn__4729$exec_fn__1200__auto____4730.invoke(supervisor.clj:331)

at clojure.lang.AFn.applyToHelper(AFn.java:167)

at clojure.lang.AFn.applyTo(AFn.java:151)

at clojure.core$apply.invoke(core.clj:601)

at
backtype.storm.daemon.supervisor$fn__4729$mk_supervisor__4754.doInvoke(supervisor.clj:327)

at clojure.lang.RestFn.invoke(RestFn.java:436)

at backtype.storm.daemon.supervisor$_launch.invoke(supervisor.clj:477)

at backtype.storm.daemon.supervisor$_main.invoke(supervisor.clj:506)

at clojure.lang.AFn.applyToHelper(AFn.java:159)

at clojure.lang.AFn.applyTo(AFn.java:151)

at backtype.storm.daemon.supervisor.main(Unknown Source)


I am not a clojure expert, but it looks like on line 215 of
backtype.storm.daemon.supervisor.clj,  that it is possible to set the
localhost name in a config file.

215 :my-hostname (if (contains? conf STORM-LOCAL-HOSTNAME)
216                (conf STORM-LOCAL-HOSTNAME)
217                 (local-hostname))


Is this possible?  What file do I need to set this setting in?  What is the
correct key for this setting?

Or am I way off base and need to do something else to get my workers to
restart?

Thanks,

Ryan Ebanks

Reply via email to