Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-10711] [SPARKR] Do not assume spark.submit.deployMode is alway…
…s set In ```RUtils.sparkRPackagePath()``` we 1. Call ``` sys.props("spark.submit.deployMode")``` which returns null if ```spark.submit.deployMode``` is not suet 2. Call ``` sparkConf.get("spark.submit.deployMode")``` which throws ```NoSuchElementException``` if ```spark.submit.deployMode``` is not set. This patch simply passes a default value ("cluster") for ```spark.submit.deployMode```. cc rxin Author: Hossein <[email protected]> Closes apache#8832 from falaki/SPARK-10711.
- Loading branch information