HBASE-10674 HBCK should be updated to do replica related checks Addendum
This commit is contained in:
parent
8562752143
commit
ab757169a1
|
@ -657,8 +657,8 @@ public class TestHBaseFsck {
|
|||
meta.put(put);
|
||||
meta.flushCommits();
|
||||
// assign the new replica
|
||||
HBaseFsckRepair.fixUnassigned(TEST_UTIL.getHBaseAdmin(), newHri);
|
||||
HBaseFsckRepair.waitUntilAssigned(TEST_UTIL.getHBaseAdmin(), newHri);
|
||||
HBaseFsckRepair.fixUnassigned((HBaseAdmin)TEST_UTIL.getHBaseAdmin(), newHri);
|
||||
HBaseFsckRepair.waitUntilAssigned((HBaseAdmin)TEST_UTIL.getHBaseAdmin(), newHri);
|
||||
// now reset the meta row to its original value
|
||||
Delete delete = new Delete(metaKey);
|
||||
delete.deleteColumns(HConstants.CATALOG_FAMILY, MetaTableAccessor.getServerColumn(2));
|
||||
|
|
Loading…
Reference in New Issue