HBASE-26219 Negative time is logged while waiting on regionservers (#3622)
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org> Signed-off-by: Peter Somogyi <psomogyi@apache.org> Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
parent
931a7a5a61
commit
cd9e45ce8d
|
@ -820,8 +820,9 @@ public class ServerManager {
|
|||
lastLogTime = now;
|
||||
String msg =
|
||||
"Waiting on regionserver count=" + count + "; waited="+
|
||||
slept + "ms, expecting min=" + minToStart + " server(s), max="+ getStrForMax(maxToStart) +
|
||||
" server(s), " + "timeout=" + timeout + "ms, lastChange=" + (lastCountChange - now) + "ms";
|
||||
slept + "ms, expecting min=" + minToStart + " server(s), max="
|
||||
+ getStrForMax(maxToStart) + " server(s), " + "timeout=" + timeout
|
||||
+ "ms, lastChange=" + (now - lastCountChange) + "ms";
|
||||
LOG.info(msg);
|
||||
status.setStatus(msg);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue