mirror of https://github.com/apache/druid.git
fix compilation error
This commit is contained in:
parent
4c23a5e9f6
commit
575d51b0ce
|
@ -47,7 +47,7 @@ public class FillCapacityWorkerSelectStrategy implements WorkerSelectStrategy
|
||||||
this.config = config;
|
this.config = config;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Optional<ZkWorker> findWorkerForTask(
|
public Optional<ImmutableZkWorker> findWorkerForTask(
|
||||||
final ImmutableMap<String, ImmutableZkWorker> zkWorkers,
|
final ImmutableMap<String, ImmutableZkWorker> zkWorkers,
|
||||||
final Task task
|
final Task task
|
||||||
)
|
)
|
||||||
|
|
|
@ -76,7 +76,7 @@ public class Worker
|
||||||
return "Worker{" +
|
return "Worker{" +
|
||||||
"host='" + host + '\'' +
|
"host='" + host + '\'' +
|
||||||
", ip='" + ip + '\'' +
|
", ip='" + ip + '\'' +
|
||||||
", capacity=" + capacity +
|
", capacity=" + capacity +
|
||||||
", version='" + version + '\'' +
|
", version='" + version + '\'' +
|
||||||
'}';
|
'}';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue