HDFS-11406. Remove unused getStartInstance and getFinalizeInstance in 
FSEditLogOp. Contributed by Alison Yu.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/8ef7ebbc
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/8ef7ebbc
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/8ef7ebbc

Branch: refs/heads/HADOOP-13345
Commit: 8ef7ebbc7112e1868c9b12ff1df4a40fe7afa8af
Parents: fc9ad3c
Author: Andrew Wang <w...@apache.org>
Authored: Tue Feb 21 14:54:20 2017 -0800
Committer: Andrew Wang <w...@apache.org>
Committed: Tue Feb 21 14:54:20 2017 -0800

----------------------------------------------------------------------
 .../org/apache/hadoop/hdfs/server/namenode/FSEditLogOp.java  | 8 --------
 1 file changed, 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/8ef7ebbc/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSEditLogOp.java
----------------------------------------------------------------------
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 6293557..f93e867 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;


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to