hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jieshan Bean (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-5396) Handle the regions in regionPlans while processing ServerShutdownHandler
Date Wed, 15 Feb 2012 11:18:59 GMT

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

Jieshan Bean updated HBASE-5396:

    Attachment: HBASE-5396-90-V2.patch

I renamed "regionPlanOnThisServer" to "regionOpeningOnServer", for emphasizing those regions
were being processed when this HRegionServer been killed.
Since the class name is "RegionsOnDeadServer", and "regionPlanOnThisServer" can be distinguished
from it.
  public RegionsOnDeadServer processServerShutdown(final HServerInfo hsi) {
    RegionsOnDeadServer regionsOnDeadServer = new RegionsOnDeadServer();
    Set<HRegionInfo> regionsOpeningOnServer = new HashSet<HRegionInfo>();
> Handle the regions in regionPlans while processing ServerShutdownHandler
> ------------------------------------------------------------------------
>                 Key: HBASE-5396
>                 URL: https://issues.apache.org/jira/browse/HBASE-5396
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.90.6
>            Reporter: Jieshan Bean
>            Assignee: Jieshan Bean
>             Fix For: 0.90.7
>         Attachments: HBASE-5396-90-V2.patch, HBASE-5396-90-forReview.patch, HBASE-5396-90.patch
> The regions plan to open on this server while ServerShutdownHandler is handling, just
be removed from AM.regionPlans, and only left to TimeoutMonitor handle these regions. This
need to optimize.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message