Skip to content

Commit 19fed55

Browse files
committed
test: fail if the regionmover fails (only with 2.6)
1 parent 05f4303 commit 19fed55

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/templates/kuttl/shutdown/30-install-hbase.yaml.j2

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ spec:
2727
roleGroups:
2828
default:
2929
replicas: 2
30+
configOverrides:
31+
hbase-site.xml:
32+
# Prevent the master from re-assigning the region when the region server is
33+
# gone. Otherwise, the test case would not fail if the region mover fails. The
34+
# default retainment wait period is larger than the test step timeout. This
35+
# works only for HBase 2.6 (https://issues.apache.org/jira/browse/HBASE-27551).
36+
hbase.master.scp.retain.assignment: "true"
37+
hbase.master.scp.retain.assignment.force: "true"
3038
regionServers:
3139
config:
3240
gracefulShutdownTimeout: 2m # one minute for the region mover

0 commit comments

Comments
 (0)