Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- Use `--file-log-max-files` (or `FILE_LOG_MAX_FILES`) to limit the number of log files kept.
- Use `--file-log-rotation-period` (or `FILE_LOG_ROTATION_PERIOD`) to configure the frequency of rotation.
- Use `--console-log-format` (or `CONSOLE_LOG_FORMAT`) to set the format to `plain` (default) or `json`.
- Added support for HBase 2.6.2 ([#659]):

### Changed

Expand Down Expand Up @@ -44,6 +45,7 @@
[#654]: https://github.com/stackabletech/hbase-operator/pull/654
[#655]: https://github.com/stackabletech/hbase-operator/pull/655
[#657]: https://github.com/stackabletech/hbase-operator/pull/657
[#659]: https://github.com/stackabletech/hbase-operator/pull/659
[#660]: https://github.com/stackabletech/hbase-operator/pull/660
[#661]: https://github.com/stackabletech/hbase-operator/pull/661

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ version() {
echo "Check cluster version..."
cluster_version=$(version | jq -r '.Version')

if [ "$cluster_version" == "2.6.1" ]; then
if [ "$cluster_version" == "2.6.2" ]; then
echo "Cluster version: $cluster_version"
else
echo "Unexpected version: $cluster_version"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ version() {
echo "Check cluster version..."
cluster_version=$(version | jq -r '.Version')

if [ "$cluster_version" == "2.6.1" ]; then
if [ "$cluster_version" == "2.6.2" ]; then
echo "Cluster version: $cluster_version"
else
echo "Unexpected version: $cluster_version"
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/hbase/examples/getting_started/hbase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: simple-hbase
spec:
image:
productVersion: 2.6.1
productVersion: 2.6.2
clusterConfig:
hdfsConfigMapName: simple-hdfs
zookeeperConfigMapName: simple-hbase-znode
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/hbase/examples/getting_started/hbase.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: simple-hbase
spec:
image:
productVersion: 2.6.1
productVersion: 2.6.2
clusterConfig:
hdfsConfigMapName: simple-hdfs
zookeeperConfigMapName: simple-hbase-znode
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/hbase/examples/usage-guide/hbck2-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
spec:
containers:
- name: hbck2
image: oci.stackable.tech/sdp/hbase:2.6.1-stackable0.0.0-dev
image: oci.stackable.tech/sdp/hbase:2.6.2-stackable0.0.0-dev
volumeMounts:
- name: hbase-config
mountPath: /stackable/conf
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/hbase/examples/usage-guide/hbck2-job.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
spec:
containers:
- name: hbck2
image: oci.stackable.tech/sdp/hbase:2.6.1-stackable{{ versions.hbase }}
image: oci.stackable.tech/sdp/hbase:2.6.2-stackable{{ versions.hbase }}
volumeMounts:
- name: hbase-config
mountPath: /stackable/conf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
spec:
containers:
- name: hbase
image: oci.stackable.tech/sdp/hbase:2.6.1-stackable0.0.0-dev
image: oci.stackable.tech/sdp/hbase:2.6.2-stackable0.0.0-dev
volumeMounts:
- name: hbase-config
mountPath: /stackable/conf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spec:
spec:
containers:
- name: hbase
image: oci.stackable.tech/sdp/hbase:2.6.1-stackable{{ versions.hbase }}
image: oci.stackable.tech/sdp/hbase:2.6.2-stackable{{ versions.hbase }}
volumeMounts:
- name: hbase-config
mountPath: /stackable/conf
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/hbase/pages/getting_started/first_steps.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ include::example$getting_started/getting_started.sh[tag=cluster-version]
This returns the version that was specified in the HBase cluster definition:

[source,json]
{"Version":"2.6.1"}
{"Version":"2.6.2"}

The cluster status can be checked and formatted like this:

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/hbase/partials/supported-versions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
// Stackable Platform documentation.

- 2.6.1 (LTS)
- 2.4.18 (Deprecated)
- 2.6.2
4 changes: 2 additions & 2 deletions rust/operator-binary/src/config/jvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ mod tests {
name: simple-hbase
spec:
image:
productVersion: 2.6.1
productVersion: 2.6.2
clusterConfig:
hdfsConfigMapName: simple-hdfs
zookeeperConfigMapName: simple-znode
Expand Down Expand Up @@ -198,7 +198,7 @@ mod tests {
name: simple-hbase
spec:
image:
productVersion: 2.6.1
productVersion: 2.6.2
clusterConfig:
hdfsConfigMapName: simple-hdfs
zookeeperConfigMapName: simple-znode
Expand Down
2 changes: 1 addition & 1 deletion rust/operator-binary/src/crd/affinity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ mod tests {
name: simple-hbase
spec:
image:
productVersion: 2.6.1
productVersion: 2.6.2
clusterConfig:
hdfsConfigMapName: simple-hdfs
zookeeperConfigMapName: simple-znode
Expand Down
6 changes: 3 additions & 3 deletions rust/operator-binary/src/crd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,7 @@ metadata:
name: test-hbase
spec:
image:
productVersion: 2.6.1
productVersion: 2.6.2
clusterConfig:
hdfsConfigMapName: test-hdfs
zookeeperConfigMapName: test-znode
Expand Down Expand Up @@ -1312,7 +1312,7 @@ spec:
)]);

let validated_config = validate_all_roles_and_groups_config(
"2.6.1",
"2.6.2",
&transform_all_roles_to_config(&hbase, roles).unwrap(),
&ProductConfigManager::from_yaml_file("../../deploy/config-spec/properties.yaml")
.unwrap(),
Expand Down Expand Up @@ -1365,7 +1365,7 @@ metadata:
name: test-hbase
spec:
image:
productVersion: 2.6.1
productVersion: 2.6.2
clusterConfig:
hdfsConfigMapName: test-hdfs
zookeeperConfigMapName: test-znode
Expand Down
6 changes: 3 additions & 3 deletions rust/operator-binary/src/hbase_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1191,9 +1191,9 @@ mod test {
#[case("2.6.1", HbaseRole::Master, vec!["master", "ui-http"])]
#[case("2.6.1", HbaseRole::RegionServer, vec!["regionserver", "ui-http"])]
#[case("2.6.1", HbaseRole::RestServer, vec!["rest-http", "ui-http"])]
#[case("2.4.14", HbaseRole::Master, vec!["master", "ui-http", "metrics"])]
#[case("2.4.14", HbaseRole::RegionServer, vec!["regionserver", "ui-http", "metrics"])]
#[case("2.4.14", HbaseRole::RestServer, vec!["rest-http", "ui-http", "metrics"])]
#[case("2.6.2", HbaseRole::Master, vec!["master", "ui-http"])]
#[case("2.6.2", HbaseRole::RegionServer, vec!["regionserver", "ui-http"])]
#[case("2.6.2", HbaseRole::RestServer, vec!["rest-http", "ui-http"])]
fn test_rolegroup_service_ports(
#[case] hbase_version: &str,
#[case] role: HbaseRole,
Expand Down
4 changes: 4 additions & 0 deletions tests/templates/kuttl/snapshot-export/30_test-export.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
#!/usr/bin/env bash
# shellcheck disable=SC2034
set -euxo pipefail

export \
AWS_ACCESS_KEY_ID=hbaseAccessKey \
# Used by AWS bundle 1.12.367 via Hadoop 3.3.6
AWS_SECRET_KEY=hbaseSecretKey \
# Used by AWS bundle 2.24.6 via Hadoop 3.4.1
AWS_SECRET_ACCESS_KEY=hbaseSecretKey \
AWS_ENDPOINT=http://minio:9000/ \
AWS_SSL_ENABLED=false \
AWS_PATH_STYLE_ACCESS=true
Expand Down
15 changes: 7 additions & 8 deletions tests/test-definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,18 @@
dimensions:
- name: hbase
values:
- 2.4.18
- 2.6.1
- 2.6.2
# To use a custom image, add a comma and the full name after the product version
# - 2.6.1,oci.stackable.tech/sandbox/hbase:2.6.1-stackable0.0.0-dev
# - 2.4.18,oci.stackable.tech/sandbox/hbase:2.4.18-stackable0.0.0-dev
# - 2.6.2,oci.stackable.tech/sandbox/hbase:2.6.2-stackable0.0.0-dev
- name: hbase-opa
values:
- 2.6.1
- 2.6.2
# To use a custom image, add a comma and the full name after the product version
# - 2.6.1,oci.stackable.tech/sandbox/hbase:2.6.1-stackable0.0.0-dev
# - 2.6.2,oci.stackable.tech/sandbox/hbase:2.6.2-stackable0.0.0-dev
- name: hbase-latest
values:
- 2.6.1
- 2.6.2
# - 2.4.18,oci.stackable.tech/sandbox/hbase:2.4.18-stackable0.0.0-dev
- name: hdfs
values:
Expand Down Expand Up @@ -54,9 +53,9 @@ dimensions:
- "false"
- name: omid
values:
- 1.1.2
- 1.1.3
# To use a custom image, add a comma and the full name after the product version
# - 1.1.0,oci.stackable.tech/sandbox/omid:1.1.0-stackable0.0.0-dev
# - 1.1.3,oci.stackable.tech/sandbox/omid:1.1.3-stackable0.0.0-dev
tests:
- name: smoke
dimensions:
Expand Down