diff options
author | Ali Ghodsi <alig@cs.berkeley.edu> | 2013-09-06 21:30:42 -0700 |
---|---|---|
committer | Ali Ghodsi <alig@cs.berkeley.edu> | 2013-10-24 11:59:51 -0700 |
commit | 05a0df2b9e0e4c3d032404187c0adf6d6d881860 (patch) | |
tree | f0b8d432c03562c875f3a00c0f4e0d63b728327f /examples/src | |
parent | dadfc63b0314060876ac1787d4de72b37221139c (diff) | |
download | spark-05a0df2b9e0e4c3d032404187c0adf6d6d881860.tar.gz spark-05a0df2b9e0e4c3d032404187c0adf6d6d881860.tar.bz2 spark-05a0df2b9e0e4c3d032404187c0adf6d6d881860.zip |
Makes Spark SIMR ready.
Diffstat (limited to 'examples/src')
-rw-r--r-- | examples/src/main/scala/org/apache/spark/examples/SparkPi.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/src/main/scala/org/apache/spark/examples/SparkPi.scala b/examples/src/main/scala/org/apache/spark/examples/SparkPi.scala index 5a2bc9b0d0..a689e5a360 100644 --- a/examples/src/main/scala/org/apache/spark/examples/SparkPi.scala +++ b/examples/src/main/scala/org/apache/spark/examples/SparkPi.scala @@ -38,6 +38,6 @@ object SparkPi { if (x*x + y*y < 1) 1 else 0 }.reduce(_ + _) println("Pi is roughly " + 4.0 * count / n) - System.exit(0) + spark.stop() } } |