From 537a3caccd22e069e8b026a4ba7da419fdb68324 Mon Sep 17 00:00:00 2001 From: stack Date: Thu, 18 Jun 2020 08:49:39 -0700 Subject: [PATCH] HBASE-24574 Procedure V2 - Distributed WAL Splitting => LOGGING (#1912) Addendum 2 fix compile error. --- .../hadoop/hbase/regionserver/SplitLogWorker.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SplitLogWorker.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SplitLogWorker.java index 5c1ded74239..35045ba44bb 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SplitLogWorker.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SplitLogWorker.java @@ -183,24 +183,24 @@ public class SplitLogWorker implements Runnable { return Status.PREEMPTED; } } catch (InterruptedIOException iioe) { - LOG.warn("Resigning, interrupted splitting WAL {}", filename, iioe); + LOG.warn("Resigning, interrupted splitting WAL {}", name, iioe); return Status.RESIGNED; } catch (IOException e) { if (e instanceof FileNotFoundException) { // A wal file may not exist anymore. Nothing can be recovered so move on - LOG.warn("Done, WAL {} does not exist anymore", filename, e); + LOG.warn("Done, WAL {} does not exist anymore", name, e); return Status.DONE; } Throwable cause = e.getCause(); if (e instanceof RetriesExhaustedException && (cause instanceof NotServingRegionException || cause instanceof ConnectException || cause instanceof SocketTimeoutException)) { - LOG.warn("Resigning, can't connect to target regionserver splitting WAL {}", filename, e); + LOG.warn("Resigning, can't connect to target regionserver splitting WAL {}", name, e); return Status.RESIGNED; } else if (cause instanceof InterruptedException) { - LOG.warn("Resigning, interrupted splitting WAL {}", filename, e); + LOG.warn("Resigning, interrupted splitting WAL {}", name, e); return Status.RESIGNED; } - LOG.warn("Error splitting WAL {}", filename, e); + LOG.warn("Error splitting WAL {}", name, e); return Status.ERR; } return Status.DONE;