Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-11406

Remove unused getStartInstance and getFinalizeInstance in FSEditLogOp

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.9.0, 3.0.0-alpha4
    • Component/s: None
    • Labels:
      None

      Description

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

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

        Attachments

          Activity

            People

            • Assignee:
              alisonyu Alison Yu
              Reporter:
              andrew.wang Andrew Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: