正在加载图片...
G)Word Count Count map key=url, val=contents For each word w in contents, emit(w Ilustrated reduce key=word, values=unig_counts Sum all“1” s in values list Emit result“(word,sum)” see bob throw see bob bob see spot run rUn run see 2 see spot spot throw 1 throw 1 11Word Count 11 Count, Illustrated map(key=url, val=contents): For each word w in contents, emit (w, “1”) reduce(key=word, values=uniq_counts): Sum all “1”s in values list Emit result “(word, sum)” see bob throw see spot run see 1 bob 1 run 1 see 1 spot 1 throw 1 bob 1 run 1 see 2 spot 1 throw 1
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有