mac下spark安装

  1. 安装环境 macOS 10.13

    第一步:安装 scala 命令行安装方式:brew install scala

    验证:

    1. $ scala
      显示:Welcome to Scala version 2.11.6 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_40).
      Type in expressions to have them evaluated.
      Type :help for more information.

    第二步:安装spark 命令行安装方式: brew install apache-spark

    验证:

    cd到spark安装目录:

    /usr/local/Cellar/apache-spark/1.6.2

    ./spark-shell启动spark


猜你喜欢

转载自blog.csdn.net/maenda/article/details/79525305