hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-11406) Remove unused getStartInstance and getFinalizeInstance in FSEditLogOp
Date Sat, 11 Feb 2017 00:41:42 GMT
Andrew Wang created HDFS-11406:
----------------------------------

             Summary: Remove unused getStartInstance and getFinalizeInstance in FSEditLogOp
                 Key: HDFS-11406
                 URL: https://issues.apache.org/jira/browse/HDFS-11406
             Project: Hadoop HDFS
          Issue Type: Improvement
    Affects Versions: 2.8.0
            Reporter: Andrew Wang
            Assignee: Andrew Wang
            Priority: Trivial


Looking at FSEditLogOp, these two methods are unused and can be removed:

{code}
    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);
    }
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message