You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ankur Dave (JIRA)" <ji...@apache.org> on 2014/06/02 02:06:01 UTC
[jira] [Updated] (SPARK-1986) lib.Analytics should be in
org.apache.spark.examples
[ https://issues.apache.org/jira/browse/SPARK-1986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ankur Dave updated SPARK-1986:
------------------------------
Issue Type: Improvement (was: Bug)
> 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: Improvement
> 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)