Harshakiran Reddy created HDFS-13892:
----------------------------------------
Summary: Disk Balancer : Invalid exit code for disk balancer
execute command
Key: HDFS-13892
URL: https://issues.apache.org/jira/browse/HDFS-13892
Project: Hadoop HDFS
Issue Type: Bug
Components: diskbalancer
Reporter: Harshakiran Reddy
{{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
{noformat}
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.
{noformat}
5. see the exit code for execute command, it display the 0
{{Expected Result :-}}
1. Exit code should be 1 why means execute command 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]