Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

CDH initialization Sentry failed

avatar
New Contributor
Exception in thread "main" java.lang.NullPointerException
	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)
	at org.apache.sentry.provider.db.service.persistent.HAContext.getServicePrincipal(HAContext.java:215)
	at org.apache.sentry.provider.db.service.persistent.HAContext.<init>(HAContext.java:94)
	at org.apache.sentry.provider.db.service.persistent.HAContext.getHAContext(HAContext.java:154)
	at org.apache.sentry.provider.db.service.persistent.HAContext.getHAServerContext(HAContext.java:187)
	at org.apache.sentry.provider.db.service.persistent.LeaderStatusMonitor.<init>(LeaderStatusMonitor.java:145)
	at org.apache.sentry.provider.db.service.persistent.LeaderStatusMonitor.getLeaderStatusMonitor(LeaderStatusMonitor.java:189)
	at org.apache.sentry.service.thrift.SentryService.<init>(SentryService.java:168)
	at org.apache.sentry.service.thrift.SentryService$CommandImpl.run(SentryService.java:571)
	at org.apache.sentry.SentryMain.main(SentryMain.java:120)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.hadoop.util.RunJar.run(RunJar.java:313)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:227)
1 REPLY 1

avatar
Community Manager

@daxiaowang, Welcome to our community! To help you get the best possible answer, I have tagged in our Sentry experts @Babasaheb who may be able to assist you further.

Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: