You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Hemanth Yamijala (JIRA)" <ji...@apache.org> on 2016/06/28 07:05:57 UTC

[jira] [Created] (ATLAS-956) StormAtlasHook is not working for topologies that do not refer to Hadoop related bolts

Hemanth Yamijala created ATLAS-956:
--------------------------------------

             Summary: StormAtlasHook is not working for topologies that do not refer to Hadoop related bolts
                 Key: ATLAS-956
                 URL: https://issues.apache.org/jira/browse/ATLAS-956
             Project: Atlas
          Issue Type: Bug
            Reporter: Hemanth Yamijala
            Priority: Critical


Submitting simple topologies that do not have any Hadoop specific bolts or functionality is causing exceptions in StormAtlas Hook, like below:

{code}
684  [main] INFO  o.a.s.StormSubmitter - Generated ZooKeeper secret payload for MD5-digest: -8572156748850444065:-7480695850066516712
776  [main] INFO  o.a.s.s.a.AuthUtils - Got AutoCreds []
780  [main] WARN  o.a.s.u.NimbusClient - Using deprecated config nimbus.host for backward compatibility. Please update your storm.yaml so it only has config nimbus.seeds
843  [main] WARN  o.a.s.u.NimbusClient - Using deprecated config nimbus.host for backward compatibility. Please update your storm.yaml so it only has config nimbus.seeds
857  [main] INFO  o.a.s.StormSubmitter - Uploading topology jar /tmp/1cb29a4a36b011e6a028080027f12dac.jar to assigned location: /hadoop/storm/nimbus/inbox/stormjar-f7558579-b946-4add-91c0-ad5a5177864c.jar
873  [main] INFO  o.a.s.StormSubmitter - Successfully uploaded topology jar to assigned location: /hadoop/storm/nimbus/inbox/stormjar-f7558579-b946-4add-91c0-ad5a5177864c.jar
874  [main] INFO  o.a.s.StormSubmitter - Submitting topology WordCountid007f0100_date271916 in distributed mode with conf {"storm.zookeeper.topology.auth.scheme":"digest","storm.zookeeper.topology.auth.payload":"-8572156748850444065:-7480695850066516712","topology.workers":3,"topology.debug":true}
874  [main] WARN  o.a.s.u.NimbusClient - Using deprecated config nimbus.host for backward compatibility. Please update your storm.yaml so it only has config nimbus.seeds
1011 [main] INFO  o.a.s.StormSubmitter - Finished submitting topology: WordCountid007f0100_date271916
1011 [main] INFO  o.a.s.StormSubmitter - Initializing the registered ISubmitterHook [org.apache.atlas.storm.hook.StormAtlasHook]
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configuration
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:264)
	at org.apache.storm.StormSubmitter.invokeSubmitterHook(StormSubmitter.java:282)
	at org.apache.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:258)
	at org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:311)
	at org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:157)
	at storm.starter.WordCountTopology.main(WordCountTopology.java:77)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.conf.Configuration
	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)
	... 7 more
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)