more logging

This commit is contained in:
Fangjin Yang 2013-03-01 19:03:16 -08:00
parent 0b054cdd3d
commit df532f021a
1 changed files with 1 additions and 0 deletions

View File

@ -472,6 +472,7 @@ public class RemoteTaskRunner implements TaskRunner
runPendingTasks();
}
} else if (event.getType().equals(PathChildrenCacheEvent.Type.CHILD_REMOVED)) {
log.info("Event[%s]: %s", event.getType(), event.getData().getPath());
final String taskId = ZKPaths.getNodeFromPath(event.getData().getPath());
if (runningTasks.containsKey(taskId)) {
log.info("Task %s just disappeared!", taskId);