hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r1205642 - in /hbase/branches/0.92: CHANGES.txt security/src/main/java/org/apache/hadoop/hbase/security/token/AuthenticationTokenSecretManager.java
Date Wed, 23 Nov 2011 22:46:20 GMT
Author: garyh
Date: Wed Nov 23 22:46:20 2011
New Revision: 1205642

URL: http://svn.apache.org/viewvc?rev=1205642&view=rev
Log:
HBASE-4857  Recursive loop on KeeperException in AuthenticationTokenSecretManager

Modified:
    hbase/branches/0.92/CHANGES.txt
    hbase/branches/0.92/security/src/main/java/org/apache/hadoop/hbase/security/token/AuthenticationTokenSecretManager.java

Modified: hbase/branches/0.92/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/CHANGES.txt?rev=1205642&r1=1205641&r2=1205642&view=diff
==============================================================================
--- hbase/branches/0.92/CHANGES.txt (original)
+++ hbase/branches/0.92/CHANGES.txt Wed Nov 23 22:46:20 2011
@@ -440,6 +440,8 @@ Release 0.92.0 - Unreleased
    HBASE-4842  [hbck] Fix intermittent failures on TestHBaseFsck.testHBaseFsck
                (Jon Hsieh)
    HBASE-4308  Race between RegionOpenedHandler and AssignmentManager (Ram)
+   HBASE-4857  Recursive loop on KeeperException in
+               AuthenticationTokenSecretManager/ZKLeaderManager
 
   TESTS
    HBASE-4492  TestRollingRestart fails intermittently

Modified: hbase/branches/0.92/security/src/main/java/org/apache/hadoop/hbase/security/token/AuthenticationTokenSecretManager.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/security/src/main/java/org/apache/hadoop/hbase/security/token/AuthenticationTokenSecretManager.java?rev=1205642&r1=1205641&r2=1205642&view=diff
==============================================================================
--- hbase/branches/0.92/security/src/main/java/org/apache/hadoop/hbase/security/token/AuthenticationTokenSecretManager.java
(original)
+++ hbase/branches/0.92/security/src/main/java/org/apache/hadoop/hbase/security/token/AuthenticationTokenSecretManager.java
Wed Nov 23 22:46:20 2011
@@ -287,6 +287,10 @@ public class AuthenticationTokenSecretMa
 
     @Override
     public void stop(String reason) {
+      if (stopped) {
+        return;
+      }
+
       stopped = true;
       // prevent further key generation when stopping
       if (isMaster) {



Mime
View raw message