With run-example you can't pass args to spark-submit, only to the example. So I think it's fine as is.