Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-13388

Handling NullPointer in ZKProcedureMemberRpcs while getting ZNode data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 1.0.1, 1.1.0, 0.98.12, 2.0.0
    • None
    • None
    • Reviewed

    Description

      Handling a minor NullPointer in ZKProcedureMemberRpcs while getting ZNode data. Does not have any functional impact is just a little cleaner

      2015-04-01 10:04:32,913 INFO [ver60020-EventThread] procedure.ZKProcedureMemberRpcs - Received procedure start children changed event: /hbase/online-snapshot/acquired
      2015-04-01 10:04:32,913 DEBUG [ver60020-EventThread] procedure.ZKProcedureMemberRpcs - Looking for new procedures under znode:'/hbase/online-snapshot/acquired'
      2015-04-01 10:04:32,916 DEBUG [ver60020-EventThread] procedure.ZKProcedureMemberRpcs - Found procedure znode: /hbase/online-snapshot/acquired/test13
      2015-04-01 10:04:32,917 ERROR [ver60020-EventThread] zookeeper.ClientCnxn - Error while calling watcher
      java.lang.NullPointerException
      at org.apache.hadoop.hbase.procedure.ZKProcedureMemberRpcs.startNewSubprocedure(ZKProcedureMemberRpcs.java:203)
      at org.apache.hadoop.hbase.procedure.ZKProcedureMemberRpcs.waitForNewProcedures(ZKProcedureMemberRpcs.java:172)
      at org.apache.hadoop.hbase.procedure.ZKProcedureMemberRpcs.access$100(ZKProcedureMemberRpcs.java:55)
      at org.apache.hadoop.hbase.procedure.ZKProcedureMemberRpcs$1.nodeChildrenChanged(ZKProcedureMemberRpcs.java:107)
      at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.process(ZooKeeperWatcher.java:351)
      at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:522)
      at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:498)
      2015-04-01 10:04:32,917 INFO [ver60020-EventThread] procedure.ZKProcedureMemberRpcs - Received procedure start children changed event: /hbase/online-snapshot/acquired
      2015-04-01 10:04:32,917 DEBUG [ver60020-EventThread] procedure.ZKProcedureMemberRpcs - Looking for new procedures under znode:'/hbase/online-snapshot/acquired'
      2015-04-01 10:04:32,918 INFO [ver60020-EventThread] procedure.ZKProcedureMemberRpcs - Received procedure abort children changed event: /hbase/online-snapshot/abort
      2015-04-01 10:04:32,918 DEBUG [ver60020-EventThread] procedure.ZKProcedureMemberRpcs - Checking for aborted procedures on node: '/hbase/online-snapshot/abort'

      Attachments

        1. HBASE-13388.patch
          1 kB
          Vikas Vishwakarma

        Activity

          People

            vik.karma Vikas Vishwakarma
            vik.karma Vikas Vishwakarma
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: