Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
CDH initialization Sentry failed
Labels:
- Labels:
-
Apache Sentry
New Contributor
Created 05-15-2023 11:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Community Manager
Created 05-17-2023 12:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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:
