Skip to content

Commit e74ce14

Browse files
maropuJoshRosen
authored andcommitted
[SPARK-4932] Add help comments in Analytics
Trivial modifications for usability. Author: Takeshi Yamamuro <[email protected]> Closes #3775 from maropu/AddHelpCommentInAnalytics and squashes the following commits: fbea8f5 [Takeshi Yamamuro] Add help comments in Analytics (cherry picked from commit 9c251c5) Signed-off-by: Josh Rosen <[email protected]>
1 parent ec11ffd commit e74ce14

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/src/main/scala/org/apache/spark/examples/graphx/Analytics.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ object Analytics extends Logging {
3333
if (args.length < 2) {
3434
System.err.println(
3535
"Usage: Analytics <taskType> <file> --numEPart=<num_edge_partitions> [other options]")
36+
System.err.println("Supported 'taskType' as follows:")
37+
System.err.println(" pagerank Compute PageRank")
38+
System.err.println(" cc Compute the connected components of vertices")
39+
System.err.println(" triangles Count the number of triangles")
3640
System.exit(1)
3741
}
3842

0 commit comments

Comments
 (0)