摘要:
补交第五次作业,链接 https://www.cnblogs.com/n1254088/p/16115063.html 集合运算练习 union(), intersection(),subtract(), cartesian() >>> rdd1 = sc.parallelize('abcd') > 阅读全文
posted @ 2022-04-13 22:31
yeseare
阅读(41)
评论(0)
推荐(0)
摘要:
一、词频统计 A. 分步骤实现 1、准备文件 下载小说或长篇新闻稿 上传到hdfs上 start-all.sh hdfs dfs -put 666.txt hdfs dfs -ls 2、读文件创建RDD >>> lines = sc.textFile("/home/hadoop/666.txt") 阅读全文
posted @ 2022-04-13 11:24
yeseare
阅读(33)
评论(0)
推荐(0)

浙公网安备 33010602011771号