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

HDFS Balancer should exit with a proper message if upgrade is not finalized

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      PROBLEM: Currently if the upgrade is not finalized the balancer just exits as it cannot move any blocks as no deletes can go through the datanodes before a finalize. This is not clear to users.

      EXPECTED BEHAVIOR:
      Balancer should exit saying something like "Balancer exiting as upgrade is not finalized. Please finalize the hdfs upgrade before running the balancer"

        Attachments

        1. HDFS-9790.001.patch
          1 kB
          Xiaobing Zhou
        2. HDFS-9790.002.patch
          1 kB
          Xiaobing Zhou

          Activity

            People

            • Assignee:
              xiaobingo Xiaobing Zhou
              Reporter:
              xiaobingo Xiaobing Zhou
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: