diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSEditLogOp.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSEditLogOp.java index 6293557630..f93e867f8c 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSEditLogOp.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSEditLogOp.java @@ -4351,14 +4351,6 @@ public RollingUpgradeOp(FSEditLogOpCodes code, String name) { this.name = StringUtils.toUpperCase(name); } - static RollingUpgradeOp getStartInstance(OpInstanceCache cache) { - return (RollingUpgradeOp) cache.get(OP_ROLLING_UPGRADE_START); - } - - static RollingUpgradeOp getFinalizeInstance(OpInstanceCache cache) { - return (RollingUpgradeOp) cache.get(OP_ROLLING_UPGRADE_FINALIZE); - } - @Override void resetSubFields() { time = 0L;