You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Agostino Sarubbo (Jira)" <ji...@apache.org> on 2019/09/23 10:37:00 UTC
[jira] [Created] (ZOOKEEPER-3554) A way to connect to a different
port in CLIENT_JVMFLAGS
Agostino Sarubbo created ZOOKEEPER-3554:
-------------------------------------------
Summary: A way to connect to a different port in CLIENT_JVMFLAGS
Key: ZOOKEEPER-3554
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3554
Project: ZooKeeper
Issue Type: Improvement
Affects Versions: 3.5.5
Reporter: Agostino Sarubbo
I followed this article to enable ssl in zookeeper:
[https://cwiki.apache.org/confluence/display/ZOOKEEPER/ZooKeeper+SSL+User+Guide]
When I need to connect via zkCli.sh I have to do:
./zkCli.sh -server localhost:2281
If I put those settings in CLIENT_JVMFLAGS it does not work because they need to be after the main class in term of order.
So since I specify all settings in CLIENT_JVMFLAGS, make sense to have a property or something similar to specify the default host/port.
I didn't find a properties to do that, or at least they look to be server properties (clientPortAddress/clientPort)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)