From 8ef7ebbc7112e1868c9b12ff1df4a40fe7afa8af Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Tue, 21 Feb 2017 14:54:20 -0800 Subject: [PATCH] HDFS-11406. Remove unused getStartInstance and getFinalizeInstance in FSEditLogOp. Contributed by Alison Yu. --- .../apache/hadoop/hdfs/server/namenode/FSEditLogOp.java | 8 -------- 1 file changed, 8 deletions(-) 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;