Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.4.5
-
None
-
None
-
None
Description
First of all, I'm just running some test and thus I don't wan't/need any authentication at all. So I didn't configured any. But running my Java client with an Oracle JVM (1.6.38) I run into the following problem:
`2013-01-16 17:40:30,659 [main] INFO org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=192.168.2.28:2181 sessionTimeout=5000 watcher=master.Master@eb42cbf
2013-01-16 17:40:30,674 [main] DEBUG org.apache.zookeeper.ClientCnxn - zookeeper.disableAutoWatchReset is false
2013-01-16 17:40:30,698 [Thread-0] DEBUG master.Master - Master waits...
2013-01-16 17:40:30,701 [main-SendThread(Teots-PC:2181)] INFO org.apache.zookeeper.ClientCnxn - Opening socket connection to server Teots-PC/192.168.2.28:2181. Will not attempt to authenticate using SASL (Unable to locate a login configuration)
2013-01-16 17:40:30,706 [main-SendThread(Teots-PC:2181)] INFO org.apache.zookeeper.ClientCnxn - Socket connection established to Teots-PC/192.168.2.28:2181, initiating session
2013-01-16 17:40:30,708 [main-SendThread(Teots-PC:2181)] DEBUG org.apache.zookeeper.ClientCnxn - Session establishment request sent on Teots-PC/192.168.2.28:2181
2013-01-16 17:40:30,709 [main-SendThread(Teots-PC:2181)] DEBUG org.apache.zookeeper.client.ZooKeeperSaslClient - Could not retrieve login configuration: java.lang.SecurityException: Unable to locate a login configuration
2013-01-16 17:40:30,730 [main-SendThread(Teots-PC:2181)] INFO org.apache.zookeeper.ClientCnxn - Session establishment complete on server Teots-PC/192.168.2.28:2181, sessionid = 0x13c44254fd70003, negotiated timeout = 5000
2013-01-16 17:40:30,732 [main-EventThread] DEBUG master.Master - Master recieved an event: None
2013-01-16 17:40:30,732 [main-SendThread(Teots-PC:2181)] DEBUG org.apache.zookeeper.client.ZooKeeperSaslClient - Could not retrieve login configuration: java.lang.SecurityException: Unable to locate a login configuration
2013-01-16 17:40:30,732 [main-EventThread] DEBUG master.Master - Master's state: SyncConnected
2013-01-16 17:40:30,732 [main-SendThread(Teots-PC:2181)] DEBUG org.apache.zookeeper.client.ZooKeeperSaslClient - Could not retrieve login configuration: java.lang.SecurityException: Unable to locate a login configuration`
This does not happen with an OpenJDK JVM.
Attachments
Issue Links
- Is contained by
-
ZOOKEEPER-1657 Increased CPU usage by unnecessary SASL checks
- Closed
- relates to
-
ZOOKEEPER-1512 Reduce log level of missing ZookeeperSaslClient Security Exception
- Open
-
ZOOKEEPER-1550 ZooKeeperSaslClient does not finish anonymous login on OpenJDK
- Resolved
-
ZOOKEEPER-1510 Should not log SASL errors for non-secure usage
- Resolved