Skip to content
Snippets Groups Projects
Commit 7c92b49d authored by Larry Xiao's avatar Larry Xiao Committed by Ankur Dave
Browse files

[SPARK-1986][GraphX]move lib.Analytics to org.apache.spark.examples

to support ~/spark/bin/run-example GraphXAnalytics triangles
/soc-LiveJournal1.txt --numEPart=256

Author: Larry Xiao <xiaodi@sjtu.edu.cn>

Closes #1766 from larryxiao/1986 and squashes the following commits:

bb77cd9 [Larry Xiao] [SPARK-1986][GraphX]move lib.Analytics to org.apache.spark.examples
parent 644e3152
No related branches found
No related tags found
No related merge requests found
...@@ -15,12 +15,13 @@ ...@@ -15,12 +15,13 @@
* limitations under the License. * limitations under the License.
*/ */
package org.apache.spark.graphx.lib package org.apache.spark.examples.graphx
import scala.collection.mutable import scala.collection.mutable
import org.apache.spark._ import org.apache.spark._
import org.apache.spark.storage.StorageLevel import org.apache.spark.storage.StorageLevel
import org.apache.spark.graphx._ import org.apache.spark.graphx._
import org.apache.spark.graphx.lib._
import org.apache.spark.graphx.PartitionStrategy._ import org.apache.spark.graphx.PartitionStrategy._
/** /**
......
...@@ -20,7 +20,7 @@ package org.apache.spark.examples.graphx ...@@ -20,7 +20,7 @@ package org.apache.spark.examples.graphx
import org.apache.spark.SparkContext._ import org.apache.spark.SparkContext._
import org.apache.spark._ import org.apache.spark._
import org.apache.spark.graphx._ import org.apache.spark.graphx._
import org.apache.spark.graphx.lib.Analytics import org.apache.spark.examples.graphx.Analytics
/** /**
* Uses GraphX to run PageRank on a LiveJournal social network graph. Download the dataset from * Uses GraphX to run PageRank on a LiveJournal social network graph. Download the dataset from
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment