Skip to content

Commit

Permalink
Remove info log in DataBlockUtils as it can flood the log (#14644)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackie-Jiang authored Dec 12, 2024
1 parent 740c110 commit 167fb67
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
*
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 167fb67

Please sign in to comment.