Paste
Pasted as Bash by Geoff ( 14 years ago )
*** hbase-config.sh.original 2012-04-23 09:54:20.261510186 -0700
--- /usr/lib/hbase/bin/hbase-config.sh 2012-04-23 09:58:44.502709915 -0700
***************
*** 78,83 ****
--- 78,86 ----
# List of hbase secondary masters.
HBASE_BACKUP_MASTERS="${HBASE_BACKUP_MASTERS:-$HBASE_CONF_DIR/backup-masters}"
+ # TODO: GEOFF'S POOR MAN FIX
+ source /etc/default/hbase
+
# Source the hbase-env.sh. Will have JAVA_HOME defined.
if [ -f "${HBASE_CONF_DIR}/hbase-env.sh" ]; then
. "${HBASE_CONF_DIR}/hbase-env.sh"
Revise this Paste