-
Notifications
You must be signed in to change notification settings - Fork 509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: fail to connect hdfs if set atomic_write_dir
#4867
Comments
I encountered the same issue when i tried to reproduce this issue (https://github.com/apache/opendal/actions/runs/10486150908/job/29043772467) on my local machine. opendal/core/src/services/hdfs/backend.rs Line 356 in 0cec8ba
According to https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/filesystem/filesystem.html#boolean_rename.28Path_src.2C_Path_d.29, There must not be an existing file at the end of the destination path and this problem caused many HDFS test cases to fail on my machine. However when I comment out the above code, all the tests pass. Strangely, they all succeed in the Github Action environment. |
Hi, I believe this issue has not been addressed by CI yet. We will need to:
The HDFS |
I'm not sure if i missed something. |
The problematic case is as follows. Users attempted to write opendal/core/src/services/hdfs/writer.rs Lines 104 to 109 in 0cec8ba
|
yes. I've done some trials on my laptop, when I set
these setting are the same to and run
so I'm wondering why the |
Oh, I see. |
Oh, Let me try to change it to |
error log:
The audit log shows that the file to be written was created earlier than the first temporary file, causing the temporary file rename to fail.
The text was updated successfully, but these errors were encountered: