incubator-drill-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li HM <hmx...@gmail.com>
Subject Re: Can't enable Hive storage with kerberos
Date Sat, 04 Oct 2014 05:01:09 GMT
I am running it in Embedded mode.

According to the document: "Launching SQLLine automatically starts a new
Drillbit within the shell".

I just started it with "bin/sqlline -u jdbc:drill:zk=local"
and went to "localhost:8047" -> Storage -> Hive -> Update

They are all from the same normal user. (The hive db can be accessed with
that user as well with kerberos).

On Fri, Oct 3, 2014 at 5:14 PM, Aditya <adityakishore@gmail.com> wrote:

> Are you running a single node drill-bit cluster? As a normal user or a
> system/service user? Can you 'su' as the user 'drill-bit' is running as?
>
> On Fri, Oct 3, 2014 at 4:38 PM, Li HM <hmxxyy@gmail.com> wrote:
>
> > I am testing drill-0.5.0 with an existing hive DB (0.12.0) using kerberos
> > authentication.
> >
> > I just couldn't enable the hive storage with the following parameters
> >
> > {
> >   "type": "hive",
> >   "enabled": false,
> >   "configProps": {
> >     "hive.metastore.uris": "thrift://*******.com:50513",
> >     "hive.metastore.client.socket.timeout": "200",
> >     "hive.metastore.sasl.enabled": "true",
> >     "hive.metastore.kerberos.principal": "hcat/*******.
> com@YGRID.YAHOO.COM
> > "
> >   }
> > }
> >
> > Hive DB works with with the kerberos ticket.
> >
> > Am I missing something obvious?
> >
> > This is the exception I got.
> >
> > 2014-10-03 23:15:05,357 [qtp731419035-49] DEBUG
> > o.a.d.e.server.rest.StorageResources - Unable to create/ update plugin:
> > hive
> >
> > 0: jdbc:drill:zk=local> 23:36:52.867 [qtp1085112373-48] ERROR
> > o.a.thrift.transport.TSaslTransport - SASL negotiation failure
> > javax.security.sasl.SaslException: GSS initiate failed
> > at
> >
> >
> com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:212)
> > ~[na:1.7.0_17]
> > at
> >
> >
> org.apache.thrift.transport.TSaslClientTransport.handleSaslStartMessage(TSaslClientTransport.java:94)
> > [drill-hive-exec-shaded-0.5.0-incubating.jar:0.5.0-incubating]
> > at
> org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:253)
> > ~[drill-hive-exec-shaded-0.5.0-incubating.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37)
> > [drill-hive-exec-shaded-0.5.0-incubating.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport$1.run(TUGIAssumingTransport.java:52)
> > [drill-hive-exec-shaded-0.5.0-incubating.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport$1.run(TUGIAssumingTransport.java:49)
> > [drill-hive-exec-shaded-0.5.0-incubating.jar:0.5.0-incubating]
> > at java.security.AccessController.doPrivileged(Native Method)
> [na:1.7.0_17]
> > at javax.security.auth.Subject.doAs(Subject.java:415) [na:1.7.0_17]
> > at
> >
> >
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1556)
> > [hadoop-common-2.4.1.jar:na]
> > at
> >
> >
> org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport.open(TUGIAssumingTransport.java:49)
> > [drill-hive-exec-shaded-0.5.0-incubating.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.hadoop.hive.metastore.HiveMetaStoreClient.open(HiveMetaStoreClient.java:283)
> > [hive-metastore-0.12.0.jar:0.12.0]
> > at
> >
> >
> org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:164)
> > [hive-metastore-0.12.0.jar:0.12.0]
> > at
> >
> >
> org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:104)
> > [hive-metastore-0.12.0.jar:0.12.0]
> > at
> >
> >
> org.apache.drill.exec.store.hive.schema.HiveSchemaFactory.<init>(HiveSchemaFactory.java:82)
> > [drill-storage-hive-core-0.5.0-incubating.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.drill.exec.store.hive.HiveStoragePlugin.<init>(HiveStoragePlugin.java:51)
> > [drill-storage-hive-core-0.5.0-incubating.jar:0.5.0-incubating]
> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> > [na:1.7.0_17]
> > at
> >
> >
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> > [na:1.7.0_17]
> > at
> >
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > [na:1.7.0_17]
> > at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
> > [na:1.7.0_17]
> > at
> >
> >
> org.apache.drill.exec.store.StoragePluginRegistry.create(StoragePluginRegistry.java:255)
> > [drill-java-exec-0.5.0-incubating-rebuffed.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.drill.exec.store.StoragePluginRegistry.createOrUpdate(StoragePluginRegistry.java:193)
> > [drill-java-exec-0.5.0-incubating-rebuffed.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.drill.exec.server.rest.PluginConfigWrapper.createOrUpdateInStorage(PluginConfigWrapper.java:56)
> > [drill-java-exec-0.5.0-incubating-rebuffed.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.drill.exec.server.rest.StorageResources.createOrUpdatePluginJSON(StorageResources.java:156)
> > [drill-java-exec-0.5.0-incubating-rebuffed.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.drill.exec.server.rest.StorageResources.createOrUpdatePlugin(StorageResources.java:171)
> > [drill-java-exec-0.5.0-incubating-rebuffed.jar:0.5.0-incubating]
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > ~[na:1.7.0_17]
> > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > ~[na:1.7.0_17]
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > ~[na:1.7.0_17]
> > at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_17]
> > at
> >
> >
> org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:151)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:171)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:195)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:387)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:331)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:103)
> > [jersey-server-2.8.jar:na]
> > at
> org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:269)
> > [jersey-server-2.8.jar:na]
> > at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
> > [jersey-common-2.8.jar:na]
> > at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
> > [jersey-common-2.8.jar:na]
> > at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
> > [jersey-common-2.8.jar:na]
> > at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
> > [jersey-common-2.8.jar:na]
> > at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
> > [jersey-common-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:297)
> > [jersey-common-2.8.jar:na]
> > at
> > org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:252)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1023)
> > [jersey-server-2.8.jar:na]
> > at
> org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:372)
> > [jersey-container-servlet-core-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:382)
> > [jersey-container-servlet-core-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:345)
> > [jersey-container-servlet-core-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:220)
> > [jersey-container-servlet-core-2.8.jar:na]
> > at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:738)
> > [jetty-servlet-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:551)
> > [jetty-servlet-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> >
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1111)
> > [jetty-server-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:478)
> > [jetty-servlet-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> >
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1045)
> > [jetty-server-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> >
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
> > [jetty-server-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> >
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
> > [jetty-server-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at org.eclipse.jetty.server.Server.handle(Server.java:462)
> > [jetty-server-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:279)
> > [jetty-server-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232)
> > [jetty-server-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:534)
> > [jetty-io-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> >
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
> > [jetty-util-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> >
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
> > [jetty-util-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at java.lang.Thread.run(Thread.java:722) [na:1.7.0_17]
> > Caused by: org.ietf.jgss.GSSException: No valid credentials provided
> > (Mechanism level: Failed to find any Kerberos tgt)
> > at
> >
> >
> sun.security.jgss.krb5.Krb5InitCredential.getInstance(Krb5InitCredential.java:147)
> > ~[na:1.7.0_17]
> > at
> >
> >
> sun.security.jgss.krb5.Krb5MechFactory.getCredentialElement(Krb5MechFactory.java:121)
> > ~[na:1.7.0_17]
> > at
> >
> >
> sun.security.jgss.krb5.Krb5MechFactory.getMechanismContext(Krb5MechFactory.java:187)
> > ~[na:1.7.0_17]
> > at
> >
> >
> sun.security.jgss.GSSManagerImpl.getMechanismContext(GSSManagerImpl.java:223)
> > ~[na:1.7.0_17]
> > at
> sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:212)
> > ~[na:1.7.0_17]
> > at
> sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:179)
> > ~[na:1.7.0_17]
> > at
> >
> >
> com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:193)
> > ~[na:1.7.0_17]
> > ... 62 common frames omitted
> > 23:36:53.954 [qtp1085112373-48] ERROR
> o.a.thrift.transport.TSaslTransport -
> > SASL negotiation failure
> > javax.security.sasl.SaslException: GSS initiate failed
> > at
> >
> >
> com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:212)
> > ~[na:1.7.0_17]
> > at
> >
> >
> org.apache.thrift.transport.TSaslClientTransport.handleSaslStartMessage(TSaslClientTransport.java:94)
> > [drill-hive-exec-shaded-0.5.0-incubating.jar:0.5.0-incubating]
> > at
> org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:253)
> > ~[drill-hive-exec-shaded-0.5.0-incubating.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37)
> > [drill-hive-exec-shaded-0.5.0-incubating.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport$1.run(TUGIAssumingTransport.java:52)
> > [drill-hive-exec-shaded-0.5.0-incubating.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport$1.run(TUGIAssumingTransport.java:49)
> > [drill-hive-exec-shaded-0.5.0-incubating.jar:0.5.0-incubating]
> > at java.security.AccessController.doPrivileged(Native Method)
> [na:1.7.0_17]
> > at javax.security.auth.Subject.doAs(Subject.java:415) [na:1.7.0_17]
> > at
> >
> >
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1556)
> > [hadoop-common-2.4.1.jar:na]
> > at
> >
> >
> org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport.open(TUGIAssumingTransport.java:49)
> > [drill-hive-exec-shaded-0.5.0-incubating.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.hadoop.hive.metastore.HiveMetaStoreClient.open(HiveMetaStoreClient.java:283)
> > [hive-metastore-0.12.0.jar:0.12.0]
> > at
> >
> >
> org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:164)
> > [hive-metastore-0.12.0.jar:0.12.0]
> > at
> >
> >
> org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:104)
> > [hive-metastore-0.12.0.jar:0.12.0]
> > at
> >
> >
> org.apache.drill.exec.store.hive.schema.HiveSchemaFactory.<init>(HiveSchemaFactory.java:82)
> > [drill-storage-hive-core-0.5.0-incubating.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.drill.exec.store.hive.HiveStoragePlugin.<init>(HiveStoragePlugin.java:51)
> > [drill-storage-hive-core-0.5.0-incubating.jar:0.5.0-incubating]
> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> > [na:1.7.0_17]
> > at
> >
> >
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> > [na:1.7.0_17]
> > at
> >
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > [na:1.7.0_17]
> > at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
> > [na:1.7.0_17]
> > at
> >
> >
> org.apache.drill.exec.store.StoragePluginRegistry.create(StoragePluginRegistry.java:255)
> > [drill-java-exec-0.5.0-incubating-rebuffed.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.drill.exec.store.StoragePluginRegistry.createOrUpdate(StoragePluginRegistry.java:193)
> > [drill-java-exec-0.5.0-incubating-rebuffed.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.drill.exec.server.rest.PluginConfigWrapper.createOrUpdateInStorage(PluginConfigWrapper.java:56)
> > [drill-java-exec-0.5.0-incubating-rebuffed.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.drill.exec.server.rest.StorageResources.createOrUpdatePluginJSON(StorageResources.java:156)
> > [drill-java-exec-0.5.0-incubating-rebuffed.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.drill.exec.server.rest.StorageResources.createOrUpdatePlugin(StorageResources.java:171)
> > [drill-java-exec-0.5.0-incubating-rebuffed.jar:0.5.0-incubating]
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > ~[na:1.7.0_17]
> > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > ~[na:1.7.0_17]
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > ~[na:1.7.0_17]
> > at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_17]
> > at
> >
> >
> org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:151)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:171)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:195)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:387)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:331)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:103)
> > [jersey-server-2.8.jar:na]
> > at
> org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:269)
> > [jersey-server-2.8.jar:na]
> > at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
> > [jersey-common-2.8.jar:na]
> > at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
> > [jersey-common-2.8.jar:na]
> > at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
> > [jersey-common-2.8.jar:na]
> > at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
> > [jersey-common-2.8.jar:na]
> > at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
> > [jersey-common-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:297)
> > [jersey-common-2.8.jar:na]
> > at
> > org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:252)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1023)
> > [jersey-server-2.8.jar:na]
> > at
> org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:372)
> > [jersey-container-servlet-core-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:382)
> > [jersey-container-servlet-core-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:345)
> > [jersey-container-servlet-core-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:220)
> > [jersey-container-servlet-core-2.8.jar:na]
> > at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:738)
> > [jetty-servlet-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:551)
> > [jetty-servlet-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> >
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1111)
> > [jetty-server-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:478)
> > [jetty-servlet-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> >
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1045)
> > [jetty-server-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> >
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
> > [jetty-server-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> >
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
> > [jetty-server-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at org.eclipse.jetty.server.Server.handle(Server.java:462)
> > [jetty-server-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:279)
> > [jetty-server-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232)
> > [jetty-server-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:534)
> > [jetty-io-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> >
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
> > [jetty-util-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> >
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
> > [jetty-util-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at java.lang.Thread.run(Thread.java:722) [na:1.7.0_17]
> > Caused by: org.ietf.jgss.GSSException: No valid credentials provided
> > (Mechanism level: Failed to find any Kerberos tgt)
> > at
> >
> >
> sun.security.jgss.krb5.Krb5InitCredential.getInstance(Krb5InitCredential.java:147)
> > ~[na:1.7.0_17]
> > at
> >
> >
> sun.security.jgss.krb5.Krb5MechFactory.getCredentialElement(Krb5MechFactory.java:121)
> > ~[na:1.7.0_17]
> > at
> >
> >
> sun.security.jgss.krb5.Krb5MechFactory.getMechanismContext(Krb5MechFactory.java:187)
> > ~[na:1.7.0_17]
> > at
> >
> >
> sun.security.jgss.GSSManagerImpl.getMechanismContext(GSSManagerImpl.java:223)
> > ~[na:1.7.0_17]
> > at
> sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:212)
> > ~[na:1.7.0_17]
> > at
> sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:179)
> > ~[na:1.7.0_17]
> > at
> >
> >
> com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:193)
> > ~[na:1.7.0_17]
> > ... 62 common frames omitted
> > 23:36:55.036 [qtp1085112373-48] ERROR
> o.a.thrift.transport.TSaslTransport -
> > SASL negotiation failure
> > javax.security.sasl.SaslException: GSS initiate failed
> > at
> >
> >
> com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:212)
> > ~[na:1.7.0_17]
> > at
> >
> >
> org.apache.thrift.transport.TSaslClientTransport.handleSaslStartMessage(TSaslClientTransport.java:94)
> > [drill-hive-exec-shaded-0.5.0-incubating.jar:0.5.0-incubating]
> > at
> org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:253)
> > ~[drill-hive-exec-shaded-0.5.0-incubating.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37)
> > [drill-hive-exec-shaded-0.5.0-incubating.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport$1.run(TUGIAssumingTransport.java:52)
> > [drill-hive-exec-shaded-0.5.0-incubating.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport$1.run(TUGIAssumingTransport.java:49)
> > [drill-hive-exec-shaded-0.5.0-incubating.jar:0.5.0-incubating]
> > at java.security.AccessController.doPrivileged(Native Method)
> [na:1.7.0_17]
> > at javax.security.auth.Subject.doAs(Subject.java:415) [na:1.7.0_17]
> > at
> >
> >
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1556)
> > [hadoop-common-2.4.1.jar:na]
> > at
> >
> >
> org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport.open(TUGIAssumingTransport.java:49)
> > [drill-hive-exec-shaded-0.5.0-incubating.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.hadoop.hive.metastore.HiveMetaStoreClient.open(HiveMetaStoreClient.java:283)
> > [hive-metastore-0.12.0.jar:0.12.0]
> > at
> >
> >
> org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:164)
> > [hive-metastore-0.12.0.jar:0.12.0]
> > at
> >
> >
> org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:104)
> > [hive-metastore-0.12.0.jar:0.12.0]
> > at
> >
> >
> org.apache.drill.exec.store.hive.schema.HiveSchemaFactory.<init>(HiveSchemaFactory.java:82)
> > [drill-storage-hive-core-0.5.0-incubating.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.drill.exec.store.hive.HiveStoragePlugin.<init>(HiveStoragePlugin.java:51)
> > [drill-storage-hive-core-0.5.0-incubating.jar:0.5.0-incubating]
> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> > [na:1.7.0_17]
> > at
> >
> >
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> > [na:1.7.0_17]
> > at
> >
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > [na:1.7.0_17]
> > at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
> > [na:1.7.0_17]
> > at
> >
> >
> org.apache.drill.exec.store.StoragePluginRegistry.create(StoragePluginRegistry.java:255)
> > [drill-java-exec-0.5.0-incubating-rebuffed.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.drill.exec.store.StoragePluginRegistry.createOrUpdate(StoragePluginRegistry.java:193)
> > [drill-java-exec-0.5.0-incubating-rebuffed.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.drill.exec.server.rest.PluginConfigWrapper.createOrUpdateInStorage(PluginConfigWrapper.java:56)
> > [drill-java-exec-0.5.0-incubating-rebuffed.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.drill.exec.server.rest.StorageResources.createOrUpdatePluginJSON(StorageResources.java:156)
> > [drill-java-exec-0.5.0-incubating-rebuffed.jar:0.5.0-incubating]
> > at
> >
> >
> org.apache.drill.exec.server.rest.StorageResources.createOrUpdatePlugin(StorageResources.java:171)
> > [drill-java-exec-0.5.0-incubating-rebuffed.jar:0.5.0-incubating]
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > ~[na:1.7.0_17]
> > at
> >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > ~[na:1.7.0_17]
> > at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > ~[na:1.7.0_17]
> > at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_17]
> > at
> >
> >
> org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:151)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:171)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:195)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:387)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:331)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:103)
> > [jersey-server-2.8.jar:na]
> > at
> org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:269)
> > [jersey-server-2.8.jar:na]
> > at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
> > [jersey-common-2.8.jar:na]
> > at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
> > [jersey-common-2.8.jar:na]
> > at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
> > [jersey-common-2.8.jar:na]
> > at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
> > [jersey-common-2.8.jar:na]
> > at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
> > [jersey-common-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:297)
> > [jersey-common-2.8.jar:na]
> > at
> > org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:252)
> > [jersey-server-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1023)
> > [jersey-server-2.8.jar:na]
> > at
> org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:372)
> > [jersey-container-servlet-core-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:382)
> > [jersey-container-servlet-core-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:345)
> > [jersey-container-servlet-core-2.8.jar:na]
> > at
> >
> >
> org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:220)
> > [jersey-container-servlet-core-2.8.jar:na]
> > at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:738)
> > [jetty-servlet-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:551)
> > [jetty-servlet-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> >
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1111)
> > [jetty-server-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:478)
> > [jetty-servlet-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> >
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1045)
> > [jetty-server-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> >
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
> > [jetty-server-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> >
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
> > [jetty-server-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at org.eclipse.jetty.server.Server.handle(Server.java:462)
> > [jetty-server-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:279)
> > [jetty-server-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232)
> > [jetty-server-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:534)
> > [jetty-io-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> >
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
> > [jetty-util-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at
> >
> >
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
> > [jetty-util-9.1.5.v20140505.jar:9.1.5.v20140505]
> > at java.lang.Thread.run(Thread.java:722) [na:1.7.0_17]
> > Caused by: org.ietf.jgss.GSSException: No valid credentials provided
> > (Mechanism level: Failed to find any Kerberos tgt)
> > at
> >
> >
> sun.security.jgss.krb5.Krb5InitCredential.getInstance(Krb5InitCredential.java:147)
> > ~[na:1.7.0_17]
> > at
> >
> >
> sun.security.jgss.krb5.Krb5MechFactory.getCredentialElement(Krb5MechFactory.java:121)
> > ~[na:1.7.0_17]
> > at
> >
> >
> sun.security.jgss.krb5.Krb5MechFactory.getMechanismContext(Krb5MechFactory.java:187)
> > ~[na:1.7.0_17]
> > at
> >
> >
> sun.security.jgss.GSSManagerImpl.getMechanismContext(GSSManagerImpl.java:223)
> > ~[na:1.7.0_17]
> > at
> sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:212)
> > ~[na:1.7.0_17]
> > at
> sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:179)
> > ~[na:1.7.0_17]
> > at
> >
> >
> com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:193)
> > ~[na:1.7.0_17]
> > ... 62 common frames omitted
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message