hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Spiegelberg (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-4785) Improve recovery time of HBase client when a region server dies.
Date Wed, 23 Nov 2011 18:57:39 GMT

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

Nicolas Spiegelberg updated HBASE-4785:
---------------------------------------

    Attachment: HBASE-4785.patch

Fixes SoftValueSortedMap.  Internal comments:

Currently SoftValueSortedMap.entrySet() tries to iteraate through the entry set of the underlying
map, and put all the values (SoftValue<K,V>) to a newly created TreeSet<Entry<K,V>>.
The entry set of SortedMap is already sorted, so it's not necessary to have a TreeSet to sort
those entries again upon adding. This gets rid of the runtime class cast exception because
it does not require comparing anymore.
                
> Improve recovery time of HBase client when a region server dies.
> ----------------------------------------------------------------
>
>                 Key: HBASE-4785
>                 URL: https://issues.apache.org/jira/browse/HBASE-4785
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4785.patch, HBASE-4785.patch
>
>
> When a region server dies, the HBase client waits until the RPC timesout before learning
that it needs to check META to find the new location of the region. And it incurs this *timeout*
cost for every region being served by the dead region server. Remove this overhead by clearing
the entries in cache that have the dead region server as their values.

--
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

        

Mime
View raw message