[GitHub] [hbase] Apache9 commented on a diff in pull request #5370: HBASE-28038 Add TLS settings to ZooKeeper client

2023-09-03 Thread via GitHub


Apache9 commented on code in PR #5370:
URL: https://github.com/apache/hbase/pull/5370#discussion_r1314265464


##
hbase-common/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKConfig.java:
##
@@ -330,4 +341,27 @@ public static String 
getClientZKQuorumServersString(Configuration conf) {
 final String[] serverHosts = StringUtils.getStrings(clientQuromServers);
 return buildZKQuorumServerString(serverHosts, clientZkClientPort);
   }
+
+  private static void setZooKeeperClientSystemProperties(String prefix, 
Configuration conf) {

Review Comment:
   @anmolnar Would you like to change the name of this method before merging? 
Or you prefer the original one?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hbase.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [hbase] Apache9 commented on a diff in pull request #5370: HBASE-28038 Add TLS settings to ZooKeeper client

2023-08-27 Thread via GitHub


Apache9 commented on code in PR #5370:
URL: https://github.com/apache/hbase/pull/5370#discussion_r1306614354


##
hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java:
##
@@ -219,6 +222,12 @@ public enum OperationStatusCode {
   public static final String CLIENT_ZOOKEEPER_CLIENT_PORT =
 "hbase.client.zookeeper.property.clientPort";
 
+  /** Supported ZooKeeper client TLS properties */
+  public static final Set ZOOKEEPER_CLIENT_TLS_PROPERTIES =

Review Comment:
   Let's move this to ZKConfig directly? HConstants is IA.Public, but obviously 
we do not want our end users to use these things in their code?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@hbase.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org