youngyjd opened a new pull request, #8859:
URL: https://github.com/apache/gravitino/pull/8859

   ### What changes were proposed in this pull request?
   
   Remove FilesetPathNotFoundException and throws FileNotFoundException 
instead. 
   
   ### Why are the changes needed?
   
   When use fsspec through JNI, the JNI layer cannot convert a 
[FilesetPathNotFoundException](https://github.com/datastrato/gravitino-uber/blob/10ab935cf592c4f81693cc7ffda04c13c06bd338/clients/filesystem-hadoop3/src/main/java/org/apache/gravitino/filesystem/hadoop/FilesetPathNotFoundException.java#L24C14-L24C42)
 into Python's FileType.NotFound.
   
   As a result, when fsspec tries to list the file, it ends up with an "unknown 
error".
   
   Fix: #(issue) https://github.com/apache/gravitino/issues/8858
   
   ### Does this PR introduce _any_ user-facing change?
   
   FilesetPathNotFoundException will be removed. Users will see 
FileNotFoundException instead. 
   
   ### How was this patch tested?
   
   1. unit tests.
   2. tested in our environment
   


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