This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch hdfs-append
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/hdfs-append by this push:
     new 017b401ff Create it
017b401ff is described below

commit 017b401ffafdb56c178cfc6b8ac8b2eb132c501a
Author: Xuanwo <[email protected]>
AuthorDate: Wed Jul 26 14:42:17 2023 +0800

    Create it
    
    Signed-off-by: Xuanwo <[email protected]>
---
 core/src/services/hdfs/backend.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/src/services/hdfs/backend.rs 
b/core/src/services/hdfs/backend.rs
index c1e188a50..0bb0c0859 100644
--- a/core/src/services/hdfs/backend.rs
+++ b/core/src/services/hdfs/backend.rs
@@ -269,6 +269,7 @@ impl Accessor for HdfsBackend {
                 .client
                 .open_file()
                 .create(true)
+                .write(true)
                 .async_open(&p)
                 .await
                 .map_err(parse_io_error)?;

Reply via email to