一、首先搭建hadoop环境
https://blog.csdn.net/jiuweiC/article/details/104414651
二、安装scala
命令行执行:brew install scala
执行完成后,终端输入:scala -version 进行查看,如下表明安装成功:
scala -version
Scala code runner version 2.12.8 -- Copyright 2002-2018, LAMP/EPFL and Lightbend, Inc.
然后在环境变量中增加scala相关的变量,命令行输入:vim ~/etc/profile进行编辑,
2022-12-05 13:49:04
695KB
ar
ark
c
1