hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-7616) NPE in ZKProcedureCoordinator$1.nodeCreated
Date Fri, 18 Jan 2013 21:28:13 GMT

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

Jonathan Hsieh edited comment on HBASE-7616 at 1/18/13 9:26 PM:
----------------------------------------------------------------

Thanks Ted, Matteo.  I've committed v2.  

In v2 I removed publics but left in else's (it makes the code slightly more compact, at no
readability cost)
                
      was (Author: jmhsieh):
    Thanks Ted, MAateo.  I've committed v2.  

In v2 I removed publics but left in else's (it makes the code slightly more compact, at no
readability cost)
                  
> NPE in ZKProcedureCoordinator$1.nodeCreated
> -------------------------------------------
>
>                 Key: HBASE-7616
>                 URL: https://issues.apache.org/jira/browse/HBASE-7616
>             Project: HBase
>          Issue Type: Sub-task
>          Components: snapshots
>    Affects Versions: hbase-7290
>            Reporter: Jonathan Hsieh
>            Assignee: Jonathan Hsieh
>             Fix For: hbase-7290
>
>         Attachments: hbase-7616.patch, hbase-7616.v2.patch
>
>
> In a unit test run we saw this in an unrelated test.  (testReplication)
> {code}
> 2013-01-15 13:07:47,337 DEBUG [pool-1-thread-1-EventThread] zookeeper.ZKUtil(1611): master:32835-0x13c4009e99f0003
Retrieved 28 byte(s) of data from znode /1/shutdown and set watcher; Tue Jan 15 13:07:47 PST
2013
> 2013-01-15 13:07:47,339 ERROR [pool-1-thread-1-EventThread] zookeeper.ClientCnxn$EventThread(521):
Error while calling watcher 
> java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.procedure.ZKProcedureCoordinatorRpcs$1.nodeCreated(ZKProcedureCoordinatorRpcs.java:168)
> 	at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.process(ZooKeeperWatcher.java:294)
> 	at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:519)
> 	at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:495)
> {code}
> This is likely due to an initialization race.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message