You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by je...@apache.org on 2019/10/22 17:33:09 UTC

[incubator-pinot] 01/01: Changing error log to warn

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

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

commit d4c33626c37de81dfba99bf5bdb03390bff753dc
Author: Jennifer Dai <jd...@linkedin.com>
AuthorDate: Tue Oct 22 10:32:53 2019 -0700

    Changing error log to warn
---
 .../org/apache/pinot/hadoop/job/mappers/SegmentPreprocessingMapper.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pinot-hadoop/src/main/java/org/apache/pinot/hadoop/job/mappers/SegmentPreprocessingMapper.java b/pinot-hadoop/src/main/java/org/apache/pinot/hadoop/job/mappers/SegmentPreprocessingMapper.java
index 5f2b7ac..0b51c6f 100644
--- a/pinot-hadoop/src/main/java/org/apache/pinot/hadoop/job/mappers/SegmentPreprocessingMapper.java
+++ b/pinot-hadoop/src/main/java/org/apache/pinot/hadoop/job/mappers/SegmentPreprocessingMapper.java
@@ -94,7 +94,7 @@ public class SegmentPreprocessingMapper extends Mapper<AvroKey<GenericRecord>, N
       if (!normalizedTimeColumnValue.equals(_sampleNormalizedTimeColumnValue)) {
         // TODO: Create a custom exception and gracefully catch this exception outside, changing what the path to input
         // into segment creation should be
-        LOGGER.error("This segment contains multiple time units. Sample is {}, current is {}", _sampleNormalizedTimeColumnValue, normalizedTimeColumnValue);
+        LOGGER.warn("This segment contains multiple time units. Sample is {}, current is {}", _sampleNormalizedTimeColumnValue, normalizedTimeColumnValue);
       }
     }
 


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