hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jxi...@apache.org
Subject svn commit: r1493984 - /hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java
Date Tue, 18 Jun 2013 02:02:16 GMT
Author: jxiang
Date: Tue Jun 18 02:02:16 2013
New Revision: 1493984

URL: http://svn.apache.org/r1493984
Log:
HBASE-8757 ZK throws IllegalStateException

Modified:
    hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java

Modified: hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java?rev=1493984&r1=1493983&r2=1493984&view=diff
==============================================================================
--- hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java
(original)
+++ hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java
Tue Jun 18 02:02:16 2013
@@ -400,10 +400,11 @@ public class ZooKeeperWatcher implements
         break;
 
       case ConnectedReadOnly:
+      case SaslAuthenticated:
         break;
 
       default:
-        throw new IllegalStateException("Received event is not valid.");
+        throw new IllegalStateException("Received event is not valid: " + event.getState());
     }
   }
 



Mime
View raw message