[ https://issues.apache.org/jira/browse/HIVE-9100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14291782#comment-14291782 ]
Nemon Lou commented on HIVE-9100: --------------------------------- Mariusz Strzelecki is right.After changing metastore's TokenStore from memory to DB,the error disappears.Thanks, Mariusz Strzelecki. > HiveServer2 fail to connect to MetaStore after MetaStore restarting > -------------------------------------------------------------------- > > Key: HIVE-9100 > URL: https://issues.apache.org/jira/browse/HIVE-9100 > Project: Hive > Issue Type: Bug > Components: Authentication, HiveServer2, Security > Affects Versions: 0.14.0, 0.13.1 > Reporter: Nemon Lou > Attachments: hiveserver2.log, metastore.log > > > Secure cluster with kerberos,remote metastore. > How to reproduce : > 1,use beeline to connect to HiveServer2 > 2,restart the MetaStore process > 3,type command like 'show tables' in beeline > Client side will report this error: > {quote} > Error: Error while processing statement: FAILED: Execution Error, return code > 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:Could > not connect to meta store using any of the URIs provided. Most recent > failure: org.apache.thrift.transport.TTransportException: Peer indicated > failure: DIGEST-MD5: IO error acquiring password > at > org.apache.thrift.transport.TSaslTransport.receiveSaslMessage(TSaslTransport.java:190) > {quote} > HiveServer2's log and metastore's log are uploaded as attachments. -- This message was sent by Atlassian JIRA (v6.3.4#6332)