Skip to content

Commit 1907ee0

Browse files
committed
removed wip deadwood II
1 parent 6b5d891 commit 1907ee0

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

hbase/stackable/bin/hbase-entrypoint.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ HBASE_ROLE_NAME="$1"
1616
HBASE_ROLE_SERVICE_NAME="$2"
1717
# 16010 for master, 16020 for regionservers etc.
1818
HBASE_ROLE_SERVICE_PORT="$3"
19-
# ui-http or ui-https
20-
HBASE_PORT_NAME="$4"
2119

2220
HBASE_ROLE_SERVICE_HOST="${HOSTNAME}.${HBASE_ROLE_SERVICE_NAME}"
2321

@@ -66,7 +64,6 @@ cp /stackable/tmp/hdfs/core-site.xml /stackable/conf
6664
cp /stackable/tmp/hbase/* /stackable/conf
6765
cp /stackable/tmp/log_config/log4j* /stackable/conf
6866

69-
# Kerberos
7067
if [ -f /stackable/kerberos/krb5.conf ]; then
7168
KERBEROS_REALM=$(grep -oP 'default_realm = \K.*' /stackable/kerberos/krb5.conf)
7269
export KERBEROS_REALM
@@ -75,12 +72,6 @@ if [ -f /stackable/kerberos/krb5.conf ]; then
7572
sed -i -e s/\$\{env\.KERBEROS_REALM\}/"${KERBEROS_REALM}"/g /stackable/conf/hdfs-site.xml
7673
fi
7774

78-
# Service endpoints
79-
HBASE_SERVICE_HOST=$(cat /stackable/listener/default-address/address)
80-
HBASE_SERVICE_PORT=$(cat /stackable/listener/default-address/ports/"${HBASE_PORT_NAME}")
81-
sed -i -e s/\$\{HBASE_SERVICE_HOST\}/"${HBASE_SERVICE_HOST}"/g /stackable/conf/hbase-site.xml
82-
sed -i -e s/\$\{HBASE_SERVICE_PORT\}/"${HBASE_SERVICE_PORT}"/g /stackable/conf/hbase-site.xml
83-
8475
rm -f "${STACKABLE_LOG_DIR}/_vector/shutdown"
8576
prepare_signal_handlers
8677
/stackable/containerdebug --output="${STACKABLE_LOG_DIR}/containerdebug-state.json" --loop &

0 commit comments

Comments
 (0)