Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-2751

Geeting error to run graphx.LiveJournalPageRank

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None

    Description

      $ ./bin/run-example graphx.LiveJournalPageRank ~/Downloads/web-Google/web-Google.txt --numEPart 8 or --numEPart=8
      Exception in thread "main" java.lang.IllegalArgumentException: Invalid argument: --numEPart
      at org.apache.spark.graphx.lib.Analytics$$anonfun$2.apply(Analytics.scala:43)
      at org.apache.spark.graphx.lib.Analytics$$anonfun$2.apply(Analytics.scala:40)
      at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
      at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:108)
      at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
      at scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:108)
      at org.apache.spark.graphx.lib.Analytics$.main(Analytics.scala:40)
      at org.apache.spark.examples.graphx.LiveJournalPageRank$.main(LiveJournalPageRank.scala:47)
      at org.apache.spark.examples.graphx.LiveJournalPageRank.main(LiveJournalPageRank.scala)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.apache.spark.deploy.SparkSubmit$.launch(SparkSubmit.scala:304)
      at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:69)
      at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)

      Attachments

        Activity

          People

            Unassigned Unassigned
            pmuk786 pmuk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: