[fix](hdfs) Fix hdfsExists that return staled root cause#27991
[fix](hdfs) Fix hdfsExists that return staled root cause#27991morningman merged 1 commit intoapache:masterfrom
Conversation
|
clang-tidy review says "All clean, LGTM! 👍" |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
2ef3e16 to
a30233c
Compare
|
run buildall |
|
clang-tidy review says "All clean, LGTM! 👍" |
TPC-H test result on machine: 'aliyun_ecs.c7a.8xlarge_32C64G' |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
|
PR approved by at least one committer and no changes requested. |
The HDFS native client won't clear the last exception as expected so `hdfsGetLastExceptionRootCause` might return a staled root cause. This PR saves the last root cause here and verifies after hdfsExists returns a non-zero code.
Proposed changes
Issue Number: close #xxx
The HDFS native client won't clear the last exception as expected so
hdfsGetLastExceptionRootCausemight return a staled root cause. This PR saves the last root cause here and verifies after hdfsExists returns a non-zero code.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...