From 0b849981a97e20a1f735863eb6d61fd98cc17a7a Mon Sep 17 00:00:00 2001 From: Ashish Kumar <117710273+ashishkumar50@users.noreply.github.com> Date: Fri, 25 Oct 2024 20:40:24 +0530 Subject: [PATCH] HDDS-11594. Update batchPut buffer log for rocksdb. (#7356) --- .../java/org/apache/hadoop/hdds/utils/db/RocksDatabase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/RocksDatabase.java b/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/RocksDatabase.java index c156b8e4d67..945138b8b8b 100644 --- a/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/RocksDatabase.java +++ b/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/RocksDatabase.java @@ -306,7 +306,7 @@ public void batchPut(ManagedWriteBatch writeBatch, ByteBuffer key, ByteBuffer value) throws IOException { if (LOG.isDebugEnabled()) { LOG.debug("batchPut buffer key {}", bytes2String(key.duplicate())); - LOG.debug("batchPut buffer value {}", bytes2String(value.duplicate())); + LOG.debug("batchPut buffer value size {}", value.remaining()); } try (UncheckedAutoCloseable ignored = acquire()) {