HBASE-15931 Add log for long-running tasks in AsyncProcess (addendum)
This commit is contained in:
parent
ead1063244
commit
539fce3440
|
@ -1857,7 +1857,7 @@ class AsyncProcess {
|
||||||
lastLog = now;
|
lastLog = now;
|
||||||
LOG.info("#" + id + ", waiting for some tasks to finish. Expected max="
|
LOG.info("#" + id + ", waiting for some tasks to finish. Expected max="
|
||||||
+ max + ", tasksInProgress=" + currentInProgress +
|
+ max + ", tasksInProgress=" + currentInProgress +
|
||||||
" hasError=" + hasError() + tableName == null ? "" : ", tableName=" + tableName);
|
" hasError=" + hasError() + (tableName == null ? "" : ", tableName=" + tableName));
|
||||||
if (currentInProgress <= thresholdToLogUndoneTaskDetails) {
|
if (currentInProgress <= thresholdToLogUndoneTaskDetails) {
|
||||||
logDetailsOfUndoneTasks(currentInProgress);
|
logDetailsOfUndoneTasks(currentInProgress);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue