- Mastering Apache Spark 2.x(Second Edition)
- Romeo Kienzler
- 61字
- 2021-07-02 18:55:25
Local
By specifying a Spark configuration local URL, it is possible to have the application run locally. By specifying local[n], it is possible to have Spark use n threads to run the application locally. This is a useful development and test option because you can also test some sort of parallelization scenarios but keep all log files on a single machine.