sunhelly commented on a change in pull request #323: HBASE-22414 Interruption
of moving regions in RSGroup will cause regi…
URL: https://github.com/apache/hbase/pull/323#discussion_r302342159
##########
File path:
hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminServer.java
##########
@@ -60,9 +62,13 @@
private MasterServices master;
private final RSGroupInfoManager rsGroupInfoManager;
+ private String FAILED_MOVE_MAX_RETRY = "hbase.rsgroup.move.max.retry";
+ private int moveMaxRetry;
+
public RSGroupAdminServer(MasterServices master, RSGroupInfoManager
rsGroupInfoManager) {
this.master = master;
this.rsGroupInfoManager = rsGroupInfoManager;
+ this.moveMaxRetry =
master.getConfiguration().getInt(FAILED_MOVE_MAX_RETRY, 50);
Review comment:
Thanks, I'll define and use it to set waiting time in the test case.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services