abstractdog commented on code in PR #4683:
URL: https://github.com/apache/hive/pull/4683#discussion_r1322657698
##########
ql/src/java/org/apache/hadoop/hive/ql/exec/tez/YarnQueueHelper.java:
##########
@@ -103,6 +103,7 @@ public void checkQueueAccess(
});
} catch (Exception exception) {
LOG.error("Cannot check queue access against UGI: " + ugi, exception);
+ throw exception;
Review Comment:
1. what's the point of catching and throwing further? you catch everything,
and throw them further but only specifying IOException and InterruptedException
in the method ?
2. please clarify with a code comment what exactly throwing IOException /
InterruptedException means and what is the client of this method supposed to do
with them!
--
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]