[ https://issues.apache.org/jira/browse/SPARK-7395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Saisai Shao updated SPARK-7395: ------------------------------- Affects Version/s: (was: 1.3.1) 1.4.0 > some suggestion about SimpleApp in quick-start.html > --------------------------------------------------- > > Key: SPARK-7395 > URL: https://issues.apache.org/jira/browse/SPARK-7395 > Project: Spark > Issue Type: Documentation > Components: Documentation > Affects Versions: 1.3.1 > Environment: none > Reporter: zhengbing li > Original Estimate: 12h > Remaining Estimate: 12h > > Base on the code guide of SimpleApp in > https://spark.apache.org/docs/latest/quick-start.html, I could not run the > SimpleApp code until I modify "val conf = new SparkConf().setAppName("Simple > Application")" to "val conf = new SparkConf().setAppName("Simple > Application").setMaster("local")". > So the document might be modified for the beginners. > The error of scala example is as follows: > 15/05/06 15:05:48 INFO SparkContext: Running Spark version 1.3.0 > Exception in thread "main" org.apache.spark.SparkException: A master URL must > be set in your configuration > at org.apache.spark.SparkContext.<init>(SparkContext.scala:206) > at com.huawei.openspark.TestSpark$.main(TestSpark.scala:12) > at com.huawei.openspark.TestSpark.main(TestSpark.scala) -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org