[
https://issues.apache.org/jira/browse/HBASE-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cosmin Lehene updated HBASE-2667:
---------------------------------
Attachment: HBASE-2667-v2.patch
Added a new unit test TestHLogSplit.testSplitPreservesEdits that checks edits
integrity after split.
Changed the looping through the edits to a simple for and fixed parseHLog to
append (addLast) to the list of edits.
> TestHLog.testSplit failing in trunk
> -----------------------------------
>
> Key: HBASE-2667
> URL: https://issues.apache.org/jira/browse/HBASE-2667
> Project: HBase
> Issue Type: Bug
> Reporter: stack
> Assignee: stack
> Fix For: 0.21.0
>
> Attachments: 2667-prelim.txt, 2667.txt, HBASE-2667-v2.patch
>
>
> Build is broke because this test won't pass.
> Seems to be two issues at least:
> 1. we need to change the test so it keeps logs in one subdir, archives in
> another and split products in yet another as per regionserver. New split
> code does cleanup of old logs dir if successful. In this test it was
> removing the created splits so when verify went to run, the log no longer
> existed
> 2. The verify of splits tests that sequence numbers are in order. They don't
> seem to be (the assertion failure was masked by a close reader exception).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.