WordCount的各种写法

2018-01-03  本文已影响13人  武小寺

MapReduce写法(Python)

streaming

Yarn

Hive

select  word,  count(*)
from  (
select 
explode  (split  (sentence,  '  '))
as word
from article
)    t
group   by   word

Spark

上一篇 下一篇

猜你喜欢

热点阅读