HBASE-11727 Assignment wait time error in case of ServerNotRunningYetException

This commit is contained in:
Jimmy Xiang 2014-08-12 12:57:27 -07:00
parent 1262f1e2d4
commit 71d3f6896b
1 changed files with 3 additions and 2 deletions

View File

@ -1096,8 +1096,9 @@ public class AssignmentManager {
+ this.server.getConfiguration().getLong(ALREADY_IN_TRANSITION_WAITTIME,
DEFAULT_ALREADY_IN_TRANSITION_WAITTIME);
} else {
maxWaitTime = this.server.getConfiguration().
getLong("hbase.regionserver.rpc.startup.waittime", 60000);
maxWaitTime = EnvironmentEdgeManager.currentTimeMillis()
+ this.server.getConfiguration().getLong(
"hbase.regionserver.rpc.startup.waittime", 60000);
}
}
try {