Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Service Monitor won't start after kerberos enabled (CDH 5.1.3)

Service Monitor won't start after kerberos enabled (CDH 5.1.3)

New Contributor

Seems that after enabling kerberos, all services except for Service Monitor start and run just fine.

 

This is a clean installation of CDH 5.1.3 and Cloudera Manager using parcels on CentOS 6

 

Stacktrace is as follows:

2014-09-26 23:20:58,923 INFO com.cloudera.cmf.cdhclient.CdhExecutorFactory: Instantiating CDH classloader: version CDH4, key edef7a3ef478a4a63cbb06dc3cc63adf, path /usr/share/cmf/lib/cdh4
2014-09-26 23:20:59,010 INFO com.cloudera.cmf.cdhclient.CdhExecutorFactory: Instantiating CDH classloader: version CDH5, key dc76499e41ecda17ffc73da976ec6e10, path /usr/share/cmf/lib/cdh5
2014-09-26 23:20:59,056 INFO com.cloudera.cmf.cdhclient.CdhExecutorFactory: Instantiating CDH classloader: version CDH4, key f8c74915cfea50bf9fec92f1be8d7716, path /usr/share/cmf/lib/cdh4
2014-09-26 23:20:59,468 INFO com.cloudera.cmf.cdhclient.CdhExecutorFactory: Class loader f8c74915cfea50bf9fec92f1be8d7716 evicted from cache.
2014-09-26 23:20:59,470 INFO com.cloudera.cmf.cdhclient.util.CDHUrlClassLoader: Disposed of class loader f8c74915cfea50bf9fec92f1be8d7716.
2014-09-26 23:20:59,470 ERROR com.cloudera.cmon.firehose.Main: Failed to start Firehose
java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at com.google.common.base.Throwables.propagate(Throwables.java:160)
        at com.cloudera.cmf.cdhclient.CdhExecutorFactory.createExecutor(CdhExecutorFactory.java:274)
        at com.cloudera.cmf.cdhclient.CdhExecutorFactory.createExecutor(CdhExecutorFactory.java:309)
        at com.cloudera.enterprise.AbstractCDHVersionAwarePeriodicService.<init>(AbstractCDHVersionAwarePeriodicService.java:73)
        at com.cloudera.cmon.firehose.AbstractHBasePoller.<init>(AbstractHBasePoller.java:95)
        at com.cloudera.cmon.firehose.HBaseFsckPoller.<init>(HBaseFsckPoller.java:53)
        at com.cloudera.cmon.firehose.Firehose.createSecurityAwarePollers(Firehose.java:434)
        at com.cloudera.cmon.firehose.Firehose.setupServiceMonitoringPollers(Firehose.java:414)
        at com.cloudera.cmon.firehose.Firehose.<init>(Firehose.java:301)
        at com.cloudera.cmon.firehose.Main.main(Main.java:510)
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at java.util.concurrent.FutureTask.report(FutureTask.java:122)
        at java.util.concurrent.FutureTask.get(FutureTask.java:188)
        at com.cloudera.cmf.cdhclient.CdhExecutorFactory.createExecutor(CdhExecutorFactory.java:268)
        ... 8 more
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:131)
        at org.apache.hadoop.security.Groups.<init>(Groups.java:56)
        at org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:196)
        at org.apache.hadoop.security.UserGroupInformation.initUGI(UserGroupInformation.java:268)
        at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:239)
        at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:230)
at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:307)
        at org.apache.hadoop.security.SecurityUtil.login(SecurityUtil.java:267)
        at com.cloudera.cmf.cdh4client.CDH4ObjectFactoryImpl.login(CDH4ObjectFactoryImpl.java:188)
        at com.cloudera.cmf.cdhclient.CdhExecutorFactory$SecureClassLoaderSetupTask.run(CdhExecutorFactory.java:485)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:129)
        ... 14 more
Caused by: java.lang.UnsatisfiedLinkError: org.apache.hadoop.security.JniBasedUnixGroupsMapping.anchorNative()V
        at org.apache.hadoop.security.JniBasedUnixGroupsMapping.anchorNative(Native Method)
        at org.apache.hadoop.security.JniBasedUnixGroupsMapping.<clinit>(JniBasedUnixGroupsMapping.java:49)
        at org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback.<init>(JniBasedUnixGroupsMappingWithFallback.java:38)
        ... 19 more