一、本地数据读写
读取本地文件
>>> textFile = sc.textFile("file:///home/hadoop/temp/word.txt")
>>> textFile.first()
'Hadoop is good'
>>>
写入本地文件

一、本地数据读写
读取本地文件
>>> textFile = sc.textFile("file:///home/hadoop/temp/word.txt")
>>> textFile.first()
'Hadoop is good'
>>>
写入本地文件