Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 425 Bytes

File metadata and controls

11 lines (9 loc) · 425 Bytes

入門

第一步你需要先引入Spark和GraphX到你的專案中,如下面所示

import org.apache.spark._
import org.apache.spark.graphx._
// To make some of the examples work we will also need RDD
import org.apache.spark.rdd.RDD

如果你没有用到Spark shell,你將會需要SparkContext。若想學習更多Spark的入門知識,可以參考Spark Quick Start Guide