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 bee71c07e65..1ea2b818b08 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 abstract class FSEditLogOp { 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;