yuqi1129 commented on code in PR #7794:
URL: https://github.com/apache/gravitino/pull/7794#discussion_r2261827100
##########
clients/filesystem-hadoop3/src/main/java/org/apache/gravitino/filesystem/hadoop/DefaultGVFSOperations.java:
##########
@@ -63,6 +63,9 @@ public FSDataInputStream open(Path gvfsPath, int bufferSize)
throws IOException
FileSystem actualFs = getActualFileSystem(gvfsPath, currentLocationName());
Path actualFilePath =
getActualFilePath(gvfsPath, currentLocationName(),
FilesetDataOperation.OPEN);
+ if (actualFs.exists(actualFilePath) &&
!actualFs.getFileStatus(actualFilePath).isFile()) {
Review Comment:
Cloud storage will behave differently compared to HDFS. For example, OSS
<img width="1362" height="523" alt="image"
src="https://github.com/user-attachments/assets/b43ccb5a-2a4a-4008-9e2d-0f4d25bb0c1c"
/>
So, how can we add such limitations to GVFS? What if the detail storage
have different behavior?
--
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]