From 992bf057e7a50066972b2125ed1f75835c68f6dc Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Tue, 26 Apr 2011 18:35:31 +0000 Subject: [PATCH] HBASE-3674 Treat ChecksumException as we would a ParseException splitting logs; else we replay split on every restart -- fixup for distributed log splitting git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1096842 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/hadoop/hbase/regionserver/wal/HLogSplitter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogSplitter.java b/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogSplitter.java index 5b93321c0b3..6fe2a03c8a3 100644 --- a/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogSplitter.java +++ b/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLogSplitter.java @@ -687,7 +687,7 @@ public class HLogSplitter { // then this problem is idempotent and retrying won't help if (e.getCause() != null && (e.getCause() instanceof ParseException || - e.getCause() instanceof org.apache.hadoop.fs.ChecksumException) { + e.getCause() instanceof org.apache.hadoop.fs.ChecksumException)) { LOG.warn("Parse exception " + e.getCause().toString() + " from hlog " + path + ". continuing"); return null;