morningman opened a new pull request, #70931:
URL: https://github.com/apache/doris/pull/70931

   ### Background
   
   Cloud's Linux HDFS accessor uses the Hadoop native client from the 
third-party install. Branch 4.2 ships both Hadoop 3.3 and Hadoop 3.4, and BE 
already links Hadoop 3.4.
   
   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: #66908
   
   PR Type: Build/CI/Chore
   
   Problem Summary:
   
   Cloud still builds against the Hadoop 3.3 prefix when both versions are 
installed. This partial backport switches the Cloud header, static archive, and 
unit-test JAR source to `hadoop_hdfs_3_4`.
   
   ### Details
   
   - **Affected:** Cloud builds on Linux x86_64 and AArch64, and the Hadoop JAR 
staging step in `run-cloud-ut.sh`.
   - **Developer and release impact:** Cloud links the Hadoop 3.4.2.2 library 
on this branch. The Cloud test runner loads the staged 3.4 JARs from its 
existing `lib/hadoop_hdfs` classpath directory.
   - **License and third-party:** Uses the Hadoop 3.4 dependency already built 
on this branch. No new dependencies or license changes.
   - **Rollback:** Revert this commit to restore the Hadoop 3.3 paths.
   - **Behavior change:** Cloud selects the Hadoop 3.4 native client when both 
prefixes are installed.
   
   ### Testing
   
   - Applied the four Cloud changes from `02fbf377c168` and ran `git diff 
--check`, `bash -n run-cloud-ut.sh`, and ShellCheck at error severity.
   - On macOS ARM64, ran a synthetic Linux path fixture using the actual 
include directives, CMake block, and JAR copy step. The baseline requires the 
old prefix. The candidate selects the 3.4 header, archive path, and JARs with 
either both prefixes or only the 3.4 prefix.
   
   ### Release note
   
   Cloud builds for Linux now use the Hadoop 3.4 native HDFS client.
   
   ### Check List (For Author)
   
   - Test
       - [x] Manual test. See Testing above.
   - Behavior changed: Yes
   - Does this need documentation: No
   - Pre-submission status: Partially verified: full Linux Cloud build and 
HDFS-backed unit tests remain unverified.
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label
   
   ### AI Disclosure
   
   - Tool: Codex
   - Generated: Applied the existing Cloud changes from #66908 and drafted the 
description.
   - Human review: No post-change review was reported before submission.
   
   


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