ubuntu 安装spark

文章链接

  1. 安装java
  2. 安装scala(见文章链接)
  3. 安装spark
    下载Spark的压缩文件。下载地址为:
    http://spark.apache.org/downloads.html
tar -zxvf spark-2.1.1-bin-hadoop2.7.tgz -C /opt/spark/
vi ~/.bashrc
export SPARK_HOME=/opt/spark/spark-2.1.1-bin-hadoop2.7
export PATH=${SPARK_HOME}/bin:$PATH 
source ~/.bashrc

spark-shell

spark2.2.0百度云盘

posted @ 2022-08-19 22:58  luoganttcc  阅读(7)  评论(0编辑  收藏  举报