This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new a1cd7b28b37 [fix](hdfs) do not multiply 1000 for seconds (#54958)
a1cd7b28b37 is described below
commit a1cd7b28b37bab51745817cca92a04fed530d579
Author: Yongqiang YANG <[email protected]>
AuthorDate: Tue Aug 19 14:37:59 2025 +0800
[fix](hdfs) do not multiply 1000 for seconds (#54958)
### What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
### Release note
None
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [ ] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [ ] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
Co-authored-by: Yongqiang YANG <[email protected]>
---
be/src/io/fs/hdfs_file_system.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/io/fs/hdfs_file_system.cpp
b/be/src/io/fs/hdfs_file_system.cpp
index f90d406196f..f30a43f4d05 100644
--- a/be/src/io/fs/hdfs_file_system.cpp
+++ b/be/src/io/fs/hdfs_file_system.cpp
@@ -106,7 +106,7 @@ private:
FileHandleCache _cache;
HdfsFileHandleCache()
: _cache(config::max_hdfs_file_handle_cache_num, 16,
- config::max_hdfs_file_handle_cache_time_sec * 1000L) {};
+ config::max_hdfs_file_handle_cache_time_sec) {};
};
Status HdfsFileHandleCache::get_file(const std::shared_ptr<HdfsFileSystem>&
fs, const Path& file,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]