HBASE-19717 IntegrationTestDDLMasterFailover is using outdated values for DataBlockEncoding addendum
Signed-off-by: tedyu <yuzhihong@gmail.com>
This commit is contained in:
parent
c5277d5f88
commit
5c2161e390
|
@ -698,8 +698,9 @@ public class IntegrationTestDDLMasterFailover extends IntegrationTestBase {
|
||||||
try {
|
try {
|
||||||
TableName tableName = selected.getTableName();
|
TableName tableName = selected.getTableName();
|
||||||
// possible DataBlockEncoding ids
|
// possible DataBlockEncoding ids
|
||||||
int[] possibleIds = {0, 2, 3, 4, 7};
|
DataBlockEncoding[] possibleIds = {DataBlockEncoding.NONE, DataBlockEncoding.PREFIX,
|
||||||
short id = (short) possibleIds[RandomUtils.nextInt(0, possibleIds.length)];
|
DataBlockEncoding.DIFF, DataBlockEncoding.FAST_DIFF, DataBlockEncoding.ROW_INDEX_V1};
|
||||||
|
short id = possibleIds[RandomUtils.nextInt(0, possibleIds.length)].getId();
|
||||||
LOG.info("Altering encoding of column family: " + columnDesc + " to: " + id +
|
LOG.info("Altering encoding of column family: " + columnDesc + " to: " + id +
|
||||||
" in table: " + tableName);
|
" in table: " + tableName);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue