[ 
https://issues.apache.org/jira/browse/HBASE-12715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14252932#comment-14252932
 ] 

Ted Yu commented on HBASE-12715:
--------------------------------

Without the fix, the test fails with:
{code}
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 11.458 sec <<< 
FAILURE! - in org.apache.hadoop.hbase.master.TestGetLastFlushedSequenceId
test(org.apache.hadoop.hbase.master.TestGetLastFlushedSequenceId)  Time 
elapsed: 10.974 sec  <<< FAILURE!
java.lang.AssertionError: null
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertTrue(Assert.java:52)
        at 
org.apache.hadoop.hbase.master.TestGetLastFlushedSequenceId.test(TestGetLastFlushedSequenceId.java:95)
{code}

> getLastSequenceId always return -1
> ----------------------------------
>
>                 Key: HBASE-12715
>                 URL: https://issues.apache.org/jira/browse/HBASE-12715
>             Project: HBase
>          Issue Type: Bug
>          Components: wal
>    Affects Versions: 0.98.9
>            Reporter: zhangduo
>            Assignee: zhangduo
>         Attachments: HBASE-12715.patch
>
>
> When addressing HBASE-12405 I found that LastSequenceId.getLastSequenceId 
> always returns -1, then I found that we use encodedRegionName when calling 
> this method. But when we doing regionServerReport, we use regionName to 
> report to HMaster(see the code in HRegionServer.createRegionLoad). 
> We need to fix this, as seems we will disable distributed log replay in 0.98 
> by default?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to