ksoullpwk commented on issue #9440:
URL: https://github.com/apache/hudi/issues/9440#issuecomment-1676965513

   ```
   private Location getInstantFileNamePath(String fileName)
   {
       return Location.of(fileName.contains(SCHEMA_COMMIT_ACTION) ? 
metaClient.getSchemaFolderName() : 
metaClient.getMetaPath().path()).appendPath(fileName);
   }
   ```
   
   I have checked that line of code and it seems like 
`metaClient.getMetaPath().path()` returns the path without scheme. Then, there 
is the assertion logic in `Location.of` to check if the scheme exists and raise 
the error.
   
   Just replacing `metaClient.getMetaPath().path()` to 
`metaClient.getMetaPath().toString()` would fix this issue.
   PS. I'm not sure if we also need to fix `metaClient.getSchemaFolderName()`.


-- 
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