You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "ramkrishna.s.vasudevan (JIRA)" <ji...@apache.org> on 2012/05/30 19:13:23 UTC

[jira] [Resolved] (HBASE-5733) AssignmentManager#processDeadServersAndRegionsInTransition can fail with NPE.

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

ramkrishna.s.vasudevan resolved HBASE-5733.
-------------------------------------------

    Resolution: Fixed

Committed to 0.94 and 0.92.  Hence resolving it.
                
> AssignmentManager#processDeadServersAndRegionsInTransition can fail with NPE.
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-5733
>                 URL: https://issues.apache.org/jira/browse/HBASE-5733
>             Project: HBase
>          Issue Type: Bug
>          Components: master
>    Affects Versions: 0.96.0
>            Reporter: Uma Maheswara Rao G
>            Assignee: Uma Maheswara Rao G
>             Fix For: 0.92.2, 0.96.0, 0.94.1
>
>         Attachments: HBASE-5733.patch, HBASE-5733.patch, HBASE-5733.patch
>
>
> Found while going through the code...
> AssignmentManager#processDeadServersAndRegionsInTransition can fail with NPE as this is directly iterating the nodes from listChildrenAndWatchForNewChildren with-out checking for null.
> Here also we need to handle with  null  check like other places.

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