Description
In a unit test run we saw this in an unrelated test. (testReplication)
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)
This is likely due to an initialization race.