hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r618800 - in /hadoop/hbase/trunk/bin: hbase hbase-daemon.sh
Date Tue, 05 Feb 2008 22:24:14 GMT
Author: stack
Date: Tue Feb  5 14:24:11 2008
New Revision: 618800

URL: http://svn.apache.org/viewvc?rev=618800&view=rev
Log:
HADOOP-403 Fix build after move of hbase in svn
Create pid dir if it doesn't exist already.

Modified:
    hadoop/hbase/trunk/bin/hbase
    hadoop/hbase/trunk/bin/hbase-daemon.sh

Modified: hadoop/hbase/trunk/bin/hbase
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/bin/hbase?rev=618800&r1=618799&r2=618800&view=diff
==============================================================================
--- hadoop/hbase/trunk/bin/hbase (original)
+++ hadoop/hbase/trunk/bin/hbase Tue Feb  5 14:24:11 2008
@@ -183,7 +183,6 @@
 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  

Modified: hadoop/hbase/trunk/bin/hbase-daemon.sh
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/bin/hbase-daemon.sh?rev=618800&r1=618799&r2=618800&view=diff
==============================================================================
--- hadoop/hbase/trunk/bin/hbase-daemon.sh (original)
+++ hadoop/hbase/trunk/bin/hbase-daemon.sh Tue Feb  5 14:24:11 2008
@@ -103,6 +103,7 @@
 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.



Mime
View raw message