标签:io ar sp 文件 数据 div on art bs
以WordCount程序为例,假设有三台DataNode,每台DataNode有不一样的数据,如下表格所示:
DataNode1
|
DataNode2
|
DataNode3
|
who are you are
|
who am i are
|
who is he am
|
DataNode1
|
DataNode2
|
DataNode3
|
who 1
are 1
you 1
are 1
|
who 1
am 1
i 1
are 1
|
who 1
is 1
he 1
am 1
|
DataNode1
|
DataNode2
|
DataNode3
|
are 1
are 1
who 1
you 1
|
am 1
are 1
i 1
who 1
|
am 1
he 1
is 1
who 1
|
DataNode1
|
DataNode2
|
DataNode3
|
are 2
who 1
you 1
|
am 1
are 1
i 1
who 1
|
am 1
he 1
is 1
who 1
|
Reducer
|
are 2
who 1
you 1
am 1
are 1
i 1
who 1
am 1
he 1
is 1
who 1
|
Reducer
|
am 1
am 1
are 2
are 1
he 1
i 1
is 1
you 1
who 1
who 1
who 1
|
Reducer
|
am 2
are 3
he 1
i 1
is 1
you 1
who 3
|
标签:io ar sp 文件 数据 div on art bs
原文地址:http://www.cnblogs.com/fabulousyoung/p/4078016.html