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

Fix log message when choosing storage groups for block movement in balancer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • balancer & mover
    • None

    Description

      Correct the log message in line with the logic associated with
      moving blocks in chooseStorageGroups() in the balancer. All log lines should indicate from which storage source the blocks are being moved correctly to avoid ambiguity. Right now one of the log lines is incorrect: https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer/Balancer.java#L555 which indicates that storage blocks are moved from underUtilized to aboveAvgUtilized nodes, while it is actually the other way around in the code.

      Attachments

        1. HADOOP-16195.001.patch
          2 kB
          Preeti
        2. HADOOP-16195.002.patch
          2 kB
          Preeti
        3. HADOOP-16195.003.patch
          2 kB
          Preeti
        4. hadoop-format.xml
          30 kB
          Renukaprasad C

        Activity

          People

            preetium Preeti
            preetium Preeti
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: