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;
|
||||
LOG.info("#" + id + ", waiting for some tasks to finish. Expected max="
|
||||
+ max + ", tasksInProgress=" + currentInProgress +
|
||||
" hasError=" + hasError() + tableName == null ? "" : ", tableName=" + tableName);
|
||||
" hasError=" + hasError() + (tableName == null ? "" : ", tableName=" + tableName));
|
||||
if (currentInProgress <= thresholdToLogUndoneTaskDetails) {
|
||||
logDetailsOfUndoneTasks(currentInProgress);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue