输入spark-shell 进入spark-shell环境
spark-shell
输入 start-all.sh 启动hdfs
start-all.sh
3.通过并行集合(列表)创建RDD 输入列表、字符串、生成数组
转换操作
行动操作