brucesw commented on a change in pull request #2239:
URL: https://github.com/apache/hadoop/pull/2239#discussion_r483963689
##########
File path:
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/cli/RMAdminCLI.java
##########
@@ -343,7 +343,14 @@ private int refreshQueues() throws IOException,
YarnException {
ResourceManagerAdministrationProtocol adminProtocol =
createAdminProtocol();
RefreshQueuesRequest request =
recordFactory.newRecordInstance(RefreshQueuesRequest.class);
- adminProtocol.refreshQueues(request);
+ try {
+ adminProtocol.refreshQueues(request);
+ } catch (Exception e) {
+ System.out.println("Unable to issue queue refresh due to exception: "
Review comment:
Many thanks for the review
Messages have been changed accordingly
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]