stoty commented on code in PR #7140: URL: https://github.com/apache/hadoop/pull/7140#discussion_r1836118563
########## hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SaslConstants.java: ########## @@ -19,9 +19,13 @@ import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.classification.InterfaceStability; +import org.apache.hadoop.conf.Configuration; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import static org.apache.hadoop.fs.CommonConfigurationKeysPublic.HADOOP_SECURITY_SASL_MECHANISM_DEFAULT; +import static org.apache.hadoop.fs.CommonConfigurationKeysPublic.HADOOP_SECURITY_SASL_MECHANISM_KEY; + Review Comment: Calling these values constants is very misleading. Something like SSLMechanismFactory, SSLMechanismHolder or similar would be a more fitting name. -- 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]
