Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-7290 Online snapshots
  3. HBASE-7616

NPE in ZKProcedureCoordinator$1.nodeCreated

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: hbase-7290
    • Fix Version/s: 0.95.0
    • Component/s: snapshots
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      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.

        Attachments

        1. hbase-7616.patch
          6 kB
          Jonathan Hsieh
        2. hbase-7616.v2.patch
          6 kB
          Jonathan Hsieh

          Activity

            People

            • Assignee:
              jmhsieh Jonathan Hsieh
              Reporter:
              jmhsieh Jonathan Hsieh
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: