You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@celeborn.apache.org by "pan3793 (via GitHub)" <gi...@apache.org> on 2023/11/08 09:32:50 UTC
Re: [PR] [CELEBORN-1116] Read authentication configs from hadoop_conf_dir [incubator-celeborn]
pan3793 commented on code in PR #2082:
URL: https://github.com/apache/incubator-celeborn/pull/2082#discussion_r1386275411
##########
common/src/main/scala/org/apache/celeborn/common/util/CelebornHadoopUtils.scala:
##########
@@ -80,7 +80,7 @@ object CelebornHadoopUtils extends Logging {
// If we are accessing HDFS and it has Kerberos enabled, we have to login
// from a keytab file so that we can access HDFS beyond the kerberos ticket expiration.
UserGroupInformation.setConfiguration(hadoopConf)
- if (conf.hdfsStorageKerberosEnabled) {
+ if ("kerberos" == hadoopConf.get("hadoop.security.authentication")) {
Review Comment:
the value is case insensitive
--
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-unsubscribe@celeborn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org