Repository: spark Updated Branches: refs/heads/branch-1.2 ec11ffddb -> e74ce14e8
[SPARK-4932] Add help comments in Analytics Trivial modifications for usability. Author: Takeshi Yamamuro <linguin....@gmail.com> Closes #3775 from maropu/AddHelpCommentInAnalytics and squashes the following commits: fbea8f5 [Takeshi Yamamuro] Add help comments in Analytics (cherry picked from commit 9c251c555f5ee527143d0cdb9e6c3cb7530fc8f8) Signed-off-by: Josh Rosen <joshro...@databricks.com> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/e74ce14e Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/e74ce14e Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/e74ce14e Branch: refs/heads/branch-1.2 Commit: e74ce14e8a25d2fc6c23feeedceb02fba5c2d66c Parents: ec11ffd Author: Takeshi Yamamuro <linguin....@gmail.com> Authored: Tue Dec 23 12:39:41 2014 -0800 Committer: Josh Rosen <joshro...@databricks.com> Committed: Tue Dec 23 12:39:55 2014 -0800 ---------------------------------------------------------------------- .../main/scala/org/apache/spark/examples/graphx/Analytics.scala | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/e74ce14e/examples/src/main/scala/org/apache/spark/examples/graphx/Analytics.scala ---------------------------------------------------------------------- diff --git a/examples/src/main/scala/org/apache/spark/examples/graphx/Analytics.scala b/examples/src/main/scala/org/apache/spark/examples/graphx/Analytics.scala index 9cc4732..409721b 100644 --- a/examples/src/main/scala/org/apache/spark/examples/graphx/Analytics.scala +++ b/examples/src/main/scala/org/apache/spark/examples/graphx/Analytics.scala @@ -33,6 +33,10 @@ object Analytics extends Logging { if (args.length < 2) { System.err.println( "Usage: Analytics <taskType> <file> --numEPart=<num_edge_partitions> [other options]") + System.err.println("Supported 'taskType' as follows:") + System.err.println(" pagerank Compute PageRank") + System.err.println(" cc Compute the connected components of vertices") + System.err.println(" triangles Count the number of triangles") System.exit(1) } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org