[ https://issues.apache.org/jira/browse/HBASE-12715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14252925#comment-14252925 ]
Ted Yu commented on HBASE-12715: -------------------------------- The test finishes in 20 seconds - maybe classify as medium test ? {code} + HTable table = testUtil.createTable(tableName, families); {code} Close the table at the end of the test. {code} + for (HRegion r : hrs.getOnlineRegions(tableName)) { + region = r; {code} Do you want to get the last online region or, any online region ? If the latter, you can break out of the loop. Ping [~enis] for inclusion in 1.0.0 release > 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)