[
https://issues.apache.org/jira/browse/ZOOKEEPER-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15304558#comment-15304558
]
Michael Han commented on ZOOKEEPER-1045:
----------------------------------------
Thanks [~rakeshr] for more context. FYI, QuorumCnxManagerTest also fails on
Ubuntu, with a similar but not completely same stack trace comparing on mac.
{code}
Testcase: testNullQuorumAuthServerWithValidQuorumAuthPacket took 0.002 sec
Caused an ERROR
Connection refused
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:198)
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.<init>(Socket.java:425)
at java.net.Socket.<init>(Socket.java:241)
at
org.apache.zookeeper.server.quorum.QuorumCnxManagerTest.getSocketPair(QuorumCnxManagerTest.java:642)
at
org.apache.zookeeper.server.quorum.QuorumCnxManagerTest.testNullQuorumAuthServerWithValidQuorumAuthPacket(QuorumCnxManagerTest.java:494)
{code}
I'll debug in this test case on mac and let you know when I get something.
Currently, I am trying to figure out the root cause of the Case-1, with my
theory that it could be resovled by replacing the apacheds-all with individual
dependencies that javacc reports missing after I removed apacheds-all. Just to
confirm that you don't see Case-1 errors on your local development environment
(windows), right?
> 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)