zhangstar333 commented on code in PR #70659:
URL: https://github.com/apache/doris/pull/70659#discussion_r4638110630


##########
be/src/io/hdfs_builder.cpp:
##########
@@ -137,7 +138,16 @@ std::string HDFSCommonBuilder::get_hdfs_conf_value(const 
std::string& key,
 }
 
 void HDFSCommonBuilder::set_hdfs_conf_to_hdfs_builder() {
+    if (get_hdfs_conf_value(HADOOP_SECURITY_AUTHENTICATION, "simple") == 
"kerberos") {
+        // FE can expand core-default.xml's renewal=false into the incoming 
configuration.
+        // libhdfs prepends settings and replays them in reverse order: false 
then true
+        // would apply true then false. Resolve the map first and emit this 
key only once.

Review Comment:
   fixed



-- 
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]

Reply via email to