Ankur Dave created SPARK-1986:
---------------------------------

             Summary: lib.Analytics should be in org.apache.spark.examples
                 Key: SPARK-1986
                 URL: https://issues.apache.org/jira/browse/SPARK-1986
             Project: Spark
          Issue Type: Bug
          Components: GraphX
            Reporter: Ankur Dave
            Assignee: Ankur Dave


The org.apache.spark.graphx.lib.Analytics driver is currently hard to run; the 
user has to figure out the correct invocation involving spark-submit. Instead, 
it should be put into the examples package to enable running it using 
bin/run-example.

Here is how Analytics must be invoked currently:
```
~/spark/bin/spark-submit --master spark://$(wget -q -O - 
http://169.254.169.254/latest/meta-data/public-hostname):7077 --class 
org.apache.spark.graphx.lib.Analytics 
~/spark/assembly/target/scala-2.10/spark-assembly-1.1.0-SNAPSHOT-hadoop1.0.4.jar
 triangles /soc-LiveJournal1.txt --numEPart=256
```
Any JAR can be supplied in place of the assembly jar, as long as it exists.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to