Re: Spark 1.0.2 Can GroupByTest example be run in Eclipse without change

2014-09-07 Thread Shing Hing Man
After looking at the source code of SparkConf.scala, I found the following solution. Just set the following Java system property : -Dspark.master=local Shing On Monday, 1 September 2014, 22:09, Shing Hing Man wrote: Hi, I have noticed that the GroupByTest example in https://github.c

Spark 1.0.2 Can GroupByTest example be run in Eclipse without change

2014-09-01 Thread Shing Hing Man
Hi, I have noticed that the GroupByTest example in https://github.com/apache/spark/blob/master/examples/src/main/scala/org/apache/spark/examples/GroupByTest.scala has been changed to be run using spark-submit. Previously, I set "local" as the first command line parameter, and this enable me t