Skip to content

Commit

Permalink
HBASE-25554 NPE when init RegionMover (#2927)
Browse files Browse the repository at this point in the history
Signed-off-by: Viraj Jasani <[email protected]>
  • Loading branch information
ZhaoBQ authored Feb 5, 2021
1 parent 7905749 commit 3043796
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ public class RegionMover extends AbstractHBaseTool implements Closeable {
public static final int DEFAULT_MOVE_RETRIES_MAX = 5;
public static final int DEFAULT_MOVE_WAIT_MAX = 60;
public static final int DEFAULT_SERVERSTART_WAIT_MAX = 180;
private final RackManager rackManager;

private static final Logger LOG = LoggerFactory.getLogger(RegionMover.class);

Expand All @@ -103,6 +102,7 @@ public class RegionMover extends AbstractHBaseTool implements Closeable {
private int port;
private Connection conn;
private Admin admin;
private RackManager rackManager;

private RegionMover(RegionMoverBuilder builder) throws IOException {
this.hostname = builder.hostname;
Expand All @@ -125,7 +125,6 @@ private RegionMover(RegionMoverBuilder builder) throws IOException {
}

private RegionMover() {
rackManager = new RackManager(conf);
}

@Override
Expand Down

0 comments on commit 3043796

Please sign in to comment.