[
https://issues.apache.org/jira/browse/ZOOKEEPER-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15304513#comment-15304513
]
Rakesh R commented on ZOOKEEPER-1045:
-------------------------------------
Sorry for the confusion. Zab1_0Test is failing for me also and I have described
this problem as *Case-3)*. I'm preparing a solution for this and will share by
tomorrow.
The reason why I asked to re-test {{Zab1_0Test}} without my patch is to
understand the {{QuorumCnxManagerTest.testLearnerHandlerAuthFailed}} failure
case. This is the case I've described earlier as *Case-2)*. From the
{{TEST-*-QuorumCnxManagerTest.txt}} logs shared by both of you, I could see
that the failure is due to {{java.net.SocketException}} which I described in my
above comment's exception log trace. Interesting thing is that, I have copied
this socket creation logic from {{Zab1_0Test#getSocketPair()}} and this logic
is happily working in Zab1_0Test but its failing in QuorumCnxManagerTest in
your MAC machine. I'm really not understanding the root cause of
{{java.net.SocketException: Invalid argument}}. QuorumCnxManagerTest is passing
in my windows machine, will you be able to debug this flow in your mac machine
and let me know the arguments value which results in SocketException. Thanks!
> Quorum Peer mutual authentication
> ---------------------------------
>
> Key: ZOOKEEPER-1045
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1045
> Project: ZooKeeper
> Issue Type: New Feature
> Components: server
> Reporter: Eugene Koontz
> Assignee: Rakesh R
> Priority: Critical
> Attachments: 0001-ZOOKEEPER-1045-br-3-4.patch,
> 1045_failing_phunt.tar.gz, ZK-1045-test-case-failure-logs.zip,
> ZOOKEEPER-1045-00.patch, ZOOKEEPER-1045-Rolling Upgrade Design Proposal.pdf,
> ZOOKEEPER-1045-br-3-4.patch
>
>
> ZOOKEEPER-938 addresses mutual authentication between clients and servers.
> This bug, on the other hand, is for authentication among quorum peers.
> Hopefully much of the work done on SASL integration with Zookeeper for
> ZOOKEEPER-938 can be used as a foundation for this enhancement.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)