hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Sankar Sivarama Subramaniyan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-13608) We should provide better error message while constraints with duplicate names are created
Date Mon, 25 Apr 2016 21:13:12 GMT
Hari Sankar Sivarama Subramaniyan created HIVE-13608:
--------------------------------------------------------

             Summary: We should provide better error message while constraints with duplicate
names are created
                 Key: HIVE-13608
                 URL: https://issues.apache.org/jira/browse/HIVE-13608
             Project: Hive
          Issue Type: Bug
            Reporter: Hari Sankar Sivarama Subramaniyan
            Assignee: Hari Sankar Sivarama Subramaniyan


{code}
PREHOOK: query: create table t1(x int, constraint pk1 primary key (x) disable novalidate)
PREHOOK: type: CREATETABLE
PREHOOK: Output: database:default
PREHOOK: Output: default@t1
POSTHOOK: query: create table t1(x int, constraint pk1 primary key (x) disable novalidate)
POSTHOOK: type: CREATETABLE
POSTHOOK: Output: database:default
POSTHOOK: Output: default@t1
PREHOOK: query: create table t2(x int, constraint pk1 primary key (x) disable novalidate)
PREHOOK: type: CREATETABLE
PREHOOK: Output: database:default
PREHOOK: Output: default@t2
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:For
direct MetaStore DB connections, we don't support retries at the client level.)
{code}

In the above case, it seems like useful error message is lost. It looks like a  generic problem
with metastore server/client exception handling and message propagation. Seems like exception
parsing logic of RetryingMetaStoreClient::invoke() needs to be updated.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message