fuchaohong commented on code in PR #7643:
URL: https://github.com/apache/hadoop/pull/7643#discussion_r2084056693


##########
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeHttpServer.java:
##########
@@ -93,6 +99,27 @@ public static void initWebHdfs(Configuration conf, 
HttpServer2 httpServer2,
 
     final String pathSpec = WebHdfsFileSystem.PATH_PREFIX + "/*";
 
+    if (conf.get(HADOOP_SECURITY_AUTHENTICATION,
+        "simple").equalsIgnoreCase("kerberos") &&
+        conf.get(HADOOP_HTTP_AUTHENTICATION_TYPE,
+            "simple").equalsIgnoreCase("simple") &&

Review Comment:
   @zeekling Thanks for your review. In HADOOP-16314, the HTTP 
AuthenticationFilter was unified, and we would also like to follow this 
configuration here. 



-- 
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: common-issues-unsubscr...@hadoop.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to