mirror of https://github.com/apache/druid.git
better logging for indexing service
This commit is contained in:
parent
e2b4163e31
commit
0b054cdd3d
|
@ -112,8 +112,6 @@ public class ZkWorker implements Closeable
|
|||
{
|
||||
return "ZkWorker{" +
|
||||
"worker=" + worker +
|
||||
", statusCache=" + statusCache +
|
||||
", cacheConverter=" + cacheConverter +
|
||||
", lastCompletedTaskTime=" + lastCompletedTaskTime +
|
||||
'}';
|
||||
}
|
||||
|
|
|
@ -81,7 +81,6 @@ public class ResourceManagementScheduler
|
|||
@Override
|
||||
public void run()
|
||||
{
|
||||
log.info("Running resource management strategy");
|
||||
resourceManagementStrategy.doProvision(
|
||||
taskRunner.getPendingTasks(),
|
||||
taskRunner.getWorkers()
|
||||
|
|
|
@ -84,4 +84,15 @@ public class Worker
|
|||
{
|
||||
return version;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return "Worker{" +
|
||||
"host='" + host + '\'' +
|
||||
", ip='" + ip + '\'' +
|
||||
", capacity=" + capacity +
|
||||
", version='" + version + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue