使用intelli idea +scala+spark,运行程序代码如下:
package big.data.analyse.mllib
import org.apache.spark.{
SparkConf, SparkContext}
import org.apache.spark.mllib.fpm.FPGrowth
object FP {
def main(args: Array[String]) {
val conf = new SparkConf().setMaster("local").setAppName