Skip to content

bug: fail to connect hdfs if set atomic_write_dir #4867

@wcy-fdu

Description

@wcy-fdu

error log:

2024-06-27 19:15:26,794 WARN org.apache.hadoop.hdfs.StateChange: DIR* FSDirectory.unprotectedRenameTo: failed to rename /atomic_write_dir/0.bbca8834-a39b-432c-a0b9-72743ba5f218 to /data/cluster_id/0 because destination exists

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions