From 32722d26610155aefeac1f83e2ffa6e0f35ce3e1 Mon Sep 17 00:00:00 2001 From: Igor Rudenko Date: Mon, 8 Apr 2019 18:10:59 +0300 Subject: [PATCH] YARN-9433. Remove unused constants in YARN resource manager Signed-off-by: Akira Ajisaka --- .../hadoop/yarn/server/resourcemanager/RMAuditLogger.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/RMAuditLogger.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/RMAuditLogger.java index b7fdc63498..b24cac91dc 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/RMAuditLogger.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/RMAuditLogger.java @@ -69,7 +69,6 @@ public static class AuditConstants { public static final String FINISH_FAILED_APP = "Application Finished - Failed"; public static final String FINISH_KILLED_APP = "Application Finished - Killed"; public static final String REGISTER_AM = "Register App Master"; - public static final String AM_ALLOCATE = "App Master Heartbeats"; public static final String UNREGISTER_AM = "Unregister App Master"; public static final String ALLOC_CONTAINER = "AM Allocated Container"; public static final String RELEASE_CONTAINER = "AM Released Container"; @@ -78,16 +77,12 @@ public static class AuditConstants { public static final String UPDATE_APP_TIMEOUTS = "Update Application Timeouts"; public static final String GET_APP_TIMEOUTS = "Get Application Timeouts"; - public static final String CHANGE_CONTAINER_RESOURCE = - "AM Changed Container Resource"; public static final String SIGNAL_CONTAINER = "Signal Container Request"; // Some commonly used descriptions public static final String UNAUTHORIZED_USER = "Unauthorized user"; // For Reservation system - public static final String CREATE_NEW_RESERVATION_REQUEST = "Create " + - "Reservation Request"; public static final String SUBMIT_RESERVATION_REQUEST = "Submit Reservation Request"; public static final String UPDATE_RESERVATION_REQUEST = "Update Reservation Request"; public static final String DELETE_RESERVATION_REQUEST = "Delete Reservation Request";