vinothchandar commented on PR #13399:
URL: https://github.com/apache/hudi/pull/13399#issuecomment-2959066130

   @danny0405 did you verify the pending concern I had? 
   
   following seems to fail for me. 
   
   
   ```java
    @Test
     public void testCreationOfParentPaths() throws IOException {
       // given
       String path = "file:///a/b/c.txt";
       FileSystem fs = HadoopFSUtils.getFs(path, new Configuration());
       HoodieStorage storage = new HoodieHadoopStorage(fs);
       if (storage.exists(new StoragePath(path))) {
         storage.deleteDirectory(new StoragePath(path));
       }
   
       // when
       storage.create(new StoragePath(path), false).close();
     }
   ```
   
   throws 
   
   ```bash
   java.io.IOException: Mkdirs failed to create file:/a/b (exists=false, 
cwd=file:/Users/vc/Code/hudi-reviews/hudi-hadoop-common)
   
        at 
org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:455)
        at 
org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:441)
        at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1073)
        at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1054)
        at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:943)
        at 
org.apache.hudi.storage.hadoop.HoodieHadoopStorage.create(HoodieHadoopStorage.java:129)
        at 
org.apache.hudi.common.fs.TestFSUtils.testCreationOfParentPaths(TestFSUtils.java:610)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   ```
   
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to