dengzhhu653 commented on code in PR #3431:
URL: https://github.com/apache/hive/pull/3431#discussion_r925336876
##########
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:
Understood. the JDOException is a kind of RuntimeException, for this case,
maybe it's ok to throw it directly?
--
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]