1.map的输出
Map<String, String> map1 = new HashMap<>();
map1.put(“map1_key1”, “map_key11111”);
map1.put(“map1_key2”, “map_key22222”);
map1.put(“map1_key3”, “map_key33333”);
key-value 的list形式
2.ruduce的输入
Array[(String, List[String])] = Array((red,List(zero, two)), (yellow,List(one)))
key,list(value)的形式
MapReduce中map的输出与ruduce输入的区别
最新推荐文章于 2023-07-18 16:20:10 发布