|
@@ -873,7 +873,7 @@ public class RMWebServices extends WebServices {
|
|
|
try {
|
|
|
app = getRMAppForAppId(appId);
|
|
|
} catch (NotFoundException e) {
|
|
|
- RMAuditLogger.logFailure(userName, AuditConstants.KILL_APP_REQUEST,
|
|
|
+ RMAuditLogger.logFailure(userName, AuditConstants.GET_APP_STATE,
|
|
|
"UNKNOWN", "RMWebService",
|
|
|
"Trying to get state of an absent application " + appId);
|
|
|
throw e;
|
|
@@ -1213,9 +1213,9 @@ public class RMWebServices extends WebServices {
|
|
|
try {
|
|
|
app = getRMAppForAppId(appId);
|
|
|
} catch (NotFoundException e) {
|
|
|
- RMAuditLogger.logFailure(userName, AuditConstants.KILL_APP_REQUEST,
|
|
|
+ RMAuditLogger.logFailure(userName, AuditConstants.GET_APP_PRIORITY,
|
|
|
"UNKNOWN", "RMWebService",
|
|
|
- "Trying to get state of an absent application " + appId);
|
|
|
+ "Trying to get priority of an absent application " + appId);
|
|
|
throw e;
|
|
|
}
|
|
|
|
|
@@ -1256,9 +1256,9 @@ public class RMWebServices extends WebServices {
|
|
|
try {
|
|
|
app = getRMAppForAppId(appId);
|
|
|
} catch (NotFoundException e) {
|
|
|
- RMAuditLogger.logFailure(userName, AuditConstants.KILL_APP_REQUEST,
|
|
|
+ RMAuditLogger.logFailure(userName, AuditConstants.UPDATE_APP_PRIORITY,
|
|
|
"UNKNOWN", "RMWebService",
|
|
|
- "Trying to move an absent application " + appId);
|
|
|
+ "Trying to update priority an absent application " + appId);
|
|
|
throw e;
|
|
|
}
|
|
|
Priority priority = app.getApplicationSubmissionContext().getPriority();
|
|
@@ -1327,9 +1327,9 @@ public class RMWebServices extends WebServices {
|
|
|
try {
|
|
|
app = getRMAppForAppId(appId);
|
|
|
} catch (NotFoundException e) {
|
|
|
- RMAuditLogger.logFailure(userName, AuditConstants.KILL_APP_REQUEST,
|
|
|
+ RMAuditLogger.logFailure(userName, AuditConstants.GET_APP_QUEUE,
|
|
|
"UNKNOWN", "RMWebService",
|
|
|
- "Trying to get state of an absent application " + appId);
|
|
|
+ "Trying to get queue of an absent application " + appId);
|
|
|
throw e;
|
|
|
}
|
|
|
|
|
@@ -1365,7 +1365,7 @@ public class RMWebServices extends WebServices {
|
|
|
try {
|
|
|
app = getRMAppForAppId(appId);
|
|
|
} catch (NotFoundException e) {
|
|
|
- RMAuditLogger.logFailure(userName, AuditConstants.KILL_APP_REQUEST,
|
|
|
+ RMAuditLogger.logFailure(userName, AuditConstants.MOVE_APP_REQUEST,
|
|
|
"UNKNOWN", "RMWebService", "Trying to move an absent application "
|
|
|
+ appId);
|
|
|
throw e;
|