leesf commented on code in PR #5660:
URL: https://github.com/apache/incubator-gluten/pull/5660#discussion_r1642815943


##########
cpp/velox/utils/ConfigExtractor.cc:
##########
@@ -34,6 +34,12 @@ const bool kVeloxFileHandleCacheEnabledDefault = false;
 // Log granularity of AWS C++ SDK
 const std::string kVeloxAwsSdkLogLevel = "spark.gluten.velox.awsSdkLogLevel";
 const std::string kVeloxAwsSdkLogLevelDefault = "FATAL";
+// Retry mode for AWS s3
+const std::string kVeloxS3RetryMode = "spark.gluten.velox.fs.s3a.retry.mode";
+const std::string kVeloxS3RetryModeDefault = "legacy";
+// Connection timeout for AWS s3
+const std::string kVeloxS3ConnectTimeout = 
"spark.gluten.velox.fs.s3a.connect.timeout";
+const std::string kVeloxS3ConnectTimeoutDefault = "1s";

Review Comment:
   can we align the default config value with the hadoop config. 
https://hadoop.apache.org/docs/r3.0.0/hadoop-project-dist/hadoop-common/core-default.xml
 , such as the default value for `fs.s3a.connection.timeout` is 200000ms



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to