hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mariusz Strzelecki (JIRA)" <>
Subject [jira] [Commented] (HIVE-9100) HiveServer2 fail to connect to MetaStore after MetaStore restarting
Date Mon, 26 Jan 2015 08:56:35 GMT


Mariusz Strzelecki commented on HIVE-9100:

have you tried setting {{}} in metastore? By default
all delegation tokens are stored in metastore's memory and service restart removes all of
them. Metastore supports storing them in database or ZooKeeper (

For me, setting:
helped with this issue.

> HiveServer2 fail to connect to MetaStore after MetaStore restarting 
> --------------------------------------------------------------------
>                 Key: HIVE-9100
>                 URL:
>             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(
> {quote}
> HiveServer2's log and metastore's log are uploaded as attachments.

This message was sent by Atlassian JIRA

View raw message