You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2010/09/22 00:21:33 UTC

[jira] Created: (HBASE-3024) NPE processing server crash in MetaEditor.addDaughter

NPE processing server crash in MetaEditor.addDaughter
-----------------------------------------------------

                 Key: HBASE-3024
                 URL: https://issues.apache.org/jira/browse/HBASE-3024
             Project: HBase
          Issue Type: Bug
            Reporter: stack
             Fix For: 0.90.0


{code}
2010-09-21 22:11:01,812 INFO org.apache.hadoop.hbase.master.handler.ServerShutdownHandler: Reassigning the 116 region(s) that sv2borg183,60020,1285106817665 was carrying.
2010-09-21 22:11:01,813 INFO org.apache.hadoop.hbase.master.handler.ServerShutdownHandler: Fixup; missing daughter [B@4b0bc3c9
2010-09-21 22:11:01,818 ERROR org.apache.hadoop.hbase.executor.EventHandler: Caught throwable while processing event M_SERVER_SHUTDOWN
java.lang.NullPointerException
        at org.apache.hadoop.hbase.catalog.MetaEditor.addDaughter(MetaEditor.java:102)
        at org.apache.hadoop.hbase.master.handler.ServerShutdownHandler.fixupDaughter(ServerShutdownHandler.java:156)
        at org.apache.hadoop.hbase.master.handler.ServerShutdownHandler.fixupDaughters(ServerShutdownHandler.java:137)
        at org.apache.hadoop.hbase.master.handler.ServerShutdownHandler.process(ServerShutdownHandler.java:120)
        at org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:150)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HBASE-3024) NPE processing server crash in MetaEditor.addDaughter

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-3024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-3024.
--------------------------

      Assignee: stack
    Resolution: Fixed

Committed small patch.

> NPE processing server crash in MetaEditor.addDaughter
> -----------------------------------------------------
>
>                 Key: HBASE-3024
>                 URL: https://issues.apache.org/jira/browse/HBASE-3024
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.90.0
>
>         Attachments: 3024.txt
>
>
> {code}
> 2010-09-21 22:11:01,812 INFO org.apache.hadoop.hbase.master.handler.ServerShutdownHandler: Reassigning the 116 region(s) that sv2borg183,60020,1285106817665 was carrying.
> 2010-09-21 22:11:01,813 INFO org.apache.hadoop.hbase.master.handler.ServerShutdownHandler: Fixup; missing daughter [B@4b0bc3c9
> 2010-09-21 22:11:01,818 ERROR org.apache.hadoop.hbase.executor.EventHandler: Caught throwable while processing event M_SERVER_SHUTDOWN
> java.lang.NullPointerException
>         at org.apache.hadoop.hbase.catalog.MetaEditor.addDaughter(MetaEditor.java:102)
>         at org.apache.hadoop.hbase.master.handler.ServerShutdownHandler.fixupDaughter(ServerShutdownHandler.java:156)
>         at org.apache.hadoop.hbase.master.handler.ServerShutdownHandler.fixupDaughters(ServerShutdownHandler.java:137)
>         at org.apache.hadoop.hbase.master.handler.ServerShutdownHandler.process(ServerShutdownHandler.java:120)
>         at org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:150)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:619)
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-3024) NPE processing server crash in MetaEditor.addDaughter

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-3024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-3024:
-------------------------

    Attachment: 3024.txt

ServerInfo doing fixup on a daughter can legitimately be null; we even check for it only later, when we go to log what we've just done, we've lost the serverinfo null check.  This patch adds it back.

> NPE processing server crash in MetaEditor.addDaughter
> -----------------------------------------------------
>
>                 Key: HBASE-3024
>                 URL: https://issues.apache.org/jira/browse/HBASE-3024
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.90.0
>
>         Attachments: 3024.txt
>
>
> {code}
> 2010-09-21 22:11:01,812 INFO org.apache.hadoop.hbase.master.handler.ServerShutdownHandler: Reassigning the 116 region(s) that sv2borg183,60020,1285106817665 was carrying.
> 2010-09-21 22:11:01,813 INFO org.apache.hadoop.hbase.master.handler.ServerShutdownHandler: Fixup; missing daughter [B@4b0bc3c9
> 2010-09-21 22:11:01,818 ERROR org.apache.hadoop.hbase.executor.EventHandler: Caught throwable while processing event M_SERVER_SHUTDOWN
> java.lang.NullPointerException
>         at org.apache.hadoop.hbase.catalog.MetaEditor.addDaughter(MetaEditor.java:102)
>         at org.apache.hadoop.hbase.master.handler.ServerShutdownHandler.fixupDaughter(ServerShutdownHandler.java:156)
>         at org.apache.hadoop.hbase.master.handler.ServerShutdownHandler.fixupDaughters(ServerShutdownHandler.java:137)
>         at org.apache.hadoop.hbase.master.handler.ServerShutdownHandler.process(ServerShutdownHandler.java:120)
>         at org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:150)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:619)
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.