[
https://issues.apache.org/jira/browse/HBASE-11740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14099102#comment-14099102
]
Hudson commented on HBASE-11740:
--------------------------------
FAILURE: Integrated in HBase-1.0 #105 (See
[https://builds.apache.org/job/HBase-1.0/105/])
HBASE-11740 RegionStates.getRegionAssignments() gets stuck on clone (Virag
Kothari) (jxiang: rev a3f99265c3cfd8af1facf6b00110be910b3039d4)
* hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
> RegionStates.getRegionAssignments() gets stuck on clone
> -------------------------------------------------------
>
> Key: HBASE-11740
> URL: https://issues.apache.org/jira/browse/HBASE-11740
> Project: HBase
> Issue Type: Sub-task
> Components: Region Assignment
> Reporter: Virag Kothari
> Assignee: Virag Kothari
> Fix For: 0.99.0, 2.0.0, 0.98.6
>
> Attachments: HBASE-11740.patch, HBASE-11740_2.patch
>
>
> This happens in processDeadServersAndRegionsInTransition() on Master startup.
> RegionAssigments is a tree map and TreeMap.clone() is expensive as it builds
> a tree from sorted data (Order of n). There were a million entries in
> RegionAssigments and from jstack, thread was stuck in
> TreeMap.buildFromSorted() for couple of hours.
> Instead of this shadow clone, wrapping as an unmodifiable Map should be
> enough.
--
This message was sent by Atlassian JIRA
(v6.2#6252)