Zbigniew Kostrzewa created HDFS-13124:

             Summary: hadoop-daemon.sh exits with 1 when running HDFS balancer 
on balanced cluster
                 Key: HDFS-13124
                 URL: https://issues.apache.org/jira/browse/HDFS-13124
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: balancer & mover, scripts
    Affects Versions: 2.7.4
            Reporter: Zbigniew Kostrzewa

When running HDFS balancer via {{sbin/start-balancer.sh}} script on a balanced 
cluster the script exits with 1 though the CLI behind it (i.e. {{hdfs 
balancer}}) exits with 0. This is probably caused by following piece of code 
found in {{hadoop-daemon.sh}}:
sleep 3;
if ! ps -p $! > /dev/null ; then
  exit 1

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to