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

Error while calling watcher on creating and deleting an HBase table

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.98.14, 1.0.2, 1.2.0, 1.1.1, 2.0.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      [Scenario for Reproducing ] :
      1. Create and delete 10 different HBase tables concurrently (10 threads creating, disabling and deleting their own tables)
      2. Check the HBase Master logs( Null Pointer Exceptions observed caused by data race)

      ERROR [main-EventThread] zookeeper.ClientCnxn: Error while calling watcher 
      java.lang.NullPointerException
       at org.apache.hadoop.hbase.zookeeper.ZKUtil$NodeAndData.isEmpty(ZKUtil.java:667)
       at org.apache.hadoop.hbase.security.access.ZKPermissionWatcher.refreshNodes(ZKPermissionWatcher.java:152)
       at org.apache.hadoop.hbase.security.access.ZKPermissionWatcher.nodeChildrenChanged(ZKPermissionWatcher.java:142)
       at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.process(ZooKeeperWatcher.java:439)
       at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:543)
       at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:518)
      2015-06-05 20:32:04,553 INFO  [B.defaultRpcServer.handler=24,queue=4,port=16000] client.ConnectionManager$HConnectionImplementation: Closing zookeeper sessionid=0x200541f1fd400c0
      2015-06-05 20:32:04,561 INFO  [B.defaultRpcServer.handler=24,queue=4,port=16000] zookeeper.ZooKeeper: Session: 0x200541f1fd400c0 closed
      2015-06-05 20:32:04,561 INFO  [B.defaultRpcServer.handler=24,queue=4,port=16000-EventThread] zookeeper.ClientCnxn: EventThread shut down
      2015-06-05 20:32:04,631 INFO  [B.defaultRpcServer.handler=7,queue=2,port=16000] client.ConnectionManager$HConnectionImplementation: Closing zookeeper sessionid=0x200541f1fd400c2
      2015-06-05 20:32:04,644 INFO  [B.defaultRpcServer.handler=7,queue=2,port=16000] zookeeper.ZooKeeper: Session: 0x200541f1fd400c2 closed
      2015-06-05 20:32:04,644 INFO  [B.defaultRpcServer.handler=7,queue=2,port=16000-EventThread] zookeeper.ClientCnxn: EventThread shut down 
      

        Attachments

        1. HBASE-13901.patch
          0.9 kB
          Ashish Singhi

          Activity

            People

            • Assignee:
              ashish singhi Ashish Singhi
              Reporter:
              neha.bathra Neha Bathra
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: