HDFS-11406. Remove unused getStartInstance and getFinalizeInstance in FSEditLogOp. Contributed by Alison Yu.
(cherry picked from commit 8ef7ebbc71
)
This commit is contained in:
parent
6843659689
commit
4428c3da69
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue