与下面的代码一样:
// Input:
// key=someword
// values: can it be like [2,1,6,4,8], or should it must be ordered like [1,2,4,6,8]?
public void reduce(Text key, Iterable<IntWritable> values, Context context){
//...
}
值是否可以像[2,1,6,4,8],还是必须像[1,2,4,6,8]那样订购?
感谢您的回答!