-
-
Notifications
You must be signed in to change notification settings - Fork 7
feat: HBase resolvable endpoints #1159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
hbase/stackable/patches/2.6.1/0005-Allow-overriding-ipc-bind-port-and-use-alternative-p.patch
Outdated
Show resolved
Hide resolved
hbase/stackable/patches/2.6.1/0005-Allow-overriding-ipc-bind-port-and-use-alternative-p.patch
Outdated
Show resolved
Hide resolved
hbase/stackable/patches/2.6.1/0005-Allow-overriding-ipc-bind-port-and-use-alternative-p.patch
Outdated
Show resolved
Hide resolved
hbase/stackable/patches/2.6.1/0005-Allow-overriding-ipc-bind-port-and-use-alternative-p.patch
Outdated
Show resolved
Hide resolved
hbase/stackable/patches/2.6.1/0005-Allow-overriding-ipc-bind-port-and-use-alternative-p.patch
Outdated
Show resolved
Hide resolved
hbase/stackable/patches/2.6.1/0005-Allow-overriding-ipc-bind-port-and-use-alternative-p.patch
Outdated
Show resolved
Hide resolved
hbase/stackable/patches/2.6.1/0005-Allow-overriding-ipc-bind-port-and-use-alternative-p.patch
Outdated
Show resolved
Hide resolved
hbase/stackable/patches/2.6.1/0005-Allow-overriding-ipc-bind-port-and-use-alternative-p.patch
Outdated
Show resolved
Hide resolved
hbase/stackable/patches/2.6.1/0005-Allow-overriding-ipc-bind-port-and-use-alternative-p.patch
Outdated
Show resolved
Hide resolved
…ort-and-use-alternative-p.patch Co-authored-by: Natalie Klestrup Röijezon <nat@nullable.se>
…ort-and-use-alternative-p.patch Co-authored-by: Natalie Klestrup Röijezon <nat@nullable.se>
hbase/stackable/patches/2.6.1/0005-Allow-overriding-ipc-bind-port-and-use-alternative-p.patch
Outdated
Show resolved
Hide resolved
hbase/stackable/patches/2.6.1/0005-Allow-overriding-ipc-bind-port-and-use-alternative-p.patch
Outdated
Show resolved
Hide resolved
hbase/stackable/patches/2.6.1/0005-Allow-overriding-ipc-bind-port-and-use-alternative-p.patch
Outdated
Show resolved
Hide resolved
hbase/stackable/patches/2.6.1/0005-Allow-overriding-ipc-bind-port-and-use-alternative-p.patch
Outdated
Show resolved
Hide resolved
hbase/stackable/patches/2.6.1/0005-Allow-overriding-ipc-bind-port-and-use-alternative-p.patch
Outdated
Show resolved
Hide resolved
hbase/stackable/patches/2.6.1/0005-Allow-overriding-ipc-bind-port-and-use-alternative-p.patch
Outdated
Show resolved
Hide resolved
hbase/stackable/patches/2.6.1/0005-Allow-overriding-ipc-bind-port-and-use-alternative-p.patch
Outdated
Show resolved
Hide resolved
hbase/stackable/patches/2.6.1/0005-Allow-overriding-ipc-bind-port-and-use-alternative-p.patch
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor notes, but we're definitely closing in.
If you want to rush it in, we could probably merge 0005 as is, and split 0006 into a separate PR (though that will definitely require coordinating with the operator PR too..).
hbase/hbase/stackable/patches/2.6.1/0006-Update-property-usage-for-bound-ports.patch
Outdated
Show resolved
Hide resolved
hbase/hbase/stackable/patches/2.6.1/0006-Update-property-usage-for-bound-ports.patch
Outdated
Show resolved
Hide resolved
hbase/hbase/stackable/patches/2.6.1/0006-Update-property-usage-for-bound-ports.patch
Outdated
Show resolved
Hide resolved
hbase/hbase/stackable/patches/2.6.1/0006-Update-property-usage-for-bound-ports.patch
Show resolved
Hide resolved
hbase/hbase/stackable/patches/2.6.1/0006-Update-property-usage-for-bound-ports.patch
Show resolved
Hide resolved
hbase/hbase/stackable/patches/2.6.1/0006-Update-property-usage-for-bound-ports.patch
Show resolved
Hide resolved
sed -i -e s/\$\{HBASE_SERVICE_HOST\}/"${HBASE_SERVICE_HOST}"/g /stackable/conf/hbase-site.xml | ||
sed -i -e s/\$\{HBASE_SERVICE_PORT\}/"${HBASE_SERVICE_PORT}"/g /stackable/conf/hbase-site.xml | ||
sed -i -e s/\$\{HBASE_LISTENER_ENDPOINT\}/"${HBASE_LISTENER_ENDPOINT}"/g /stackable/conf/hbase-site.xml | ||
sed -i -e s/\$\{HBASE_INFO_PORT\}/"${HBASE_INFO_PORT}"/g /stackable/conf/hbase-site.xml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason for this to not be using https://github.com/stackabletech/config-utils instead of sed? AFAIU we already pull it in via stackable-base.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've not used config-utils before: not sure how to template the file without first declaring the env-vars. I'll have a look.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, forget that last comment, we already have the env-vars in the context of entrypoint.sh. I'll try it out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will defer this to #1191
Description
fixes: stackabletech/hbase-operator#641
Warning
Merge this at the same time as stackabletech/hbase-operator#639, otherwise tests will break!
Definition of Done Checklist
Note
Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant.
Please make sure all these things are done and tick the boxes
TIP: Running integration tests with a new product image
The image can be built and uploaded to the kind cluster with the following commands:
See the output of
bake
to retrieve the image tag for<image-tagged-with-the-major-version>
.