I downloaded binary version that Kalyan posted and run it and got the same
problem.

Here is my java information:

java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

The sentry process is still running but looks like it isn't responding to
thrift connections.

17/11/29 11:01:02 ERROR thrift.SentryService: Error starting server
java.lang.SecurityException: class "javax.servlet.DispatcherType"'s signer
information does not match signer information of other classes in the same
package
        at java.lang.ClassLoader.checkCerts(ClassLoader.java:898)
        at java.lang.ClassLoader.preDefineClass(ClassLoader.java:668)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:761)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at
org.apache.sentry.service.thrift.SentryService.startSentryWebServer(SentryService.java:422)
        at
org.apache.sentry.service.thrift.SentryService.runServer(SentryService.java:268)
        at
org.apache.sentry.service.thrift.SentryService.call(SentryService.java:198)
        at
org.apache.sentry.service.thrift.SentryService.call(SentryService.java:76)
        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)
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$CommandImpl.run(SentryService.java:591)
        at org.apache.sentry.SentryMain.main(SentryMain.java:122)
        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:234)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:148)
Caused by: java.lang.Exception: Error starting server
        at
org.apache.sentry.service.thrift.SentryService.call(SentryService.java:202)
        at
org.apache.sentry.service.thrift.SentryService.call(SentryService.java:76)
        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.SecurityException: class
"javax.servlet.DispatcherType"'s signer information does not match signer
information of other classes in the same package
        at java.lang.ClassLoader.checkCerts(ClassLoader.java:898)
        at java.lang.ClassLoader.preDefineClass(ClassLoader.java:668)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:761)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at
org.apache.sentry.service.thrift.SentryService.startSentryWebServer(SentryService.java:422)
        at
org.apache.sentry.service.thrift.SentryService.runServer(SentryService.java:268)
        at
org.apache.sentry.service.thrift.SentryService.call(SentryService.java:198)
        ... 5 more

On Wed, Nov 29, 2017 at 10:32 AM, Sergio Pena <sergio.p...@cloudera.com>
wrote:

