This is an automated email from the ASF dual-hosted git repository. jlli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git
The following commit(s) were added to refs/heads/master by this push: new 6e541bb Fix Preconditions check (#3965) 6e541bb is described below commit 6e541bb22320f2d767ed72e04795974d487b24a9 Author: Jialiang Li <j...@linkedin.com> AuthorDate: Thu Mar 14 10:36:55 2019 -0700 Fix Preconditions check (#3965) --- .../helix/core/minion/generator/ConvertToRawIndexTaskGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/minion/generator/ConvertToRawIndexTaskGenerator.java b/pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/minion/generator/ConvertToRawIndexTaskGenerator.java index 295431a..22bdcc5 100644 --- a/pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/minion/generator/ConvertToRawIndexTaskGenerator.java +++ b/pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/minion/generator/ConvertToRawIndexTaskGenerator.java @@ -73,7 +73,7 @@ public class ConvertToRawIndexTaskGenerator implements PinotTaskGenerator { Preconditions.checkNotNull(tableTaskConfig); Map<String, String> taskConfigs = tableTaskConfig.getConfigsForTaskType(MinionConstants.ConvertToRawIndexTask.TASK_TYPE); - Preconditions.checkNotNull(tableConfigs); + Preconditions.checkNotNull(taskConfigs, "Task config shouldn't be null for Table: {}", offlineTableName); // Get max number of tasks for this table int tableMaxNumTasks; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org