摘要:  1)外部数据源 val distFile1 = sc.textFile("data.txt") //本地当前目录下文件 val distFile2 =sc.textFile("hdfs://192.168.121.12:8020/input/data.txt") //HDFS文件 val dis 阅读全文
posted @ 2019-02-18 22:59 夜半钟声到客船 阅读(232) 评论(0) 推荐(0) 编辑