You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Apoorv Naik (JIRA)" <ji...@apache.org> on 2017/04/20 17:18:04 UTC

[jira] [Created] (ATLAS-1741) Runtime (NPE) Exception in StormTopologyUtils with secure Kafka

Apoorv Naik created ATLAS-1741:
----------------------------------

             Summary: Runtime (NPE) Exception in StormTopologyUtils with secure Kafka
                 Key: ATLAS-1741
                 URL: https://issues.apache.org/jira/browse/ATLAS-1741
             Project: Atlas
          Issue Type: Bug
    Affects Versions: 0.8-incubating, 0.9-incubating
            Reporter: Apoorv Naik


{noformat}
2335 [main] INFO  o.a.s.StormSubmitter - Successfully uploaded topology jar to assigned location: /grid/0/hadoop/storm/nimbus/inbox/stormjar-7e9caced-c132-457c-8c10-62f866a796ad.jar
12360 [main] INFO  o.a.s.m.n.Login - successfully logged in.
12462 [main] INFO  o.a.s.m.n.Login - successfully logged in.
12530 [main] INFO  o.a.s.StormSubmitter - Submitting topology hcube-log-streaming-phoenix in distributed mode with conf {"storm.zookeeper.topology.auth.scheme":"digest","storm.zookeeper.topology.auth.payload":"-9002514039278956384:-6218326938056519916","topology.workers":10}
13566 [main] INFO  o.a.s.StormSubmitter - Finished submitting topology: hcube-log-streaming-phoenix
13568 [main] INFO  o.a.s.StormSubmitter - Initializing the registered ISubmitterHook [org.apache.atlas.storm.hook.StormAtlasHook]
14205 [main] INFO  o.a.a.ApplicationProperties - Looking for atlas-application.properties in classpath
14206 [main] INFO  o.a.a.ApplicationProperties - Loading atlas-application.properties from file:/etc/storm/2.5.5.0-126/0/atlas-application.properties
log4j:WARN No appenders could be found for logger (org.apache.atlas.ApplicationProperties).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
15279 [main] WARN  o.a.a.h.AtlasHook - Error in determining keytab for KafkaClient-JAAS config
java.lang.RuntimeException: java.lang.RuntimeException: class org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback not org.apache.hadoop.security.GroupMappingServiceProvider
	at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2260) ~[hadoop-common-2.7.3.2.5.5.0-126.jar:?]
	at org.apache.hadoop.security.Groups.<init>(Groups.java:99) ~[hadoop-common-2.7.3.2.5.5.0-126.jar:?]
	at org.apache.hadoop.security.Groups.<init>(Groups.java:95) ~[hadoop-common-2.7.3.2.5.5.0-126.jar:?]
	at org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:420) ~[hadoop-common-2.7.3.2.5.5.0-126.jar:?]
	at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:323) ~[hadoop-common-2.7.3.2.5.5.0-126.jar:?]
	at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:290) ~[hadoop-common-2.7.3.2.5.5.0-126.jar:?]
	at org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:845) ~[hadoop-common-2.7.3.2.5.5.0-126.jar:?]
	at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:815) ~[hadoop-common-2.7.3.2.5.5.0-126.jar:?]
	at org.apache.hadoop.security.UserGroupInformation.isLoginKeytabBased(UserGroupInformation.java:1375) ~[hadoop-common-2.7.3.2.5.5.0-126.jar:?]
	at org.apache.atlas.hook.AtlasHook.isLoginKeytabBased(AtlasHook.java:225) [atlas-notification-0.7.0.2.5.5.0-126.jar:0.7.0.2.5.5.0-126]
	at org.apache.atlas.hook.AtlasHook.<clinit>(AtlasHook.java:82) [atlas-notification-0.7.0.2.5.5.0-126.jar:0.7.0.2.5.5.0-126]
	at java.lang.Class.forName0(Native Method) ~[?:1.7.0_67]
	at java.lang.Class.forName(Class.java:270) [?:1.7.0_67]
	at org.apache.atlas.storm.hook.StormAtlasHook.initialize(StormAtlasHook.java:76) [storm-bridge-shim-0.7.0.2.5.5.0-126.jar:0.7.0.2.5.5.0-126]
	at org.apache.atlas.storm.hook.StormAtlasHook.<init>(StormAtlasHook.java:45) [storm-bridge-shim-0.7.0.2.5.5.0-126.jar:0.7.0.2.5.5.0-126]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_67]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [?:1.7.0_67]
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [?:1.7.0_67]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [?:1.7.0_67]
	at java.lang.Class.newInstance(Class.java:374) [?:1.7.0_67]
	at org.apache.storm.StormSubmitter.invokeSubmitterHook(StormSubmitter.java:279) [storm-core-1.0.1.2.5.5.0-126.jar:1.0.1.2.5.5.0-126]
	at org.apache.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:255) [storm-core-1.0.1.2.5.5.0-126.jar:1.0.1.2.5.5.0-126]
	at org.apache.storm.StormSubmitter.submitTopology(StormSubmitter.java:308) [storm-core-1.0.1.2.5.5.0-126.jar:1.0.1.2.5.5.0-126]
	at org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:344) [storm-core-1.0.1.2.5.5.0-126.jar:1.0.1.2.5.5.0-126]
	at org.apache.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:325) [storm-core-1.0.1.2.5.5.0-126.jar:1.0.1.2.5.5.0-126]
	at org.hw.hcube.storm.LogStreamingToplogyV2.main(LogStreamingToplogyV2.java:177) [bfe1218013b111e7835cfa163ee9cdf9.jar:?]
Caused by: java.lang.RuntimeException: class org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback not org.apache.hadoop.security.GroupMappingServiceProvider
	at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2254) ~[bfe1218013b111e7835cfa163ee9cdf9.jar:?]
	... 25 more
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)