zhuanshenbsj1 opened a new pull request, #11407:
URL: https://github.com/apache/paimon/pull/11407

   ### Purpose
   
   In `HadoopUtils.getHadoopConfiguration`, the `HADOOP_HOME` loop overwrites
   `foundHadoopConfiguration` each iteration instead of accumulating it with
   `|| foundHadoopConfiguration` like every other approach does. Since
   `HADOOP_HOME` usually has only one of `conf` / `etc/hadoop`, the empty
   iteration resets the flag, causing a misleading "Could not find Hadoop
   configuration" WARN even though config was loaded. Log-only; configuration
   itself is unaffected.
   
   ### Changes
   
   Accumulate the flag, consistent with the other approaches.
   
   


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

Reply via email to