HBASE-8757 ZK throws IllegalStateException
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1493984 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
62f513257e
commit
30984b7c83
|
@ -400,10 +400,11 @@ public class ZooKeeperWatcher implements Watcher, Abortable, Closeable {
|
|||
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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue