xumanbu commented on code in PR #11329:
URL: 
https://github.com/apache/incubator-gluten/pull/11329#discussion_r2671593891


##########
backends-velox/src/main/scala/org/apache/gluten/backendsapi/velox/VeloxTransformerApi.scala:
##########
@@ -70,11 +70,28 @@ class VeloxTransformerApi extends TransformerApi with 
Logging {
   override def postProcessNativeConfig(
       nativeConfMap: JMap[String, String],
       backendPrefix: String): Unit = {
-    // 'spark.hadoop.fs.s3a.connection.timeout' by velox requires time unit, 
hadoop-aws versions
-    // before 3.4 do not have time unit.
-    val s3sConnectionTimeout = 
nativeConfMap.get("spark.hadoop.fs.s3a.connection.timeout")
-    if (NumberUtils.isCreatable(s3sConnectionTimeout)) {
-      nativeConfMap.put("spark.hadoop.fs.s3a.connection.timeout", 
s"${s3sConnectionTimeout}ms")
+    // S3A configurations that require time units for Velox.
+    // Hadoop-aws versions before 3.4 do not include time units by default.
+    // Reference: 
https://hadoop.apache.org/docs/stable/hadoop-aws/tools/hadoop-aws/performance.html
+    //
+    // Map of config key to its default time unit:
+    // - Most S3A time configs default to milliseconds
+    // - fs.s3a.threads.keepalivetime defaults to seconds (special case)

Review Comment:
   removed.



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