hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhihong Yu (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5733) AssignmentManager#processDeadServersAndRegionsInTransition can fail with NPE.
Date Mon, 16 Apr 2012 15:32:19 GMT

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

Zhihong Yu commented on HBASE-5733:
-----------------------------------

@Uma:
Can you generate a patch for trunk ?
I got the following when I tried to apply your patch to trunk:
{code}
[ERROR] /Users/zhihyu/trunk-hbase/src/test/java/org/apache/hadoop/hbase/master/TestAssignmentManager.java:[495,75]
unreported exception com.google.protobuf.ServiceException; must be caught or declared to be
thrown
{code}
                
> 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
>         Attachments: 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

        

Mime
View raw message