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 60fcc2ea8d
commit dc1d743ce6
1 changed files with 3 additions and 2 deletions

View File

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