Re: [DISCUSS] Implement Hadoop's setTimes() API

2023-06-07 Thread Sammi Chen
I see. Thanks @Wei-Chiu Chuang for the confirmation. On Wed, 31 May 2023 at 05:08, Wei-Chiu Chuang wrote: > I had the same question too. If I look at the HDFS implementation as the > reference, HDFS setTimes() touches only the directory/file specified. It > doesn't do anything else. Therefore i

Re: [DISCUSS] Implement Hadoop's setTimes() API

2023-05-30 Thread Wei-Chiu Chuang
I had the same question too. If I look at the HDFS implementation as the reference, HDFS setTimes() touches only the directory/file specified. It doesn't do anything else. Therefore it's an O(1) operation. The Hadoop contract test verifies only that an exception is thrown if the file doesn't exist

Re: [DISCUSS] Implement Hadoop's setTimes() API

2023-05-24 Thread Sammi Chen
Hi Wei-Chiu, Thanks for working on this. It's good to support an accurate modification time. The design document attached in the JIRA HDDS-8278 overall looks good. I just have one question regarding the directory's modification time behavior of F