Wechar created HIVE-27460:
-----------------------------

             Summary: HiveMetastoreClient should not wrap TTransportException 
in MetaException
                 Key: HIVE-27460
                 URL: https://issues.apache.org/jira/browse/HIVE-27460
             Project: Hive
          Issue Type: Improvement
          Components: Hive
            Reporter: Wechar
            Assignee: Wechar


When instantiate hive metastore client, we will wrap the 
{{TTransportException}} within {{{}MetaException{}}}, and will try to connect 
to another metastore thrift uri if encountered {{{}MetaException{}}}.
As discussed in HIVE-27097, client side only concerns about 
{{TTransportException}}, which should also apply to the connection building 
stage. So we can distinguish {{TTransportException}} from {{MetaException}} and 
stop connect immediately when encountered {{MetaException}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to