[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13279603#comment-13279603
 ] 

Antonio commented on ZOOKEEPER-1437:
------------------------------------

Hi,

I've tested with the latest patch (released on 18/May/12 23:03) but I get the 
same issue:

{code:none}
2012-05-19 18:49:44,067 [main-EventThread] DEBUG 
org.apache.zookeeper.client.ZooKeeperSaslClient  - 
ServerSaslResponseCallback(): using empty data[] as server response (length=0)
2012-05-19 18:49:44,067 [main-EventThread] DEBUG 
org.apache.zookeeper.client.ZooKeeperSaslClient  - saslToken (server) length: 0
2012-05-19 18:49:44,067 [main-EventThread] DEBUG 
org.apache.zookeeper.client.ZooKeeperSaslClient  - 
saslClient.evaluateChallenge(len=0)
2012-05-19 18:49:44,068 [main-EventThread] ERROR 
org.apache.zookeeper.client.ZooKeeperSaslClient  - An error: 
(java.security.PrivilegedActionException: javax.security.sasl.SaslException: 
DIGEST-MD5: Digest-challenge format violation: algorithm directive missing) 
occurred when evaluating Zookeeper Quorum Member's  received SASL token. 
Zookeeper Client will go to AUTH_FAILED state.
2012-05-19 18:49:44,068 [SyncThread:0] DEBUG 
org.apache.zookeeper.server.FinalRequestProcessor  - Processing request:: 
sessionid:0x137666e45f70000 type:sync: cxid:0xa zxid:0xfffffffffffffffe 
txntype:unknown reqpath:/
2012-05-19 18:49:44,068 [main-EventThread] ERROR 
org.apache.zookeeper.client.ZooKeeperSaslClient  - SASL authentication failed 
using login context 'null'.
{code}

Eugene, I'm using as java client Curator. I can provide a junit test to 
reproduce the issue if it's fine with you.

The easiest way to reproduce it is with Curator and the provided TestingServer 
(curator-test.jar) but I got same using the curator client connected to a 
running zookeeper server.
That's should be the same since the TestingServer is actually running an actual 
zookeeper server.

Let me know and thanks.
Antonio
                
> Client uses session before SASL authentication complete
> -------------------------------------------------------
>
>                 Key: ZOOKEEPER-1437
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1437
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.4.3
>            Reporter: Thomas Weise
>            Assignee: Eugene Koontz
>             Fix For: 3.4.4, 3.5.0
>
>         Attachments: ZOOKEEPER-1437.patch, ZOOKEEPER-1437.patch, 
> ZOOKEEPER-1437.patch, ZOOKEEPER-1437.patch, ZOOKEEPER-1437.patch, 
> ZOOKEEPER-1437.patch, ZOOKEEPER-1437.patch, ZOOKEEPER-1437.patch, 
> ZOOKEEPER-1437.patch, ZOOKEEPER-1437.patch
>
>
> Found issue in the context of hbase region server startup, but can be 
> reproduced w/ zkCli alone.
> getData may occur prior to SaslAuthenticated and fail with NoAuth. This is 
> not expected behavior when the client is configured to use SASL.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to