-
安装环境 macOS 10.13
第一步:安装 scala 命令行安装方式:brew install scala
验证:
-
$ 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./spark-shell
-