HBASE-24186: RegionMover ignores replicationId (#1512)
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com> Signed-off-by: Viraj Jasani <vjasani@apache.org>
This commit is contained in:
parent
ca1f7a9499
commit
8498fe7260
|
@ -732,7 +732,8 @@ public class RegionMover extends AbstractHBaseTool implements Closeable {
|
|||
return null;
|
||||
}
|
||||
HRegionLocation loc =
|
||||
conn.getRegionLocator(region.getTable()).getRegionLocation(region.getStartKey(), true);
|
||||
conn.getRegionLocator(region.getTable()).getRegionLocation(region.getStartKey(),
|
||||
region.getReplicaId(),true);
|
||||
if (loc != null) {
|
||||
return loc.getServerName();
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue