stackabletech / hbase-operator

Kubernetes Operator for Apache HBase built by Stackable for the Stackable Data Platform
https://stackable.tech
Other
14 stars 4 forks source link

Remove sed calls to replace KERBEROS_REALM as they are not needed any more when HBase is built against Hadoop 3 #531

Closed soenkeliebau closed 2 months ago

soenkeliebau commented 2 months ago

Description

In the past we built HBase against Hadoop 2.x, in which the Configuration object did not yet support the syntax for using environment variables in config files: ${env.VARNAME}

To work around this we added sed calls to do the replacement in the config files during container startup.

Since we now build HBase with Hadoop 3.x this functionality is now supported by HBase and we don't need these calls to sed anymore, as the placeholders will be replaced by HBase at runtime.

This PR removes the now unneeded calls.

Definition of Done Checklist

# Author
- [x] Helm chart can be installed and deployed operator works
- [x] Integration tests passed (for non trivial changes)
# Reviewer
- [x] Code contains useful comments
- [x] Changelog updated
# Acceptance
- [x] Feature Tracker has been updated
- [x] Proper release label has been added