2013年11月3日
摘要: 1 public int getPartition(IntWritable key,IntWritable value,int numPartitions){ 2 int Maxnumber = 12345; 3 int bound = Maxnumber/numPartitions +1; 4 int keynumber = key.get(); 5 6 System.out.println("numPartition:"+numPartitions); 7 ... 阅读全文
posted @ 2013-11-03 10:49 happinessqi 阅读(688) 评论(0) 推荐(0) 编辑