Description
An attempt to run sentry fails:
Exception in thread "main" java.util.concurrent.ExecutionException: java.lang.Exception: Error starting server at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.apache.sentry.service.thrift.SentryService.waitOnFuture(SentryService.java:312) at org.apache.sentry.service.thrift.SentryService$CommandImpl.run(SentryService.java:398) 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:221) at org.apache.hadoop.util.RunJar.main(RunJar.java:136) Caused by: java.lang.Exception: Error starting server at org.apache.sentry.service.thrift.SentryService.call(SentryService.java:172) at org.apache.sentry.service.thrift.SentryService.call(SentryService.java:71) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalStateException: Could not create org.apache.sentry.provider.db.service.thrift.SentryPolicyStoreProcessorFactory ...
The reason is a missing dependency on sentry-hdfs-dist in sentry-dist/pom.xml.
Attachments
Attachments
Issue Links
- relates to
-
SENTRY-872 Uber jira for HMS HA + Sentry HA redesign
- Resolved
- links to