hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Ruiz-Carrillo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8548) postOpen hook called twice
Date Wed, 15 May 2013 00:08:13 GMT

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

Roger Ruiz-Carrillo commented on HBASE-8548:

Fairly simple fix - Just removed the extra lines of code from initializeRegionStores(); kept
them in initializeRegionInternals()
> postOpen hook called twice
> --------------------------
>                 Key: HBASE-8548
>                 URL: https://issues.apache.org/jira/browse/HBASE-8548
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.95.0
>         Environment: CentOS
>            Reporter: Roger Ruiz-Carrillo
>         Attachments: HRegion_HBASE-8548-0.95.patch
> postOpen hook is called twice when a region is initializing:
> Once at the end of the body of the  initializeRegionInternals() method of the HRegion
> Once at the end initializeRegionStores() method of the HRegion class; initializeRegionStores()
is called inside initializeRegionInternals() and as such causes the postOpen hook to be called

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message