incubator-hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edwardy...@apache.org
Subject svn commit: r1243790 - /incubator/hama/trunk/examples/src/main/java/org/apache/hama/examples/SSSP.java
Date Tue, 14 Feb 2012 06:56:04 GMT
Author: edwardyoon
Date: Tue Feb 14 06:56:04 2012
New Revision: 1243790

URL: http://svn.apache.org/viewvc?rev=1243790&view=rev
Log:
Fix typos.

Modified:
    incubator/hama/trunk/examples/src/main/java/org/apache/hama/examples/SSSP.java

Modified: incubator/hama/trunk/examples/src/main/java/org/apache/hama/examples/SSSP.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/examples/src/main/java/org/apache/hama/examples/SSSP.java?rev=1243790&r1=1243789&r2=1243790&view=diff
==============================================================================
--- incubator/hama/trunk/examples/src/main/java/org/apache/hama/examples/SSSP.java (original)
+++ incubator/hama/trunk/examples/src/main/java/org/apache/hama/examples/SSSP.java Tue Feb
14 06:56:04 2012
@@ -68,13 +68,13 @@ public class SSSP {
   }
 
   private static void printUsage() {
-    System.out.println("Usage: <input> <output> [tasks]");
+    System.out.println("Usage: <startnode> <input> <output> [tasks]");
     System.exit(-1);
   }
 
   public static void main(String[] args) throws IOException,
       InterruptedException, ClassNotFoundException {
-    if (args.length < 2)
+    if (args.length < 3)
       printUsage();
 
     // Graph job configuration



Mime
View raw message