summaryrefslogtreecommitdiff
path: root/databases/hbase/files/patch-hbase-daemon.sh
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2014-07-28 20:40:49 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2014-07-28 20:40:49 +0000
commitfa41c5db88fe18f90bd88102d5087e74cf7c810c (patch)
treed1afa138c944d908e7bfe1b9a156a638a00b6f65 /databases/hbase/files/patch-hbase-daemon.sh
parentdeskutils/fet: upgrade version 5.23.0 => 5.23.1 (diff)
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.
Diffstat (limited to 'databases/hbase/files/patch-hbase-daemon.sh')
-rw-r--r--databases/hbase/files/patch-hbase-daemon.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/databases/hbase/files/patch-hbase-daemon.sh b/databases/hbase/files/patch-hbase-daemon.sh
new file mode 100644
index 000000000000..94364f002b33
--- /dev/null
+++ b/databases/hbase/files/patch-hbase-daemon.sh
@@ -0,0 +1,18 @@
+--- 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