HBASE-3323 was missing the EOF handling
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1051712 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bc8d7005b1
commit
15ef67afe5
@ -259,6 +259,10 @@ public class HLogSplitter {
|
|||||||
recoverFileLease(fs, logPath, conf);
|
recoverFileLease(fs, logPath, conf);
|
||||||
parseHLog(log, entryBuffers, fs, conf);
|
parseHLog(log, entryBuffers, fs, conf);
|
||||||
processedLogs.add(logPath);
|
processedLogs.add(logPath);
|
||||||
|
} catch (EOFException eof) {
|
||||||
|
// truncated files are expected if a RS crashes (see HBASE-2643)
|
||||||
|
LOG.info("EOF from hlog " + logPath + ". continuing");
|
||||||
|
processedLogs.add(logPath);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
// If the IOE resulted from bad file format,
|
// If the IOE resulted from bad file format,
|
||||||
// then this problem is idempotent and retrying won't help
|
// then this problem is idempotent and retrying won't help
|
||||||
|
Loading…
x
Reference in New Issue
Block a user