下载安装配置spark-2.1.0-bin-without-hadoop

安装过程参照:

http://dblab.xmu.edu.cn/blog/1307-2/

启动Spark:

cd /usr/local/spark
bin/spark-shell

运行例子:

scala> 8*2+5
res0: Int = 21

 

 退出:

:quit

 

posted @ 2021-01-16 19:15  ziyuliu  阅读(846)  评论(0编辑  收藏  举报