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

Remove unused getStartInstance and getFinalizeInstance in FSEditLogOp

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.8.0
    • 2.9.0, 3.0.0-alpha4
    • None
    • 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

        1. HDFS-11406.001.patch
          1.0 kB
          Alison Yu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: