Skip to content

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

@siegfriedweber

Description

@siegfriedweber

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

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions