shbhmrzd
12/07/2023, 9:45 AMhadoop dfs -ls /
I want the file to only show up once the write is complete. Alternatively, I tried writing to a temp file and renaming it later.
But Hadoop API fails as it does not support renaming.
But the docs show that renaming is supported - https://opendal.apache.org/docs/services/hdfs
Can someone please help on this ?Xuanwo
12/07/2023, 9:47 AMXuanwo
12/07/2023, 9:47 AMXuanwo
12/07/2023, 9:48 AMatomic_write_dir support for hdfs like what we do for fs.Xuanwo
12/07/2023, 9:48 AMshbhmrzd
12/07/2023, 9:52 AMfs but that also does not support atomic writes. I tested local fs and the partially written file started showing up on ls. fs has support for rename thoughXuanwo
12/07/2023, 9:52 AMXuanwo
12/07/2023, 9:52 AMXuanwo
12/07/2023, 9:53 AMshbhmrzd
12/07/2023, 9:54 AMshbhmrzd
12/07/2023, 9:55 AMXuanwo
12/07/2023, 9:56 AMXuanwo
12/07/2023, 9:56 AMshbhmrzd
12/07/2023, 9:57 AMXuanwo
12/07/2023, 9:58 AMXuanwo
12/07/2023, 9:59 AMshbhmrzd
12/07/2023, 10:00 AMshbhmrzd
12/07/2023, 10:06 AM0.41.0 of OpenDAL
https://cdn.discordapp.com/attachments/1182256646735528007/1182261782463660102/error_logs.txt?ex=65840e16&is=65719916&hm=4c1e38ef798fe68f50c6c439b6e04dec14a515fafa9a8dc6f3b3d596b898f022&
https://cdn.discordapp.com/attachments/1182256646735528007/1182261782987939840/image.png?ex=65840e16&is=65719916&hm=95f3ff17214d29d110b7f11eb814d436353687795fd4c9b18245f8cfb07dc06d&Xuanwo
12/07/2023, 10:09 AM