Support Questions
Find answers, ask questions, and share your expertise

Storm submit gives AtlasHook error

Expert Contributor

I am trying to submit Storm topology on Sandbox 2.6.4 from storm-starter examples.

Similar issue posted before but didn't help.

My submission:

[root@sandbox-hdp ~]# storm jar /usr/hdp/current/storm-client/contrib/storm-starter/storm-starter-topologies-1.1.0.2.6.4.0-91.jar org.apache.storm.starter.WordCountTopology wordcount

It creates topology:

[root@sandbox-hdp ~]# storm list....Topology_name        Status     Num_tasks  Num_workers  Uptime_secs
-------------------------------------------------------------------
wordcount            ACTIVE     29         2            245

But gives the following error at the end:

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/atlas/hook/AtlasHook
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)
        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.StormSubmitter.invokeSubmitterHook(StormSubmitter.java:361)
        at org.apache.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:278)
        at org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:390)
        at org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:426)
        at org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:407)
        at org.apache.storm.starter.WordCountTopology.main(WordCountTopology.java:93)
Caused by: java.lang.ClassNotFoundException: org.apache.atlas.hook.AtlasHook
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 20 more

From Storm UI everything seems fine but I don't understand why giving this error and why does not generate perceptible trouble. And what is the heck of AtlasHook?

0 REPLIES 0