Skip to content
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

The configuration of the hbaseRootdir at the role level is ignored #555

Open
siegfriedweber opened this issue Sep 4, 2024 · 0 comments
Open
Labels

Comments

@siegfriedweber
Copy link
Member

Affected Stackable version

24.7.0

Affected Apache HBase version

2.4.18, 2.6.0

Current and expected behavior

The configuration of the hbaseRootdir at the role level is ignored:

---
apiVersion: hbase.stackable.tech/v1alpha1
kind: HbaseCluster
spec:
  masters:
    config:
      hbaseRootdir: /test

The hbase-operator generates the following ConfigMap:

---
apiVersion: v1
kind: ConfigMap
data:
  hbase-site.xml: |-
    <?xml version="1.0"?>
    <configuration>
      <property>
        <name>hbase.rootdir</name>
        <value>/hbase</value>
      </property>
    </configuration>

The configuration at the role-group level works as expected:

---
apiVersion: hbase.stackable.tech/v1alpha1
kind: HbaseCluster
spec:
  masters:
    roleGroups:
      default:
        config:
          hbaseRootdir: /test

The hbase-operator generates the following ConfigMap:

---
apiVersion: v1
kind: ConfigMap
data:
  hbase-site.xml: |-
    <?xml version="1.0"?>
    <configuration>
      <property>
        <name>hbase.rootdir</name>
        <value>/test</value>
      </property>
    </configuration>

Other configuration properties could be affected as well.

Possible solution

No response

Additional context

No response

Environment

No response

Would you like to work on fixing this bug?

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant