zhangyue19921010 commented on a change in pull request #3887:
URL: https://github.com/apache/hudi/pull/3887#discussion_r774394645



##########
File path: 
hudi-common/src/main/java/org/apache/hudi/common/table/HoodieTableMetaClient.java
##########
@@ -253,7 +265,16 @@ public TimelineLayoutVersion getTimelineLayoutVersion() {
    */
   public HoodieWrapperFileSystem getFs() {
     if (fs == null) {
-      FileSystem fileSystem = FSUtils.getFs(metaPath, hadoopConf.newCopy());
+      FileSystem fileSystem;
+      if (fileSystemRetryConfig.isFileSystemActionRetryEnable()) {

Review comment:
       Emmm..., it's easy to make this as a property of the `StorageScheme` 
something like `FILE("file", append: false, retry: true)`
   What I am more worried about is that this may mean that the retry function 
is turned on by default. And it may be hard for users to disable this retry if 
they don't need it.




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