accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] ivakegg closed pull request #616: ACCUMULO-4854 Fix DfsLogger exceptions
Date Tue, 04 Sep 2018 17:52:33 GMT
ivakegg closed pull request #616: ACCUMULO-4854 Fix DfsLogger exceptions

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/server/tserver/src/main/java/org/apache/accumulo/tserver/log/ b/server/tserver/src/main/java/org/apache/accumulo/tserver/log/
index b0f3229cc3..9f50621f06 100644
--- a/server/tserver/src/main/java/org/apache/accumulo/tserver/log/
+++ b/server/tserver/src/main/java/org/apache/accumulo/tserver/log/
@@ -553,13 +553,9 @@ public synchronized void defineTablet(long seq, int tid, KeyExtent tablet)
   private synchronized void write(LogFileKey key, LogFileValue value) throws IOException
-    try {
-      key.write(encryptingLogFile);
-      value.write(encryptingLogFile);
-      encryptingLogFile.flush();
-    } catch (ClosedChannelException e) {
-      throw new LogClosedException();
-    }
+    key.write(encryptingLogFile);
+    value.write(encryptingLogFile);
+    encryptingLogFile.flush();
   public LoggerOperation log(long seq, int tid, Mutation mutation, Durability durability)


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

View raw message