VenuReddy2103 commented on code in PR #6476:
URL: https://github.com/apache/hive/pull/6476#discussion_r3231635097
##########
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java:
##########
@@ -1477,6 +1477,10 @@ public enum ConfVars {
"Metastore SSL certificate truststore type."),
SSL_TRUSTMANAGERFACTORY_ALGORITHM("metastore.trustmanagerfactory.algorithm",
"hive.metastore.trustmanagerfactory.algorithm", "",
"Metastore SSL certificate truststore algorithm."),
+ SSL_INCLUDE_PROTOCOLS("metastore.include.protocols",
"hive.metastore.include.protocols", "",
+ "List of include SSL protocols separated by comma for Metastore"),
+ SSL_INCLUDE_CIPHERSUITES("metastore.include.ciphersuites",
"hive.metastore.include.ciphersuites", "",
+ "List of include cipher suite names separated by colon for Metastore"),
Review Comment:
done
##########
standalone-metastore/metastore-client/src/main/java/org/apache/hadoop/hive/metastore/client/ThriftHiveMetaStoreClient.java:
##########
@@ -575,9 +580,13 @@ private THttpClient createHttpClient(URI store, boolean
useSSL) throws MetaExcep
String trustStorePassword = MetastoreConf.getPassword(conf,
MetastoreConf.ConfVars.SSL_TRUSTSTORE_PASSWORD);
String trustStoreType = MetastoreConf.getVar(conf,
MetastoreConf.ConfVars.SSL_TRUSTSTORE_TYPE).trim();
String trustStoreAlgorithm = MetastoreConf.getVar(conf,
MetastoreConf.ConfVars.SSL_TRUSTMANAGERFACTORY_ALGORITHM).trim();
+ String[] includeProtocols =
Iterables.toArray(Splitter.on(",").trimResults().omitEmptyStrings()
+ .split(MetastoreConf.getVar(conf,
MetastoreConf.ConfVars.SSL_INCLUDE_PROTOCOLS)), String.class);
+ String[] includeCipherSuites =
Iterables.toArray(Splitter.on(":").trimResults().omitEmptyStrings()
+ .split(MetastoreConf.getVar(conf,
MetastoreConf.ConfVars.SSL_INCLUDE_CIPHERSUITES)), String.class);
Review Comment:
done
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]