> I don't have that issue.
>
> I downloaded the 2.0 tar.gz that is already signed and install it on an
> Ubuntu 16.04 machine with Hive 2.3.2. It has been running in a single node
> mode. I could check HMS notifications being pulled and updated, and
> checking the permissions.
>
> On Wed, Nov 29, 2017 at 12:20 PM, Kalyan Kumar Kalvagadda <
> kkal...@cloudera.com> wrote:
>
> > Sergio,
> >
> > I know that you tried to start sentry standalone, Did you see this issue?
> >
> >
> > -Kalyan
> >
> > On Wed, Nov 29, 2017 at 12:16 PM, Alexander Kolbasov <ak...@cloudera.com
> >
> > wrote:
> >
> > > I tried to start Sentry server on Mac and got a weird error . I am
> > running
> > > from the dist directory that I just built with mvn clean install on the
> > > 2.0.0 branch.
> > >
> > > 17/11/29 10:13:25 ERROR thrift.SentryService: Error starting server
> > > java.lang.SecurityException: class "javax.servlet.DispatcherType"'s
> > signer
> > > information does not match signer information of other classes in the
> > same
> > > package
> > >         at java.lang.ClassLoader.checkCerts(ClassLoader.java:898)
> > >         at java.lang.ClassLoader.preDefineClass(ClassLoader.java:668)
> > >         at java.lang.ClassLoader.defineClass(ClassLoader.java:761)
> > >         at
> > > java.security.SecureClassLoader.defineClass(
> SecureClassLoader.java:142)
> > >         at java.net.URLClassLoader.defineClass(URLClassLoader.
> java:467)
> > >         at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
> > >         at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
> > >         at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
> > >         at java.security.AccessController.doPrivileged(Native Method)
> > >         at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
> > >         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> > >         at sun.misc.Launcher$AppClassLoader.loadClass(
> Launcher.java:331)
> > >         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> > >         at
> > > org.apache.sentry.service.thrift.SentryService.startSentryWebServer(
> > > SentryService.java:422)
> > >         at
> > > org.apache.sentry.service.thrift.SentryService.
> > > runServer(SentryService.java:268)
> > >         at
> > > org.apache.sentry.service.thrift.SentryService.call(
> > > SentryService.java:198)
> > >         at
> > > org.apache.sentry.service.thrift.SentryService.call(
> > SentryService.java:76)
> > >         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)
> > > 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$
> > > CommandImpl.run(SentryService.java:591)
> > >         at org.apache.sentry.SentryMain.main(SentryMain.java:122)
> > >         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:234)
> > >         at org.apache.hadoop.util.RunJar.main(RunJar.java:148)
> > > Caused by: java.lang.Exception: Error starting server
> > >         at
> > > org.apache.sentry.service.thrift.SentryService.call(
> > > SentryService.java:202)
> > >         at
> > > org.apache.sentry.service.thrift.SentryService.call(
> > SentryService.java:76)
> > >         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.SecurityException: class
> > > "javax.servlet.DispatcherType"'s signer information does not match
> > signer
> > > information of other classes in the same package
> > >         at java.lang.ClassLoader.checkCerts(ClassLoader.java:898)
> > >         at java.lang.ClassLoader.preDefineClass(ClassLoader.java:668)
> > >         at java.lang.ClassLoader.defineClass(ClassLoader.java:761)
> > >         at
> > > java.security.SecureClassLoader.defineClass(
> SecureClassLoader.java:142)
> > >         at java.net.URLClassLoader.defineClass(URLClassLoader.
> java:467)
> > >         at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
> > >         at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
> > >         at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
> > >         at java.security.AccessController.doPrivileged(Native Method)
> > >         at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
> > >         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> > >         at sun.misc.Launcher$AppClassLoader.loadClass(
> Launcher.java:331)
> > >         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> > >         at
> > > org.apache.sentry.service.thrift.SentryService.startSentryWebServer(
> > > SentryService.java:422)
> > >         at
> > > org.apache.sentry.service.thrift.SentryService.
> > > runServer(SentryService.java:268)
> > >         at
> > > org.apache.sentry.service.thrift.SentryService.call(
> > > SentryService.java:198)
> > >         ... 5 more
> > >
> > > On Tue, Nov 28, 2017 at 4:38 PM, Kalyan Kumar Kalvagadda <
> > > kkal...@cloudera.com> wrote:
> > >
> > > > This is the release of Apache Sentry, version 2.0.0.
> > > >
> > > > It fixes the following issues:
> > > > *https://issues.apache.org/jira/projects/SENTRY/versions/12341081
> > > > <https://issues.apache.org/jira/projects/SENTRY/versions/12341081>*
> > > >
> > > > Source and bin files :
> > > > *http://home.apache.org/~kalyan/apache-sentry-2.0.0-src-rc-1/
> > > > <http://home.apache.org/~kalyan/apache-sentry-2.0.0-src-rc-1/>*
> > > >
> > > > Maven artifacts are available
> > > > here:https://repository.apache.org/content/
> > repositories/orgapachesentry-
> > > > 1005/
> > > >
> > > >
> > > > Tag to be voted on
> > > > *https://git-wip-us.apache.org/repos/asf/sentry/?p=
> > > > sentry.git;a=tag;h=refs/tags/release-2.0.0
> > > > <https://git-wip-us.apache.org/repos/asf/sentry/?p=
> > > > sentry.git;a=tag;h=refs/tags/release-2.0.0>*
> > > >
> > > > Sentry's KEYS containing the PGP key we used to sign the release:
> > > > http://www.apache.org/dist/sentry/KEYS
> > > >
> > > >  we are voting on the source:tag=release-2.0.0, SHA=
> > > > 18fe7c596fa1ffad3e656a42d534ac190876b642
> > > >  (You can get the hash of the tag by doing "git rev-list
> release-1.8.0
> > |
> > > > head -n 1" )
> > > >
> > > > Vote will be open for 72 hours.
> > > >
> > > > [ ] +1 approve
> > > > [ ] +0 no opinion
> > > > [ ] -1 disapprove (and reason why)
> > > >
> > > > -Kalyan
> > > >
> > >
> >
>

Reply via email to