Skip to content

Recommended way to enable/disable Gluten #5612

Answered by PHILO-HE
acvictor asked this question in Q&A
Discussion options

You must be logged in to vote

@acvictor, I think so. We have to always configure spark.plugins=org.apache.gluten.GlutenPlugin to let initialization be done at driver/executor start time. And user can set spark.gluten.enabled to dynamically enable/disable Gluten for a session.

BTW, you can set a thread local property if you would like to control using Gluten for a single thread.
https://github.com/apache/incubator-gluten/blob/main/docs/Configuration.md?plain=1#L106

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by acvictor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants