[ https://issues.apache.org/jira/browse/HIVE-20172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16543730#comment-16543730 ]
ASF GitHub Bot commented on HIVE-20172: --------------------------------------- GitHub user rajkrrsingh opened a pull request: https://github.com/apache/hive/pull/400 HIVE-20172: StatsUpdater failed with GSS Exception while trying to co… since metastore client is running in HMS so there is no need to connect to remote URI, so a part of this PR I will be updating the metastore URI so that it connects in embedded mode. You can merge this pull request into a Git repository by running: $ git pull https://github.com/rajkrrsingh/hive HIVE-20172 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/hive/pull/400.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #400 ---- commit 3efc2d9ba96822101b30c645d746849e772e478c Author: Rajkumar singh <rajkrrsingh@...> Date: 2018-07-13T21:17:40Z HIVE-20172: StatsUpdater failed with GSS Exception while trying to connect to remote metastore ---- > StatsUpdater failed with GSS Exception while trying to connect to remote > metastore > ---------------------------------------------------------------------------------- > > Key: HIVE-20172 > URL: https://issues.apache.org/jira/browse/HIVE-20172 > Project: Hive > Issue Type: Bug > Components: Transactions > Affects Versions: 2.1.1 > Environment: Hive-1.2.1,Hive2.1,java8 > Reporter: Rajkumar Singh > Assignee: Rajkumar Singh > Priority: Major > Labels: pull-request-available > Attachments: HIVE-20172.patch > > > StatsUpdater task failed with GSS Exception while trying to connect to remote > Metastore. > {code} > org.apache.thrift.transport.TTransportException: GSS initiate failed > at > org.apache.thrift.transport.TSaslTransport.sendAndThrowMessage(TSaslTransport.java:232) > > at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:316) > at > org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37) > > at > org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport$1.run(TUGIAssumingTransport.java:52) > > at > org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport$1.run(TUGIAssumingTransport.java:49) > > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866) > > at > org.apache.hadoop.hive.thrift.client.TUGIAssumingTransport.open(TUGIAssumingTransport.java:49) > > at > org.apache.hadoop.hive.metastore.HiveMetaStoreClient.open(HiveMetaStoreClient.java:487) > > at > org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:282) > > at > org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient.<init>(SessionHiveMetaStoreClient.java:76) > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > > at java.lang.reflect.Constructor.newInstance(Constructor.java:423) > at > org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1564) > > at > org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.<init>(RetryingMetaStoreClient.java:92) > > at > org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:138) > > at > org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:110) > > at > org.apache.hadoop.hive.ql.metadata.Hive.createMetaStoreClient(Hive.java:3526) > at org.apache.hadoop.hive.ql.metadata.Hive.getMSC(Hive.java:3558) > at > org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:533) > at > org.apache.hadoop.hive.ql.txn.compactor.Worker$StatsUpdater.gatherStats(Worker.java:300) > > at > org.apache.hadoop.hive.ql.txn.compactor.CompactorMR.run(CompactorMR.java:265) > at org.apache.hadoop.hive.ql.txn.compactor.Worker$1.run(Worker.java:177) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866) > > at org.apache.hadoop.hive.ql.txn.compactor.Worker.run(Worker.java:174) > ) > at > org.apache.hadoop.hive.metastore.HiveMetaStoreClient.open(HiveMetaStoreClient.java:534) > > at > org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:282) > > at > org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient.<init>(SessionHiveMetaStoreClient.java:76) > > {code} > since metastore client is running in HMS so there is no need to connect to > remote URI. -- This message was sent by Atlassian JIRA (v7.6.3#76005)