spaces-X opened a new issue, #33983:
URL: https://github.com/apache/doris/issues/33983

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   master
   
   be in cloud mode
   
   ### What's Wrong?
   
   Datasink in cloud mode failed caused by parent dir does not exist in 
HdfsFileWriter
   
   Error log like the followings:
   
   ```
   add batch req success but status isn't ok, err: [INTERNAL_ERROR]PStatus: 
[INTERNAL_ERROR]open file failed.
     fs_name:hdfs://xxx.dat", err: (2), No such file or directory), reason: 
Parent directory doesn't exist: xxx
   ```
   
   ### What You Expected?
   
   DataSink success in cloud mode
   
   ### How to Reproduce?
   
   create a table with a hdfs storage vault  and insert data as the following 
sqls:
   ```
   CREATE TABLE `t100` (
     `k1` INT NULL
   ) ENGINE=OLAP
   DUPLICATE KEY(`k1`)
   COMMENT 'OLAP'
   DISTRIBUTED BY HASH(`k1`) BUCKETS 100
   PROPERTIES (
   "file_cache_ttl_seconds" = "0",
   "is_being_synced" = "false",
   "storage_medium" = "hdd",
   "storage_format" = "V2",
   "inverted_index_storage_format" = "V1",
   "light_schema_change" = "true",
   "storage_vault_name" = "hdfs_stage06_wx_1",
   "disable_auto_compaction" = "false",
   "enable_single_replica_compaction" = "false",
   "group_commit_interval_ms" = "10000",
   "group_commit_data_bytes" = "134217728"
   );
   
   insert into t100 values (0);
   ```
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to