Support Questions
Find answers, ask questions, and share your expertise

Where do custom spark properties end ?

Rising Star

Hi,

I'm trying to set a default value for "spark.driver.extraJavaOptions" configuration property from ambari, in order to avoid that all my users have to define it in the command line arguments.

I tried to define this property in the "Custom spark-javaopts-properties" section in the ambari UI, but it didn't work (the property seems not to be used anywhere), and even worse, I am not able to find out where this property ends up ? I thought it should be written to a spark configuration file (spark-defaults.conf or anything else), but couldn't find the property anywhere ...

Does anyone know if I picked up the right place to define the property and where it goes in configuration files ?

Thanks for your help

1 ACCEPTED SOLUTION

Accepted Solutions

Rising Star

In fact I realized that I had to set this properties in the "Custom spark-default" section in Ambari. This way, they are written to spark-defaults.conf configuration file and things work fine

View solution in original post

1 REPLY 1

Rising Star

In fact I realized that I had to set this properties in the "Custom spark-default" section in Ambari. This way, they are written to spark-defaults.conf configuration file and things work fine

View solution in original post