Skip to content

Commit a60fef6

Browse files
committed
Dockerfile.entrypoint
1 parent f70555e commit a60fef6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

hbase/Dockerfile.entrypoint

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM docker.stackable.tech/stackable/hbase:2.6.0-stackable0.0.0-dev
2+
3+
COPY --chown=1000:0 --chmod=755 hbase/stackable/bin/hbase-entrypoint.sh /stackable/hbase-2.6.0/bin/hbase-entrypoint.sh

hbase/stackable/bin/hbase-entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@
55
set -x
66
set -euo pipefail
77

8+
# master, regionserver, rest
89
HBASE_ROLE_NAME="$1"
10+
# k8s service name for this role+group combo
911
HBASE_ROLE_SERVICE_NAME="$2"
12+
# 16010 for master, 16020 for regionservers etc.
1013
HBASE_ROLE_SERVICE_PORT="$3"
1114

1215
# TODO: remove hard coded svc.cluster.local

0 commit comments

Comments
 (0)