YARN-11089. Fix typo in RM audit log. Contributed by Junfan Zhang.

This commit is contained in:
Szilard Nemeth 2022-03-21 14:18:27 +01:00
parent e5549a2a68
commit 4537b34e1c

View File

@ -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: