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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • 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.002.patch
          1 kB
          Xiaobing Zhou
        2. HDFS-9790.001.patch
          1 kB
          Xiaobing Zhou

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: