spark-operator icon indicating copy to clipboard operation
spark-operator copied to clipboard

How to properly use ConfigMaps for SparkConf and HadoopConf

Open sadatnfs opened this issue 1 year ago • 4 comments

Would someone be able to show an end-to-end example of setting up config maps with Spark and Hadoop configurations and applying that to a SparkApplication? I've not been able to properly implement either sparkConfigMap or hadoopConfigMap such that the configs pass through to Spark. Any help or examples would be appreciated, since there's no proper examples available in the repo?

sadatnfs avatar Dec 19 '23 22:12 sadatnfs

Any help on this please? Sort of been stuck on this for a while.

sadatnfs avatar Dec 22 '23 04:12 sadatnfs

Here is a blocking issue https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/issues/216 for your references.

powerLambda avatar Dec 22 '23 09:12 powerLambda

Here is an example of how to pass that map:

  sparkConf:
    spark.ui.prometheus.enabled: "true"

marcoboi avatar Apr 18 '24 12:04 marcoboi

@marcoboi thanks but I was looking for examples for sparkConfDir not sparkConf

sadatnfs avatar Apr 18 '24 19:04 sadatnfs

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Aug 14 '24 04:08 github-actions[bot]