comphead commented on code in PR #836:
URL: https://github.com/apache/datafusion-comet/pull/836#discussion_r1720071505


##########
docs/source/user-guide/tuning.md:
##########
@@ -37,6 +37,15 @@ Comet will allocate at least 
`spark.comet.memory.overhead.min` memory.
 
 If both `spark.comet.memoryOverhead` and `spark.comet.memory.overhead.factor` 
are set, the former will be used.
 
+## Memory Tuning in clusters
+In clusters like Kubernetes or YARN to make the resource manager respect 
correctly Comet memory parameters `spark.comet.memory*` 
+it is needed to pass to the starting command line additional Spark 
configuration parameter `--conf spark.plugins=org.apache.spark.CometPlugin`

Review Comment:
   Thats a great question. Its not needed for local run, but Spark in 
enterprises get started mostly in clusters. Perhaps we can also update the 
installation guide and make a remark about the plugin if people run the Comet 
in cluster mode



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