Change error/success messages

This commit is contained in:
Bruce Szudera Wienand 2020-09-05 09:01:23 -07:00
parent fdbb74a7a4
commit b0f39cb58a

View File

@ -346,11 +346,11 @@ private int refreshQueues() throws IOException, YarnException {
try { try {
adminProtocol.refreshQueues(request); adminProtocol.refreshQueues(request);
} catch (Exception e) { } catch (Exception e) {
System.out.println("Unable to issue queue refresh due to exception: " System.out.println("Unable to refresh queue due to exception: "
+ e.toString()); + e.toString());
throw e; throw e;
} }
System.out.println("Queue refresh issued successfully."); System.out.println("Queue was refreshed successfully.");
return 0; return 0;
} }