HBASE-15931 Add log for long-running tasks in AsyncProcess (addendum)

This commit is contained in:
Yu Li 2017-09-08 11:40:26 +08:00
parent ead1063244
commit 539fce3440
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}