flume-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject git commit: FLUME-1775: FileChannel Log Background worker should catch Throwable
Date Tue, 11 Dec 2012 17:10:38 GMT
Updated Branches:
  refs/heads/flume-1.4 219dac017 -> 4b485d1f7


FLUME-1775: FileChannel Log Background worker should catch Throwable

(Hari Shreedharan via Brock Noland)


Project: http://git-wip-us.apache.org/repos/asf/flume/repo
Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/4b485d1f
Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/4b485d1f
Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/4b485d1f

Branch: refs/heads/flume-1.4
Commit: 4b485d1f7447ff3264b2ff05585cb2f01cf82640
Parents: 219dac0
Author: Brock Noland <brock@apache.org>
Authored: Tue Dec 11 11:09:55 2012 -0600
Committer: Brock Noland <brock@apache.org>
Committed: Tue Dec 11 11:10:10 2012 -0600

----------------------------------------------------------------------
 .../java/org/apache/flume/channel/file/Log.java    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flume/blob/4b485d1f/flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/Log.java
----------------------------------------------------------------------
diff --git a/flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/Log.java
b/flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/Log.java
index 829e35a..af11dc5 100644
--- a/flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/Log.java
+++ b/flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/Log.java
@@ -1035,7 +1035,7 @@ class Log {
         }
       } catch (IOException e) {
         LOG.error("Error doing checkpoint", e);
-      } catch (Exception e) {
+      } catch (Throwable e) {
         LOG.error("General error in checkpoint worker", e);
       }
     }


Mime
View raw message