Change error/success messages
This commit is contained in:
parent
fdbb74a7a4
commit
b0f39cb58a
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user