[fix](fs) Fix hdfs file writer#33680
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
run buildall |
|
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 38366 ms |
TPC-DS: Total hot run time: 184193 ms |
ClickBench: Total hot run time: 31.27 s |
|
Load test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
TeamCity be ut coverage result: |
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 38488 ms |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
|
This PR makes [BE UT (macOS)] fail: /Users/runner/work/doris/doris/be/src/io/fs/hdfs_file_writer.cpp:63:19: error: use of undeclared identifier 'hdfsHSync'; did you mean 'hdfsSync'? |
1. MacOS use libhdfs3, so we need call different function.
this compile error intro by PR apache#33680
2. size_t is not UInt64 on MacOS
this compile error intro by PR apache#33265
1. MacOS use libhdfs3, so we need call different function.
this compile error intro by PR apache#33680
2. size_t is not UInt64 on MacOS
this compile error intro by PR apache#33265
1. MacOS use libhdfs3, so we need call different function.
this compile error intro by PR apache#33680
2. size_t is not UInt64 on MacOS
this compile error intro by PR apache#33265
Proposed changes
Fix hdfs file writer
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...