dengzhhu653 commented on code in PR #3431:
URL: https://github.com/apache/hive/pull/3431#discussion_r922965659
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java:
##########
@@ -7791,7 +7791,7 @@ public List<String> get_role_names() throws TException {
ret = getMS().listRoleNames();
return ret;
} catch (Exception e) {
- throw
handleException(e).throwIfInstance(MetaException.class).defaultRuntimeException();
Review Comment:
I'm afraid that convert other exceptions to TException would not retry in
case of JDOException, etc.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]