[
https://issues.apache.org/jira/browse/HBASE-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706173#action_12706173
]
Jean-Daniel Cryans commented on HBASE-1372:
-------------------------------------------
Digging in the code I saw that the region server was waiting after the master
when reporting. What happened is that when the master assigns a region, it
writes an entry in the region historian. Problem is, the first time HCM (under
the historian) sees a table there is a huge wait.... which was too long for the
6 seconds lease in the tests. I think for 0.19.2 we should just move that
waiting time right up when the master starts with something like this in
ProcessRegionOpen:
{code}
server.batchUpdate(metaRegionName, b, -1L);
if (!this.historian.isOnline()) {
// This is safest place to do the onlining of the historian in
// the master. When we get to here, we know there is a .META.
// for the historian to go against.
this.historian.online(this.master.getConfiguration());
}
this.historian.addRegionOpen(regionInfo, serverAddress);
this.historian.getRegionHistory("dummy"); <<<<
{code}
For trunk we could work on improving HCM.
> TestGetRowVersions doesn't pass on 0.19 branch
> ----------------------------------------------
>
> Key: HBASE-1372
> URL: https://issues.apache.org/jira/browse/HBASE-1372
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.19.2
> Reporter: Jean-Daniel Cryans
> Assignee: Jean-Daniel Cryans
> Priority: Blocker
> Fix For: 0.19.2
>
>
> Currently TestGetRowVersions doesn't pass because the region server is too
> slow to setup root and meta and gets a lease expired.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.