You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Shasidhar E S (JIRA)" <ji...@apache.org> on 2016/01/27 15:10:39 UTC

[jira] [Commented] (ZOOKEEPER-2148) ZooKeeper SSL User Guide

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

Shasidhar E S commented on ZOOKEEPER-2148:
------------------------------------------

Hi [~hdeng]
I Configured my zkServer.sh and  zkCli.sh following the instructions in  https://cwiki.apache.org/confluence/display/ZOOKEEPER/ZooKeeper+SSL+User+Guide.
When i start the server with *zkServer.sh start* im getting the following exception

{code}
2016-01-27 16:11:50,687 [myid:] - INFO  [main:FileTxnSnapLog@298] - Snapshotting: 0x25 to /tmp/zookeeper/version-2/snapshot.25
2016-01-27 16:11:50,733 [myid:] - ERROR [main:ZooKeeperServerMain@80] - Unexpected exception, exiting abnormally
java.lang.UnsupportedOperationException: SSL isn't supported in NIOServerCnxn
	at org.apache.zookeeper.server.NIOServerCnxnFactory.configure(NIOServerCnxnFactory.java:644)
	at org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:139)
	at org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:103)
	at org.apache.zookeeper.server.ZooKeeperServerMain.main(ZooKeeperServerMain.java:61)
	at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:125)
	at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:79)
{code}

BTW im using 3,5.1 alpha distribution of Zookeeper.

Can you help me out where is the mistake?
Looking forward to your reply.

Thanks



> ZooKeeper SSL User Guide
> ------------------------
>
>                 Key: ZOOKEEPER-2148
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2148
>             Project: ZooKeeper
>          Issue Type: Sub-task
>          Components: java client
>    Affects Versions: 3.5.1
>            Reporter: Hongchao Deng
>            Assignee: Hongchao Deng
>
> SSL is a new feature added in "3.5+".
> We have a dedicated user guide:
> https://cwiki.apache.org/confluence/display/ZOOKEEPER/ZooKeeper+SSL+User+Guide



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)