From 167fb679dbf737ba0842a195b3da7b7cb93710f6 Mon Sep 17 00:00:00 2001 From: "Xiaotian (Jackie) Jiang" <17555551+Jackie-Jiang@users.noreply.github.com> Date: Wed, 11 Dec 2024 18:22:27 -0800 Subject: [PATCH] Remove info log in DataBlockUtils as it can flood the log (#14644) --- .../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 ddd9debbc704..915a1f56c50c 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.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 @@ private 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 {