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

Balancer fails to balance blocks between aboveAvgUtilized and belowAvgUtilized datanodes.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 0.23.0
    • None
    • balancer & mover
    • None

    Description

      Scaenario:
      replication set to 1.
      1. Start 1NN and IDN
      2. pump 1GB of data.
      3. Start one more DN
      4. Run balancer with threshold 1.

      Now DN1 is added into aboveAvgUtilizedDatanodes and DN2 into belowAvgUtilizedDatanodes. Hence overLoadedBytes and underLoadedBytes will be equal to 0. Resulting in bytesLeftToMove equal to 0. Thus balancer will exit without balancing the blocks.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ashish singhi Ashish Singhi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: