Skip to content

Commit 07e439b

Browse files
GraceHankurdave
authored andcommitted
[GraphX] Modify option name according to example doc in SynthBenchmark
Now graphx.SynthBenchmark example has an option of iteration number named as "niter". However, in its document, it is named as "niters". The mismatch between the implementation and document causes certain IllegalArgumentException while trying that example. Author: Grace <[email protected]> Closes #2888 from GraceH/synthbenchmark and squashes the following commits: f101ee1 [Grace] Modify option name according to example doc
1 parent f80dcf2 commit 07e439b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ object SynthBenchmark {
6767

6868
options.foreach {
6969
case ("app", v) => app = v
70-
case ("niter", v) => niter = v.toInt
70+
case ("niters", v) => niter = v.toInt
7171
case ("nverts", v) => numVertices = v.toInt
7272
case ("numEPart", v) => numEPart = Some(v.toInt)
7373
case ("partStrategy", v) => partitionStrategy = Some(PartitionStrategy.fromString(v))

0 commit comments

Comments
 (0)