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: [email protected]
For additional commands, e-mail: [email protected]