git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@573074 13f79535-47bb-0310-9956-ffa450edef68
@@ -151,6 +151,9 @@ Trunk (unreleased changes)
HADOOP-1812. Let OS choose ports for IPC and RPC unit tests. (cutting)
+ HADOOP-1825. Create $HADOOP_PID_DIR when it does not exist.
+ (Michael Bieniosek via cutting)
+
Release 0.14.1 - 2007-09-04
@@ -81,6 +81,9 @@ case $startStop in
(start)
+ if [ ! -d "HADOOP_PID_DIR" ]; then
+ mkdir -p "$HADOOP_PID_DIR"
+ fi
if [ -f $pid ]; then
if kill -0 `cat $pid` > /dev/null 2>&1; then
echo $command running as process `cat $pid`. Stop it first.