diff options
author | Takeshi Yamamuro <linguin.m.s@gmail.com> | 2014-12-23 12:39:41 -0800 |
---|---|---|
committer | Josh Rosen <joshrosen@databricks.com> | 2014-12-23 12:39:41 -0800 |
commit | 9c251c555f5ee527143d0cdb9e6c3cb7530fc8f8 (patch) | |
tree | 614a8ca2d11e998376c7ff2b4864298def98c065 /examples/src/main | |
parent | dd155369a04d7dfbf6a5745cbb243e22218367dc (diff) | |
download | spark-9c251c555f5ee527143d0cdb9e6c3cb7530fc8f8.tar.gz spark-9c251c555f5ee527143d0cdb9e6c3cb7530fc8f8.tar.bz2 spark-9c251c555f5ee527143d0cdb9e6c3cb7530fc8f8.zip |
[SPARK-4932] Add help comments in Analytics
Trivial modifications for usability.
Author: Takeshi Yamamuro <linguin.m.s@gmail.com>
Closes #3775 from maropu/AddHelpCommentInAnalytics and squashes the following commits:
fbea8f5 [Takeshi Yamamuro] Add help comments in Analytics
Diffstat (limited to 'examples/src/main')
-rw-r--r-- | examples/src/main/scala/org/apache/spark/examples/graphx/Analytics.scala | 4 |
1 files changed, 4 insertions, 0 deletions
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 9cc47327f9..409721b01c 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) } |