You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by jl...@apache.org on 2019/03/13 19:56:14 UTC

[incubator-pinot] branch minor-fix created (now 43a52f5)

This is an automated email from the ASF dual-hosted git repository.

jlli pushed a change to branch minor-fix
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git.


      at 43a52f5  Fix Preconditions check

This branch includes the following new commits:

     new 43a52f5  Fix Preconditions check

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[incubator-pinot] 01/01: Fix Preconditions check

Posted by jl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jlli pushed a commit to branch minor-fix
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git

commit 43a52f59a979f079f562161cd5fcfce0595733b9
Author: jackjlli <jl...@linkedin.com>
AuthorDate: Wed Mar 13 12:55:55 2019 -0700

    Fix Preconditions check
---
 .../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-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org