【发布时间】:2013-04-15 15:46:31
【问题描述】:
是否可以根据 key 将 reducer 输出发送到多个文件?喜欢,
if(key1)
{
//output to file1 using context.write() or otherwise
}
else
{
//output to file2 using context.write() or otherwise
}
【问题讨论】:
标签: java hadoop mapreduce key-value reduce