Windows下Spark最简example运行

  1. IDEA配好scala
    直接plugin找scala ,下载sbt
  2. Spark下载
    http://spark.apache.org/downloads.html
    下载好后配置环境变量cmd spark-shell
  3. Demo运行
    IDEA打开spark目录下example子文件夹工程:new->project from exsiting source
    project setting 中添加 lib依赖
    module中删除一些kafka的依赖包
    JavaWordCount runconfiguration中配置启动的文件

https://blog.csdn.net/u011521890/article/details/78577582

你可能感兴趣的:(Windows下Spark最简example运行)