[
https://issues.apache.org/jira/browse/IMPALA-15233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18109148#comment-18109148
]
ASF subversion and git services commented on IMPALA-15233:
----------------------------------------------------------
Commit 7f24fc1ced11db5971e96767304d6a97c05e3ec2 in impala's branch
refs/heads/master from Fang-Yu Rao
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=7f24fc1ce ]
IMPALA-15233: Remove catch blocks in MetastoreServiceHandler after HIVE-27193
This removes 2 catch blocks in MetastoreServiceHandler because after
HIVE-27193, MetaStoreUtils#parseDbName() in Hive no longer throws a
MetaException.
Testing:
- Verified test_metastore_service.py and
CatalogHmsSyncToLatestEventIdTest pass after this fix.
Change-Id: Ia7ff36a1631910d039808f46f45fc1dd59e9f400
Reviewed-on: http://gerrit.cloudera.org:8080/24655
Reviewed-by: Fang-Yu Rao <[email protected]>
Tested-by: Fang-Yu Rao <[email protected]>
> Remove some catch blocks in MetastoreServiceHandler after HIVE-27193
> --------------------------------------------------------------------
>
> Key: IMPALA-15233
> URL: https://issues.apache.org/jira/browse/IMPALA-15233
> Project: IMPALA
> Issue Type: Dependency upgrade
> Components: Frontend
> Reporter: Fang-Yu Rao
> Assignee: Fang-Yu Rao
> Priority: Major
>
> After the
> [fix|https://github.com/apache/hive/commit/8d63cafe8d0434d2fad0e6dfcb7c24744cef8d43]
> for https://issues.apache.org/jira/browse/HIVE-27193,
> {{MetaStoreUtils#parseDbName()}} no longer throws a {{MetaException}}.
> At
> https://github.com/apache/impala/blob/2115e49/fe/src/main/java/org/apache/impala/catalog/metastore/MetastoreServiceHandler.java#L3139
> and
> https://github.com/apache/impala/blob/2115e49/fe/src/main/java/org/apache/impala/catalog/metastore/MetastoreServiceHandler.java#L3253,
> we still expect {{MetaStoreUtils#parseDbName()}} could throw a
> {{MetaException}}. We should remove those 2 catch blocks after upgrading to a
> CDP_BUILD_NUMBER that includes HIVE-27193.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]