Spark 2.9.4 Overwrites Resource Setting in spark.properties

I setup our users with the setting “Use hostname as resource.” However, after updating to 2.9.4 I noticed that it will not retain this setting when relaunching the application. Even if I manually change the setting in the spark.properties config file to a custom name, it still will overwrite it as soon as you launch Spark back to “Spark.”

Hi, yes there is a bug in Spark 2.9.X that was fixed in Spark 3.0.0 nightly builds(SPARK-2182.
I can advise:
Or use Spark 3.0.0 nightly builds - Ignite Realtime: Spark Nightly Builds

Or use Client Control plugin for your Openfire server and set "Hostname as Resource " is true and Version as Resouse is false, this plugin overwrite Spark settings.
image

1 Like

Thank you!