You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Alexander Kolbasov (JIRA)" <ji...@apache.org> on 2016/11/15 01:31:58 UTC
[jira] [Updated] (SENTRY-1524) sentry-dist is missing dependency on
sentry-hdfs-dist
[ https://issues.apache.org/jira/browse/SENTRY-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Kolbasov updated SENTRY-1524:
---------------------------------------
Status: Patch Available (was: In Progress)
> sentry-dist is missing dependency on sentry-hdfs-dist
> -----------------------------------------------------
>
> Key: SENTRY-1524
> URL: https://issues.apache.org/jira/browse/SENTRY-1524
> Project: Sentry
> Issue Type: Bug
> Components: Sentry
> Affects Versions: 1.8.0, sentry-ha-redesign
> Reporter: Alexander Kolbasov
> Assignee: Alexander Kolbasov
> Attachments: SENTRY-1524.001.patch
>
>
> An attempt to run sentry fails:
> {code}
> 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
> ...
> {code}
> The reason is a missing dependency on sentry-hdfs-dist in sentry-dist/pom.xml.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)