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

jackie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new 167fb679db Remove info log in DataBlockUtils as it can flood the log 
(#14644)
167fb679db is described below

commit 167fb679dbf737ba0842a195b3da7b7cb93710f6
Author: Xiaotian (Jackie) Jiang <[email protected]>
AuthorDate: Wed Dec 11 18:22:27 2024 -0800

    Remove info log in DataBlockUtils as it can flood the log (#14644)
---
 .../main/java/org/apache/pinot/common/datablock/DataBlockUtils.java   | 4 ----
 1 file changed, 4 deletions(-)

diff --git 
a/pinot-common/src/main/java/org/apache/pinot/common/datablock/DataBlockUtils.java
 
b/pinot-common/src/main/java/org/apache/pinot/common/datablock/DataBlockUtils.java
index ddd9debbc7..915a1f56c5 100644
--- 
a/pinot-common/src/main/java/org/apache/pinot/common/datablock/DataBlockUtils.java
+++ 
b/pinot-common/src/main/java/org/apache/pinot/common/datablock/DataBlockUtils.java
@@ -40,12 +40,9 @@ import 
org.apache.pinot.common.utils.DataSchema.ColumnDataType;
 import org.apache.pinot.segment.spi.memory.CompoundDataBuffer;
 import org.apache.pinot.segment.spi.memory.DataBuffer;
 import org.apache.pinot.segment.spi.memory.PinotByteBuffer;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 
 public final class DataBlockUtils {
-  private static final Logger LOGGER = 
LoggerFactory.getLogger(DataBlockUtils.class);
   /**
    * This map is used to associate a {@link DataBlockSerde.Version} with a 
specific {@link DataBlockSerde}.
    *
@@ -99,7 +96,6 @@ public final class DataBlockUtils {
   static final int VERSION_TYPE_SHIFT = 5;
 
   public static MetadataBlock getErrorDataBlock(Exception e) {
-    LOGGER.info("Caught exception while processing query", e);
     if (e instanceof ProcessingException) {
       return getErrorDataBlock(Collections.singletonMap(((ProcessingException) 
e).getErrorCode(), extractErrorMsg(e)));
     } else {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to