You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2023/03/19 12:09:30 UTC

[hbase] branch branch-2 updated: HBASE-27729. Missed one parameter when logging exception in StoreFileListFile. (#5114)

This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new 8f6d6b9ec35 HBASE-27729. Missed one parameter when logging exception in StoreFileListFile. (#5114)
8f6d6b9ec35 is described below

commit 8f6d6b9ec3504cd6f3538669092bfd9cf92d46ed
Author: slfan1989 <55...@users.noreply.github.com>
AuthorDate: Sun Mar 19 19:58:20 2023 +0800

    HBASE-27729. Missed one parameter when logging exception in StoreFileListFile. (#5114)
    
    Signed-off-by: Viraj Jasani <vj...@apache.org>
    Signed-off-by: Duo Zhang <zh...@apache.org>
    (cherry picked from commit 3c2c685892740af68428f8bb715ca4234b6ff320)
---
 .../hadoop/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);
     }
   }
 }