jojochuang commented on code in PR #6194:
URL: https://github.com/apache/hadoop/pull/6194#discussion_r1362493253
##########
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SecurityUtil.java:
##########
@@ -786,4 +789,96 @@ public static List<ZKUtil.ZKAuthInfo>
getZKAuthInfos(Configuration conf,
throw e;
}
}
+
+ public static void validateSslConfiguration(TruststoreKeystore
truststoreKeystore) throws ConfigurationException {
+ if
(org.apache.commons.lang3.StringUtils.isEmpty(truststoreKeystore.keystoreLocation))
{
Review Comment:
would be nice to import org.apache.commons.lang3.StringUtils in the
beginning and get rid of the prefix in the code. I believe all the old
commons-lang library code is removed from Hadoop now we we only use
commons-lang3.
--
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]