xloya opened a new issue, #4165:
URL: https://github.com/apache/gravitino/issues/4165

   ### What would you like to be improved?
   
   Currently, some engines will directly call Hadoop `FileSystem.create(Path 
f)` interface to create files(like Spark). Although this interface will 
eventually call the `create(Path path, FsPermission permission, boolean 
overwrite, int bufferSize, short replication, long blockSize, Progressable 
progress)` interface that GVFS has implemented, when filling in parameters, 
FileSystem calls `getDefaultReplication(Path path)` and 
`getDefaultBlockSize(Path f)` to fill in the storage replicas and block size by 
default. Currently, GVFS does not implement these two methods, so the default 
values ​​are used: `1 replication` and `32MB block size`. We should implement 
these two methods to use each storage's own parameters.
   
![image](https://github.com/user-attachments/assets/9f2b244d-9f68-4df0-b583-d14810029129)
   
![image](https://github.com/user-attachments/assets/374d79d2-ff24-474e-87fd-c65926f96a04)
   
![image](https://github.com/user-attachments/assets/e78c69a9-20a1-43c8-9a21-ca14feaf5838)
   
   ### How should we improve?
   
   _No response_


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