diff options
author | Matei Zaharia <matei@eecs.berkeley.edu> | 2013-06-15 09:37:13 -0700 |
---|---|---|
committer | Matei Zaharia <matei@eecs.berkeley.edu> | 2013-06-15 09:37:13 -0700 |
commit | b7794813b181f13801596e8d8c3b4471c0c84f20 (patch) | |
tree | 99fec38a7d8fc1f74069b60eb2e8df74640e73bf /examples/src | |
parent | 1044a95c9fa10292162322d74542e36384f68880 (diff) | |
download | spark-b7794813b181f13801596e8d8c3b4471c0c84f20.tar.gz spark-b7794813b181f13801596e8d8c3b4471c0c84f20.tar.bz2 spark-b7794813b181f13801596e8d8c3b4471c0c84f20.zip |
Fix run script on Windows for Scala 2.10
Diffstat (limited to 'examples/src')
-rw-r--r-- | examples/src/main/scala/spark/examples/SparkPi.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/src/main/scala/spark/examples/SparkPi.scala b/examples/src/main/scala/spark/examples/SparkPi.scala index f598d2ff9c..b1c736a2cd 100644 --- a/examples/src/main/scala/spark/examples/SparkPi.scala +++ b/examples/src/main/scala/spark/examples/SparkPi.scala @@ -21,6 +21,7 @@ object SparkPi { if (x*x + y*y < 1) 1 else 0 }.reduce(_ + _) println("Pi is roughly " + 4.0 * count / n) - System.exit(0) + //System.exit(0) + spark.stop() } } |