You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ganesha Shreedhara (JIRA)" <ji...@apache.org> on 2018/03/05 11:56:00 UTC
[jira] [Created] (HIVE-18859) Incorrect handling of thrift
metastore exceptions
Ganesha Shreedhara created HIVE-18859:
-----------------------------------------
Summary: Incorrect handling of thrift metastore exceptions
Key: HIVE-18859
URL: https://issues.apache.org/jira/browse/HIVE-18859
Project: Hive
Issue Type: Bug
Affects Versions: 2.1.1, 1.2.0
Reporter: Ganesha Shreedhara
Assignee: Ganesha Shreedhara
Currently any run time exception thrown in thrift metastore during the following operations is not getting sent to hive execution engine.
* grant/revoke role
* grant/revoke privileges
* create role
This is because ThriftHiveMetastore just handles MetaException and throws TException during the processing of these requests. So, the command just fails at thrift metastore end (Exception can be seen in metastore log) but the hive execution engine will keep on waiting for the response from thrift metatstore.
Steps to reproduce this problem :
Launch thrift metastore
Launch hive cli by passing --hiveconf hive.metastore.uris=thrift://127.0.0.1:10000 (pass the thrift metatstore host and port)
Execute the following commands:
# set role admin
# create role test; (succeeds)
# create role test; ( hive version 2.1.1 : command is stuck, waiting for the response from thrift metastore; hive version 1.2.1: command fails with exception as null)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)