[
https://issues.apache.org/jira/browse/HBASE-15984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15543997#comment-15543997
]
Andrew Purtell commented on HBASE-15984:
----------------------------------------
A naive port of the branch-1 (or branch-1.2) changes to branch-1.1 applies with
little effort, but not without test failures:
{noformat}
Tests run: 10, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 29.915 sec <<<
FAILURE! - in org.apache.hadoop.hbase.regionserver.wal.TestWALReplay
testCompactedBulkLoadedFiles(org.apache.hadoop.hbase.regionserver.wal.TestWALReplay)
Time elapsed: 0.201 sec <<< FAILURE!
java.lang.AssertionError: expected:<31> but was:<1>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at
org.apache.hadoop.hbase.regionserver.wal.TestWALReplay.testCompactedBulkLoadedFiles(TestWALReplay.java:447)
Tests run: 10, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 31.681 sec <<<
FAILURE! - in org.apache.hadoop.hbase.regionserver.wal.TestSecureWALReplay
testCompactedBulkLoadedFiles(org.apache.hadoop.hbase.regionserver.wal.TestSecureWALReplay)
Time elapsed: 0.267 sec <<< FAILURE!
java.lang.AssertionError: expected:<31> but was:<1>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at
org.apache.hadoop.hbase.regionserver.wal.TestWALReplay.testCompactedBulkLoadedFiles(TestWALReplay.java:447)
Tests run: 10, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 29.943 sec <<<
FAILURE! - in org.apache.hadoop.hbase.regionserver.wal.TestWALReplayCompressed
testCompactedBulkLoadedFiles(org.apache.hadoop.hbase.regionserver.wal.TestWALReplayCompressed)
Time elapsed: 0.194 sec <<< FAILURE!
java.lang.AssertionError: expected:<31> but was:<1>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at
org.apache.hadoop.hbase.regionserver.wal.TestWALReplay.testCompactedBulkLoadedFiles(TestWALReplay.java:447)
{noformat}
Looks like something to do with bulk loaded files. Did you run into this with
1.2 [~busbey] ? If not I may have time later this week to dig in.
> Given failure to parse a given WAL that was closed cleanly, replay the WAL.
> ---------------------------------------------------------------------------
>
> Key: HBASE-15984
> URL: https://issues.apache.org/jira/browse/HBASE-15984
> Project: HBase
> Issue Type: Sub-task
> Components: Replication
> Reporter: Sean Busbey
> Assignee: Sean Busbey
> Priority: Critical
> Fix For: 2.0.0, 1.0.4, 1.4.0, 1.3.1, 1.1.7, 0.98.23, 1.2.4
>
> Attachments: HBASE-15984.1.patch, HBASE-15984.2.patch
>
>
> subtask for a general work around for "underlying reader failed / is in a bad
> state" just for the case where a WAL 1) was closed cleanly and 2) we can tell
> that our current offset ought not be the end of parseable entries.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)