spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pwend...@apache.org
Subject [1/2] git commit: fixed job name and usage information for the JavaSparkPi example
Date Wed, 22 Jan 2014 22:33:20 GMT
Updated Branches:
  refs/heads/master 576c4a4c5 -> a1238bb5f


fixed job name and usage information for the JavaSparkPi example


Project: http://git-wip-us.apache.org/repos/asf/incubator-spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spark/commit/36f9a64e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spark/tree/36f9a64e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spark/diff/36f9a64e

Branch: refs/heads/master
Commit: 36f9a64ec9b09309df82865a0caa482b7a3ffce0
Parents: f854498
Author: Kevin Mader <kevinmader@gmail.com>
Authored: Wed Jan 22 15:58:23 2014 +0100
Committer: Kevin Mader <kevinmader@gmail.com>
Committed: Wed Jan 22 15:58:23 2014 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/spark/examples/JavaSparkPi.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-spark/blob/36f9a64e/examples/src/main/java/org/apache/spark/examples/JavaSparkPi.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/spark/examples/JavaSparkPi.java b/examples/src/main/java/org/apache/spark/examples/JavaSparkPi.java
index 3ec4a58..ac8df02 100644
--- a/examples/src/main/java/org/apache/spark/examples/JavaSparkPi.java
+++ b/examples/src/main/java/org/apache/spark/examples/JavaSparkPi.java
@@ -30,11 +30,11 @@ public final class JavaSparkPi {
 
   public static void main(String[] args) throws Exception {
     if (args.length == 0) {
-      System.err.println("Usage: JavaLogQuery <master> [slices]");
+      System.err.println("Usage: JavaSparkPi <master> [slices]");
       System.exit(1);
     }
 
-    JavaSparkContext jsc = new JavaSparkContext(args[0], "JavaLogQuery",
+    JavaSparkContext jsc = new JavaSparkContext(args[0], "JavaSparkPi",
       System.getenv("SPARK_HOME"), JavaSparkContext.jarOfClass(JavaSparkPi.class));
 
     int slices = (args.length == 2) ? Integer.parseInt(args[1]) : 2;


Mime
View raw message