Support Questions

Find answers, ask questions, and share your expertise

Storm supervisor starting issue

avatar
Contributor

Getting the following error while starting the supervisor. Please help to rectify the issue.

o.a.s.d.supervisor [ERROR] Error on initialization of server mk-supervisor java.lang.RuntimeException: java.lang.ClassNotFoundException: backtype.storm.generated.LSSupervisorId at org.apache.storm.utils.LocalState.deserialize(LocalState.java:83) at org.apache.storm.utils.LocalState.get(LocalState.java:130) at org.apache.storm.local_state$ls_supervisor_id.invoke(local_state.clj:61) at org.apache.storm.daemon.supervisor$standalone_supervisor$reify__7622.prepare(supervisor.clj:1212) at org.apache.storm.daemon.supervisor$fn__7479$exec_fn__3183__auto____7480.invoke(supervisor.clj:765) at clojure.lang.AFn.applyToHelper(AFn.java:160) at clojure.lang.AFn.applyTo(AFn.java:144) at clojure.core$apply.invoke(core.clj:630) at org.apache.storm.daemon.supervisor$fn__7479$mk_supervisor__7524.doInvoke(supervisor.clj:763) at clojure.lang.RestFn.invoke(RestFn.java:436) at org.apache.storm.daemon.supervisor$_launch.invoke(supervisor.clj:1200) at org.apache.storm.daemon.supervisor$_main.invoke(supervisor.clj:1233) at clojure.lang.AFn.applyToHelper(AFn.java:152) at clojure.lang.AFn.applyTo(AFn.java:144) at org.apache.storm.daemon.supervisor.main(Unknown Source) Caused by: java.lang.ClassNotFoundException: backtype.storm.generated.LSSupervisorId at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at org.apache.storm.utils.LocalState.deserialize(LocalState.java:78) ... 14 more 2017-02-03 13:36:23.847 o.a.s.util [ERROR] Halting process: ("Error on initialization") java.lang.RuntimeException: ("Error on initialization") at org.apache.storm.util$exit_process_BANG_.doInvoke(util.clj:341) at clojure.lang.RestFn.invoke(RestFn.java:423) at org.apache.storm.daemon.supervisor$fn__7479$mk_supervisor__7524.doInvoke(supervisor.clj:763) at clojure.lang.RestFn.invoke(RestFn.java:436) at org.apache.storm.daemon.supervisor$_launch.invoke(supervisor.clj:1200) at org.apache.storm.daemon.supervisor$_main.invoke(supervisor.clj:1233) at clojure.lang.AFn.applyToHelper(AFn.java:152) at clojure.lang.AFn.applyTo(AFn.java:144) at org.apache.storm.daemon.supervisor.main(Unknown Source)

1 ACCEPTED SOLUTION

avatar

@Narasimha K I believe this issue was resolved after removing the old storm directory which was having the content that belongs to HDP 2.3.4 version.

View solution in original post

4 REPLIES 4

avatar
Master Mentor

looks like you're hitting a known issue, please see this Jira for workaround to clean up and reconfigure some parameters. https://issues.apache.org/jira/plugins/servlet/mobile#issue/STORM-1710

avatar
Master Mentor

@Narasimha K take a look at known issues section in our Release notes as it states what the necessary steps are when you are upgrading Storm on HDP to 2.5.3. There are clean up steps you must take http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.3/bk_release-notes/content/known_issues.html

if this helps, please consider accepting the answer to close out the thread.

avatar

@Narasimha K I believe this issue was resolved after removing the old storm directory which was having the content that belongs to HDP 2.3.4 version.

avatar
Contributor

Yes. This was closed. Thanks a lot for the suggestions.