摘要: 第一种 spark-shell ,根据官网的example 统计词频: 第一步: shell中新建一个脚本: vi wordCount.sh ; 第二步: 编写脚本: 几点注意 : 第一,spark集群下core和momery都需要分配和释放,因此,调试程序时,建议master 用 local模式 阅读全文
posted @ 2017-11-15 16:40 wangmeihong 阅读(1170) 评论(0) 推荐(0) 编辑