[ 
https://issues.apache.org/jira/browse/HBASE-2924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Daniel Cryans updated HBASE-2924:
--------------------------------------

    Attachment: HBASE-2924.patch

Patch that adds a new utility method to HBaseTestingUtility to get the region 
server that holds the first region in a table, which is used to select the 
right server in TestLogRolling. Test now passes 100% of the time (on 8 runs).

> TestLogRolling doesn't use the right HLog half the time
> -------------------------------------------------------
>
>                 Key: HBASE-2924
>                 URL: https://issues.apache.org/jira/browse/HBASE-2924
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.90.0
>
>         Attachments: HBASE-2924.patch
>
>
> Since HBASE-2868, TestLogRolling uses 2 region servers instead of 1. The rest 
> of the un-refactored code isn't expecting that, and only used the log from 
> the first RS. This is why we get very inconsistent results. Fix by either 
> coming back to 1 RS or at least use the right HLog.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to