From 3f71a4a3020bd65a54ae8753ff8f6c5540eec97c Mon Sep 17 00:00:00 2001 From: Charles Allen Date: Thu, 28 Apr 2016 18:15:41 -0700 Subject: [PATCH] Fix missing log arguments in PendingTaskBasedWorkerResourceManagementStrategy (#2898) --- .../PendingTaskBasedWorkerResourceManagementStrategy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexing-service/src/main/java/io/druid/indexing/overlord/autoscaling/PendingTaskBasedWorkerResourceManagementStrategy.java b/indexing-service/src/main/java/io/druid/indexing/overlord/autoscaling/PendingTaskBasedWorkerResourceManagementStrategy.java index fe5fd8e774f..50b3e7e9e3d 100644 --- a/indexing-service/src/main/java/io/druid/indexing/overlord/autoscaling/PendingTaskBasedWorkerResourceManagementStrategy.java +++ b/indexing-service/src/main/java/io/druid/indexing/overlord/autoscaling/PendingTaskBasedWorkerResourceManagementStrategy.java @@ -211,7 +211,7 @@ public class PendingTaskBasedWorkerResourceManagementStrategy extends AbstractWo ); if (want > 0 && currValidWorkers >= maxWorkerCount) { - log.warn("Unable to provision more workers. Current workerCount[%d] maximum workerCount[%d]."); + log.warn("Unable to provision more workers. Current workerCount[%d] maximum workerCount[%d].", currValidWorkers, maxWorkerCount); return 0; } want = Math.min(want, maxWorkerCount - currValidWorkers);