We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2727e70 commit 669dd23Copy full SHA for 669dd23
graphx/src/main/scala/org/apache/spark/graphx/lib/Analytics.scala
@@ -27,6 +27,11 @@ import org.apache.spark.graphx.PartitionStrategy._
27
object Analytics extends Logging {
28
29
def main(args: Array[String]): Unit = {
30
+ if (args.length < 2) {
31
+ System.err.println("Usage: Analytics <taskType> <file> [other options]")
32
+ System.exit(1)
33
+ }
34
+
35
val taskType = args(0)
36
val fname = args(1)
37
val options = args.drop(2).map { arg =>
0 commit comments