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


你可能感兴趣的:(mac,软件安装系列,机器视觉软件安装)