I'm getting this error message trying to set things in the properties file running on yarn

$ cat spark-conf.properties 
spark.executor.extraJavaOptions=-Dspark.testing=foo