Skip to content

[VL] Remove dead config spark.gluten.velox.fs.s3a.connect.timeout#11810

Open
xumingming wants to merge 1 commit intoapache:mainfrom
xumingming:remove-dead-s3-connect-timeout
Open

[VL] Remove dead config spark.gluten.velox.fs.s3a.connect.timeout#11810
xumingming wants to merge 1 commit intoapache:mainfrom
xumingming:remove-dead-s3-connect-timeout

Conversation

@xumingming
Copy link
Contributor

What changes are proposed in this pull request?

The config spark.gluten.velox.fs.s3a.connect.timeout was originally introduced in GLUTEN-5659 and explicitly read by ConfigExtractor.cc to set the S3 TCP connect timeout (connectTimeoutMs).

In GLUTEN-9182, ConfigExtractor.cc was refactored to use a suffix-map approach reading spark.hadoop.fs.s3a.connection.establish.timeout for connectTimeoutMs and spark.hadoop.fs.s3a.connection.timeout for requestTimeoutMs. The old key was never cleaned up, leaving AWS_S3_CONNECT_TIMEOUT defined in VeloxConfig.scala but never referenced, and the key forwarded into the native conf map but never consumed by any C++ code.

Remove the config definition, its entries in nativeKeys and getNativeBackendConf defaults, and the documentation row.

Close #11809

How was this patch tested?

Manual test.

Was this patch authored or co-authored using generative AI tooling?

No.

The config `spark.gluten.velox.fs.s3a.connect.timeout` was originally
introduced in GLUTEN-5659 and explicitly read by ConfigExtractor.cc to
set the S3 TCP connect timeout (connectTimeoutMs).

In GLUTEN-9182, ConfigExtractor.cc was refactored to use a suffix-map
approach reading `spark.hadoop.fs.s3a.connection.establish.timeout`
for connectTimeoutMs and `spark.hadoop.fs.s3a.connection.timeout` for
requestTimeoutMs. The old key was never cleaned up, leaving
`AWS_S3_CONNECT_TIMEOUT` defined in VeloxConfig.scala but never
referenced, and the key forwarded into the native conf map but never
consumed by any C++ code.

Remove the config definition, its entries in nativeKeys and
getNativeBackendConf defaults, and the documentation row.
@github-actions github-actions bot added CORE works for Gluten Core VELOX DOCS labels Mar 23, 2026
@github-actions
Copy link

Run Gluten Clickhouse CI on x86

Copy link
Contributor

@zml1206 zml1206 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CORE works for Gluten Core DOCS VELOX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove unused/misleading config: spark.gluten.velox.fs.s3a.connect.timeout

2 participants