练习作业
完成任务从文件创建三个RDD(math bigdata student)
cd ~ touch math touch bigdata touch student pwd
启动Spark-shell
var localrdd1 = sc.textFile("file:///home/用户名/math") var localrdd2 = sc.textFile("file:///home/用户名/bigdata") var localrdd3 = sc.textFile("file:///home/用户名/student") localrdd1.collect localrdd2.collect localrdd3.collect