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

Matteo Bertozzi resolved HBASE-12257.
-------------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 2.0.0)

committed to branch-1 and 98, master doesn't seems to have that code

> TestAssignmentManager unsynchronized access to regionPlans
> ----------------------------------------------------------
>
>                 Key: HBASE-12257
>                 URL: https://issues.apache.org/jira/browse/HBASE-12257
>             Project: HBase
>          Issue Type: Bug
>          Components: Region Assignment
>    Affects Versions: 0.98.7, 0.99.1
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Trivial
>             Fix For: 0.98.8, 0.99.2
>
>         Attachments: HBASE-11257-98-v0.patch
>
>
> There is some code in TestMasterFailover that access regionPlans without 
> synchronized
> {code}
> Stack Trace:
> java.lang.NullPointerException
>         at java.util.TreeMap.rotateLeft(TreeMap.java:2069)
>         at java.util.TreeMap.fixAfterInsertion(TreeMap.java:2127)
>         at java.util.TreeMap.put(TreeMap.java:574)
>         at 
> org.apache.hadoop.hbase.master.TestMasterFailover.testMasterFailoverWithMockedRITOnDeadRS(TestMasterFailover.java:596)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to