4月更文第5天
Spark下载
1.官网下载:
2.依次执行下面的命令
cd /usr/local
tar -zxvf spark-2.4.0-bin-without-hadoop.tgz
mv spark-2.4.0-bin-without-hadoop spark
chown -R root:root spark
这样就有spark的目录了:
修改环境变量
输入指令:vi /etc/profile
输入指令source /etc/profile刷新
4月更文第5天
1.官网下载:
2.依次执行下面的命令
cd /usr/local
tar -zxvf spark-2.4.0-bin-without-hadoop.tgz
mv spark-2.4.0-bin-without-hadoop spark
chown -R root:root spark
这样就有spark的目录了:
输入指令:vi /etc/profile
输入指令source /etc/profile刷新