ports/databases/hbase/files/patch-hbase-daemon.sh
Dmitry Sivachenko fa41c5db88 New port: apache hbase:
Apache HBase is an open-source, distributed, versioned, non-relational database
modeled after Google's Bigtable: A Distributed Storage System for Structured
Data by Chang et al.  Just as Bigtable leverages the distributed data storage
provided by the Google File System, Apache HBase provides Bigtable-like
capabilities on top of Hadoop and HDFS.
2014-07-28 20:40:49 +00:00

18 lines
579 B
Bash

--- bin/hbase-daemon.sh.orig 2014-07-14 09:50:03.000000000 +0400
+++ bin/hbase-daemon.sh 2014-07-23 18:49:15.000000000 +0400
@@ -89,7 +89,6 @@
check_before_start(){
#ckeck if the process is not running
- 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.
@@ -120,7 +119,6 @@
if [ "$HBASE_LOG_DIR" = "" ]; then
export HBASE_LOG_DIR="$HBASE_HOME/logs"
fi
-mkdir -p "$HBASE_LOG_DIR"
if [ "$HBASE_PID_DIR" = "" ]; then
HBASE_PID_DIR=/tmp