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

Fix race in HBase regionserver startup vs ZK SASL authentication

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.92.1, 0.94.0
    • Fix Version/s: 0.94.0, 0.95.0
    • Component/s: security
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Secure RegionServers sometimes fail to start with the following backtrace:

      2012-03-22 17:20:16,737 FATAL org.apache.hadoop.hbase.regionserver.HRegionServer: ABORTING region server centos60-20.ent.cloudera.com,60020,1332462015929: Unexpected exception during initialization, aborting
      org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth for /hbase/shutdown
      at org.apache.zookeeper.KeeperException.create(KeeperException.java:113)
      at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
      at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1131)
      at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.getData(RecoverableZooKeeper.java:295)
      at org.apache.hadoop.hbase.zookeeper.ZKUtil.getDataInternal(ZKUtil.java:518)
      at org.apache.hadoop.hbase.zookeeper.ZKUtil.getDataAndWatch(ZKUtil.java:494)
      at org.apache.hadoop.hbase.zookeeper.ZooKeeperNodeTracker.start(ZooKeeperNodeTracker.java:77)
      at org.apache.hadoop.hbase.regionserver.HRegionServer.initializeZooKeeper(HRegionServer.java:569)
      at org.apache.hadoop.hbase.regionserver.HRegionServer.preRegistrationInitialization(HRegionServer.java:532)
      at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:634)
      at java.lang.Thread.run(Thread.java:662)

        Attachments

        1. TestReplicationPeer-output.log
          5 kB
          Shaneal Manek
        2. TestReplicationPeer-Security-output.log
          6 kB
          Shaneal Manek
        3. testoutput.tar.gz
          9 kB
          Shaneal Manek
        4. HBASE-5780-v2.patch
          0.9 kB
          Shaneal Manek
        5. HBASE-5780.patch
          0.9 kB
          Shaneal Manek

          Issue Links

            Activity

              People

              • Assignee:
                smanek Shaneal Manek
                Reporter:
                smanek Shaneal Manek
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: