hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uma Maheswara Rao G (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5733) AssignmentManager#processDeadServersAndRegionsInTransition can fail with NPE.
Date Tue, 17 Apr 2012 06:07:26 GMT

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

Uma Maheswara Rao G commented on HBASE-5733:
--------------------------------------------

Yeah, I just seen that in logs in real cluster with this situation. I will remove that explicit
FATAL log here. 
{quote}
2012-04-17 11:18:39,353 FATAL org.apache.hadoop.hbase.master.AssignmentManager: Problem in
getting the children from ZK. Going to abort
2012-04-17 11:18:39,354 FATAL org.apache.hadoop.hbase.master.HMaster: Master server abort:
loaded coprocessors are: []
2012-04-17 11:18:39,354 FATAL org.apache.hadoop.hbase.master.HMaster: Problem in getting the
children from ZK
java.io.IOException: Failed to get the children from ZK
	at org.apache.hadoop.hbase.master.AssignmentManager.processDeadServersAndRegionsInTransition(AssignmentManager.java:398)
	at org.apache.hadoop.hbase.master.AssignmentManager.joinCluster(AssignmentManager.java:347)
	at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:537)
	at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:343)
	at java.lang.Thread.run(Thread.java:662)
2012-04-17 11:18:39,355 INFO org.apache.hadoop.hbase.master.HMaster: Aborting

{quote}
                
> 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, 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