[
https://issues.apache.org/jira/browse/HIVE-27460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HIVE-27460:
----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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)