diff options
Diffstat (limited to 'examples/src')
-rw-r--r-- | examples/src/main/scala/org/apache/spark/examples/SparkSVD.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/src/main/scala/org/apache/spark/examples/SparkSVD.scala b/examples/src/main/scala/org/apache/spark/examples/SparkSVD.scala index 4b9e674c68..d9c672f140 100644 --- a/examples/src/main/scala/org/apache/spark/examples/SparkSVD.scala +++ b/examples/src/main/scala/org/apache/spark/examples/SparkSVD.scala @@ -33,8 +33,8 @@ import org.apache.spark.mllib.linalg.SparseMatrix */ object SparkSVD { def main(args: Array[String]) { - if (args.length < 3) { - System.err.println("Usage: SVD <master> <file>") + if (args.length != 2) { + System.err.println("Usage: SparkSVD <master> <file>") System.exit(1) } val sc = new SparkContext(args(0), "SVD", |