Merged revision(s) 1610964 from hadoop/common/trunk:
HADOOP-9921. daemon scripts should remove pid file on stop call after stop or process is found not running ( Contributed by Vinayakumar B) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1610965 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fa2c9e82cb
commit
9ff82dc855
|
@ -37,6 +37,9 @@ Release 2.6.0 - UNRELEASED
|
||||||
|
|
||||||
HADOOP-10810. Clean up native code compilation warnings. (cnauroth)
|
HADOOP-10810. Clean up native code compilation warnings. (cnauroth)
|
||||||
|
|
||||||
|
HADOOP-9921. daemon scripts should remove pid file on stop call after stop
|
||||||
|
or process is found not running ( vinayakumarb )
|
||||||
|
|
||||||
Release 2.5.0 - UNRELEASED
|
Release 2.5.0 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -198,6 +198,7 @@ case $startStop in
|
||||||
else
|
else
|
||||||
echo no $command to stop
|
echo no $command to stop
|
||||||
fi
|
fi
|
||||||
|
rm -f $pid
|
||||||
else
|
else
|
||||||
echo no $command to stop
|
echo no $command to stop
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -133,6 +133,7 @@ case $startStop in
|
||||||
else
|
else
|
||||||
echo no $command to stop
|
echo no $command to stop
|
||||||
fi
|
fi
|
||||||
|
rm -f $pid
|
||||||
else
|
else
|
||||||
echo no $command to stop
|
echo no $command to stop
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -145,6 +145,7 @@ case $startStop in
|
||||||
else
|
else
|
||||||
echo no $command to stop
|
echo no $command to stop
|
||||||
fi
|
fi
|
||||||
|
rm -f $pid
|
||||||
else
|
else
|
||||||
echo no $command to stop
|
echo no $command to stop
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue