Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1597

Distributed upgrade status reporting and post upgrade features.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.14.0
    • 0.14.0
    • None
    • None

    Description

      This patch introduces 2 additional features to the distributed upgrade framework,
      which turned out to be useful for the crc upgrade HADOOP-1134.
      1. I introduce a DFSAdmin command
      -upgradeProgress status | details | force
      which retrieves current upgrade status, or its detailed status, or forces the upgrade to proceed if it is stuck.
      2. If a data-node misses an upgrade it can still join the cluster if the respective upgrade object implements
      postUpgradeAction() method.

      The framework provides a default implementation of the features.
      For (1) any upgrade object returns by default a generic UpgradeStatusReport class, which contains
      only the version and the current status of the upgrade.
      An attempt to force the upgrade will have no effect except that the name-node will log "forceProceed() is not defined"
      For (2) the default implementation leads to a data-node shutdown, which is consistent with the former behavior.

      Attachments

        1. DistUpgradeStatus3.patch
          27 kB
          Konstantin Shvachko
        2. DistUpgradeStatus.patch
          23 kB
          Konstantin Shvachko

        Issue Links

          Activity

            People

              shv Konstantin Shvachko
              shv Konstantin Shvachko
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: