If you pass spark master URL to spark-submit, you don't need to pass the same to SparkConf object. You can create SparkConf without this property or for that matter any other property that you pass in spark-submit.
On Sun, Jan 18, 2015 at 7:38 AM, guxiaobo1982 <[email protected]> wrote: > Hi, > > Driver programs submitted by the spark-submit script will get the runtime > spark master URL, but how it get the URL inside the main method when > creating the SparkConf object? > > Regards, > >
