准备条件:从Spark官网下载Spark包(Pre-built for Hadoop 2.7 and later)在bash中设置SPARK_HOME并加入到Path
启动Scala控制台spark-shell
启动Python控制台pyspark
启动SQL控制台spark-sql