mirror of https://github.com/apache/druid.git
better logs
This commit is contained in:
parent
9e88197845
commit
d9f2e68f7f
|
@ -563,7 +563,7 @@ public class RemoteTaskRunner implements TaskRunner
|
|||
);
|
||||
|
||||
if (workerQueue.isEmpty()) {
|
||||
log.info("Worker nodes do not have capacity to run any more tasks!");
|
||||
log.info("Worker nodes %s do not have capacity to run any more tasks!", zkWorkers.values());
|
||||
|
||||
if (currentlyProvisioning.isEmpty()) {
|
||||
AutoScalingData provisioned = strategy.provision();
|
||||
|
|
|
@ -130,6 +130,10 @@ public class EC2AutoScalingStrategy implements ScalingStrategy<Instance>
|
|||
@Override
|
||||
public AutoScalingData<Instance> terminate(List<String> ids)
|
||||
{
|
||||
if (ids.isEmpty()) {
|
||||
return new AutoScalingData<Instance>(Lists.<String>newArrayList(), Lists.<Instance>newArrayList());
|
||||
}
|
||||
|
||||
DescribeInstancesResult result = amazonEC2Client.describeInstances(
|
||||
new DescribeInstancesRequest()
|
||||
.withFilters(
|
||||
|
|
Loading…
Reference in New Issue