mirror of https://github.com/apache/druid.git
final code reviews
This commit is contained in:
parent
06757034f2
commit
fab7caafff
|
@ -66,4 +66,4 @@ public class ImmutableZkWorker
|
||||||
return (worker.getCapacity() - getCurrCapacityUsed() >= task.getTaskResource().getRequiredCapacity()
|
return (worker.getCapacity() - getCurrCapacityUsed() >= task.getTaskResource().getRequiredCapacity()
|
||||||
&& !getAvailabilityGroups().contains(task.getTaskResource().getAvailabilityGroup()));
|
&& !getAvailabilityGroups().contains(task.getTaskResource().getAvailabilityGroup()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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