This is not for running in the REPL, where we don't really need to create `SparkConf`. With the latest `spark-submit`, this line should change to `new SparkConf().setAppName("My application")`.