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)