zml1206 commented on code in PR #10951:
URL: 
https://github.com/apache/incubator-gluten/pull/10951#discussion_r2467549328


##########
backends-velox/src/main/scala/org/apache/gluten/backendsapi/velox/VeloxTransformerApi.scala:
##########
@@ -69,7 +69,10 @@ class VeloxTransformerApi extends TransformerApi with 
Logging {
   override def postProcessNativeConfig(
       nativeConfMap: JMap[String, String],
       backendPrefix: String): Unit = {
-    // TODO: IMPLEMENT SPECIAL PROCESS FOR VELOX BACKEND
+    // 'spark.hadoop.fs.s3a.connection.timeout' by velox requires time unit.
+    nativeConfMap.put(
+      "spark.hadoop.fs.s3a.connection.timeout",
+      s"${nativeConfMap.getOrDefault("spark.hadoop.fs.s3a.connection.timeout", 
"200000")}ms")

Review Comment:
   
https://github.com/apache/hadoop/blob/84e8b89ee2ebe6923691205b9e171badde7a495c/hadoop-common-project/hadoop-common/src/main/resources/core-default.xml#L1636-L1640
   
https://github.com/apache/hadoop/blob/1be78238728da9266a4f88195058f08fd012bf9c/hadoop-common-project/hadoop-common/src/main/resources/core-default.xml#L1441-L1445
   There is a version difference here, I will make it compatible, thanks.



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