diff --git a/bin/hbase b/bin/hbase index eccdc751534..bac645f4a59 100755 --- a/bin/hbase +++ b/bin/hbase @@ -183,7 +183,6 @@ HBASE_OPTS="$HBASE_OPTS -Dhbase.log.file=$HBASE_LOGFILE" HBASE_OPTS="$HBASE_OPTS -Dhbase.home.dir=$HBASE_HOME" HBASE_OPTS="$HBASE_OPTS -Dhbase.id.str=$HBASE_IDENT_STRING" HBASE_OPTS="$HBASE_OPTS -Dhbase.root.logger=${HBASE_ROOT_LOGGER:-INFO,console}" -HBASE_OPTS="$HBASE_OPTS -Dhbase.home.dir=$HBASE_HOME" if [ "x$JAVA_LIBRARY_PATH" != "x" ]; then HBASE_OPTS="$HBASE_OPTS -Djava.library.path=$JAVA_LIBRARY_PATH" fi diff --git a/bin/hbase-daemon.sh b/bin/hbase-daemon.sh index ceba66bb3bd..c9b1c7dc63f 100755 --- a/bin/hbase-daemon.sh +++ b/bin/hbase-daemon.sh @@ -103,6 +103,7 @@ fi case $startStop in (start) + mkdir -p "$HBASE_PID_DIR" if [ -f $pid ]; then if kill -0 `cat $pid` > /dev/null 2>&1; then echo $command running as process `cat $pid`. Stop it first.