better logging for indexing service

This commit is contained in:
Fangjin Yang 2013-03-01 18:43:40 -08:00
parent e2b4163e31
commit 0b054cdd3d
3 changed files with 11 additions and 3 deletions

View File

@ -112,8 +112,6 @@ public class ZkWorker implements Closeable
{
return "ZkWorker{" +
"worker=" + worker +
", statusCache=" + statusCache +
", cacheConverter=" + cacheConverter +
", lastCompletedTaskTime=" + lastCompletedTaskTime +
'}';
}

View File

@ -81,7 +81,6 @@ public class ResourceManagementScheduler
@Override
public void run()
{
log.info("Running resource management strategy");
resourceManagementStrategy.doProvision(
taskRunner.getPendingTasks(),
taskRunner.getWorkers()

View File

@ -84,4 +84,15 @@ public class Worker
{
return version;
}
@Override
public String toString()
{
return "Worker{" +
"host='" + host + '\'' +
", ip='" + ip + '\'' +
", capacity=" + capacity +
", version='" + version + '\'' +
'}';
}
}