hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7550) Synchronization problem in AssignmentManager
Date Tue, 05 Feb 2013 04:01:19 GMT

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

Hudson commented on HBASE-7550:
-------------------------------

Integrated in HBase-0.94-security-on-Hadoop-23 #11 (See [https://builds.apache.org/job/HBase-0.94-security-on-Hadoop-23/11/])
    HBASE-7550 Synchronization problem in AssignmentManager (Revision 1432806)

     Result = FAILURE
larsh : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java

                
> Synchronization problem in AssignmentManager
> --------------------------------------------
>
>                 Key: HBASE-7550
>                 URL: https://issues.apache.org/jira/browse/HBASE-7550
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>             Fix For: 0.94.5
>
>         Attachments: 7550.txt
>
>
> While running TestSplitTransactionOnCluster#testShouldClearRITWhenNodeFoundInSplittingState
in a loop I encountered this error condition:
> {code}
> java.util.NoSuchElementException
>         at java.util.concurrent.ConcurrentSkipListMap$Iter.advance(ConcurrentSkipListMap.java:2224)
>         at java.util.concurrent.ConcurrentSkipListMap$EntryIterator.next(ConcurrentSkipListMap.java:2270)
>         at java.util.concurrent.ConcurrentSkipListMap$EntryIterator.next(ConcurrentSkipListMap.java:2266)
>         at java.util.TreeMap.buildFromSorted(TreeMap.java:2394)
>         at java.util.TreeMap.buildFromSorted(TreeMap.java:2344)
>         at java.util.TreeMap.&lt;init&gt;(TreeMap.java:195)
>         at org.apache.hadoop.hbase.master.AssignmentManager.getRegionsInTransition(AssignmentManager.java:2843)
>         at org.apache.hadoop.hbase.regionserver.TestSplitTransactionOnCluster.testShouldClearRITWhenNodeFoundInSplittingState(TestSplitTransactionOnCluster.java:637)
> {code}
> This can only occur when the map being copied into the TreeMap is modified concurrently.
> While looking at the (0.94) code I noticed that synchronization is indeed missing from
the nodeDeleted hook.

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

Mime
View raw message