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

Patrick Hunt commented on ZOOKEEPER-1045:
-----------------------------------------

Another small problem: 3.4.x support Java 1.6 and later. However the code fails 
to compile with 1.6 - 5 warnings and 1 error (this is the core code, I didn't 
get to the tests):

{noformat}
    [javac] Compiling 165 source files to 
/Users/phunt/dev/zookeeper-br34/build/classes
    [javac] 
/Users/phunt/dev/zookeeper-br34/src/java/main/org/apache/zookeeper/Shell.java:276:
 warning: [serial] serializable class 
org.apache.zookeeper.Shell.ExitCodeException has no definition of 
serialVersionUID
    [javac]   public static class ExitCodeException extends IOException {
    [javac]                 ^
    [javac] 
/Users/phunt/dev/zookeeper-br34/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java:782:
 warning: [deprecation] org.apache.zookeeper.server.quorum.LeaderElection in 
org.apache.zookeeper.server.quorum has been deprecated
    [javac]             le = new LeaderElection(this);
    [javac]                      ^
    [javac] 
/Users/phunt/dev/zookeeper-br34/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java:785:
 warning: [deprecation] 
org.apache.zookeeper.server.quorum.AuthFastLeaderElection in 
org.apache.zookeeper.server.quorum has been deprecated
    [javac]             le = new AuthFastLeaderElection(this);
    [javac]                      ^
    [javac] 
/Users/phunt/dev/zookeeper-br34/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java:788:
 warning: [deprecation] 
org.apache.zookeeper.server.quorum.AuthFastLeaderElection in 
org.apache.zookeeper.server.quorum has been deprecated
    [javac]             le = new AuthFastLeaderElection(this, true);
    [javac]                      ^
    [javac] 
/Users/phunt/dev/zookeeper-br34/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java:809:
 warning: [deprecation] org.apache.zookeeper.server.quorum.LeaderElection in 
org.apache.zookeeper.server.quorum has been deprecated
    [javac]             electionAlg = new LeaderElection(this);
    [javac]                               ^
    [javac] 
/Users/phunt/dev/zookeeper-br34/src/java/main/org/apache/zookeeper/server/quorum/LearnerHandler.java:174:
 closeStream(java.io.Closeable) in org.apache.zookeeper.common.IOUtils cannot 
be applied to (java.net.Socket)
    [javac]            IOUtils.closeStream(sock);
    [javac]                   ^
    [javac] 1 error
    [javac] 5 warnings
{noformat}


> 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
>             Fix For: 3.4.9, 3.5.3
>
>         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-1045-br-3-4.patch, 
> ZOOKEEPER-1045-br-3-4.patch, 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)

Reply via email to