YARN-11089. Fix typo in RM audit log. Contributed by Junfan Zhang.
This commit is contained in:
parent
e5549a2a68
commit
4537b34e1c
@ -294,7 +294,7 @@ protected synchronized void finishApplication(ApplicationId applicationId) {
|
|||||||
|
|
||||||
protected void writeAuditLog(ApplicationId appId) {
|
protected void writeAuditLog(ApplicationId appId) {
|
||||||
RMApp app = rmContext.getRMApps().get(appId);
|
RMApp app = rmContext.getRMApps().get(appId);
|
||||||
String operation = "UNKONWN";
|
String operation = "UNKNOWN";
|
||||||
boolean success = false;
|
boolean success = false;
|
||||||
switch (app.getState()) {
|
switch (app.getState()) {
|
||||||
case FAILED:
|
case FAILED:
|
||||||
|
Loading…
Reference in New Issue
Block a user