From 8f6d6b9ec3504cd6f3538669092bfd9cf92d46ed Mon Sep 17 00:00:00 2001 From: slfan1989 <55643692+slfan1989@users.noreply.github.com> Date: Sun, 19 Mar 2023 19:58:20 +0800 Subject: [PATCH] HBASE-27729. Missed one parameter when logging exception in StoreFileListFile. (#5114) Signed-off-by: Viraj Jasani Signed-off-by: Duo Zhang (cherry picked from commit 3c2c685892740af68428f8bb715ca4234b6ff320) --- .../hbase/regionserver/storefiletracker/StoreFileListFile.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/storefiletracker/StoreFileListFile.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/storefiletracker/StoreFileListFile.java index e3d2a182348..7a6938106d3 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/storefiletracker/StoreFileListFile.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/storefiletracker/StoreFileListFile.java @@ -262,7 +262,8 @@ class StoreFileListFile { } catch (IOException e) { // we will create new file with overwrite = true, so not a big deal here, only for speed up // loading as we do not need to read this file when loading - LOG.debug("Failed to delete old track file {}, ignoring the exception", e); + LOG.debug("Failed to delete old track file {}, ignoring the exception", + trackFiles[nextTrackFile], e); } } }