You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Zbigniew Kostrzewa (JIRA)" <ji...@apache.org> on 2018/02/08 12:58:00 UTC
[jira] [Created] (HDFS-13124) hadoop-daemon.sh exits with 1 when
running HDFS balancer on balanced cluster
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}}:
{code:java}
sleep 3;
if ! ps -p $! > /dev/null ; then
exit 1
fi
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org