summaryrefslogtreecommitdiff
path: root/databases/hbase/files/patch-hbase-env.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-env.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.
Notes
Notes: svn path=/head/; revision=363251
Diffstat (limited to 'databases/hbase/files/patch-hbase-env.sh')
-rw-r--r--databases/hbase/files/patch-hbase-env.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/databases/hbase/files/patch-hbase-env.sh b/databases/hbase/files/patch-hbase-env.sh
new file mode 100644
index 000000000000..ad7406df819b
--- /dev/null
+++ b/databases/hbase/files/patch-hbase-env.sh
@@ -0,0 +1,29 @@
+--- conf/hbase-env.sh.bak 2014-07-15 05:23:39.000000000 +0400
++++ conf/hbase-env.sh 2014-07-28 23:05:05.000000000 +0400
+@@ -19,6 +19,8 @@
+ # * limitations under the License.
+ # */
+
++. %%ETCDIR%%/hbase-env-dist.sh
++
+ # Set environment variables here.
+
+ # This script sets variables multiple times over the course of starting an hbase process,
+@@ -26,7 +28,7 @@
+ # into the startup scripts (bin/hbase, etc.)
+
+ # The java implementation to use. Java 1.6 required.
+-# export JAVA_HOME=/usr/java/jdk1.6.0/
++# export JAVA_HOME=/usr/java/jdk1.6.0/ --> Defined in hbase-env-dist.sh
+
+ # Extra Java CLASSPATH elements. Optional.
+ # export HBASE_CLASSPATH=
+@@ -121,7 +123,7 @@
+ # export HBASE_SLAVE_SLEEP=0.1
+
+ # Tell HBase whether it should manage it's own instance of Zookeeper or not.
+-# export HBASE_MANAGES_ZK=true
++export HBASE_MANAGES_ZK=false
+
+ # The default log rolling policy is RFA, where the log file is rolled as per the size defined for the
+ # RFA appender. Please refer to the log4j.properties file to see more details on this appender.