In v1.0, the recommended way of launching an app is through `spark-submit`, where you set Spark configurations through command-line arguments. It is easier to switch masters than hard code `setMaster("local")`. Also, it works for YARN.