From ad7db018d5c87a0a4d5b7cbe4cc31dd0b2037526 Mon Sep 17 00:00:00 2001 From: fjy Date: Mon, 9 Jun 2014 16:28:47 -0700 Subject: [PATCH] add default tuning config for index task --- .../src/main/java/io/druid/indexing/common/task/IndexTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexing-service/src/main/java/io/druid/indexing/common/task/IndexTask.java b/indexing-service/src/main/java/io/druid/indexing/common/task/IndexTask.java index a71d16c54f6..182a1569903 100644 --- a/indexing-service/src/main/java/io/druid/indexing/common/task/IndexTask.java +++ b/indexing-service/src/main/java/io/druid/indexing/common/task/IndexTask.java @@ -477,7 +477,7 @@ public class IndexTask extends AbstractFixedIntervalTask this.dataSchema = dataSchema; this.ioConfig = ioConfig; - this.tuningConfig = tuningConfig; + this.tuningConfig = tuningConfig == null ? new IndexTuningConfig(0, 0) : tuningConfig; } @Override