From 2025243fbf94fb9a0324de7b159a275bc58c84d0 Mon Sep 17 00:00:00 2001 From: jianghuazhu <740087514@qq.com> Date: Thu, 17 Feb 2022 04:19:45 +0800 Subject: [PATCH] HADOOP-18082.Add debug log when RPC#Reader gets a Call. (#3891). Contributed by JiangHua Zhu. --- .../src/main/java/org/apache/hadoop/ipc/Server.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java index c5732c68b1..c36e1f655f 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java @@ -3029,6 +3029,9 @@ private void internalQueueCall(Call call, boolean blocking) } else { callQueue.add(call); } + + LOG.debug("Call has entered the CallQueue and is waiting to be processed. " + + "Call details: {}", call); long deltaNanos = Time.monotonicNowNanos() - call.timestampNanos; call.getProcessingDetails().set(Timing.ENQUEUE, deltaNanos, TimeUnit.NANOSECONDS);