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

Disk Balancer : Make execute command documentation better.

    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed

      Description

      scenario:-

      1. Write some 5GB data with one DISK
      2. Add one more non-empty Disk to above Datanode
      3.Run the plan command for the above specific datanode
      4. run the Execute command with the above plan file
      the above execute command not happened as per the datanode log

      ERROR org.apache.hadoop.hdfs.server.datanode.DiskBalancer: Destination volume: file:/Test_Disk/DISK2/ does not have enough space to accommodate a block. Block Size: 268435456 Exiting from copyBlocks.
      

      5. see the exit code for execute command, it display the 0

      Expected Result :-

      1. Exit code should be 1 why means execution was not happened
      2. In this type of scenario In console print the that error message that time customer/user knows execute was not happened.

        Attachments

        1. HDFS-13892.patch
          3 kB
          Ranith Sardar
        2. HDFS-13892-002.patch
          0.9 kB
          Ranith Sardar

          Activity

            People

            • Assignee:
              RANith Ranith Sardar
              Reporter:
              Harsha1206 Harshakiran Reddy
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: