在Job中添加相应的输入类型,例如:

job.setMapOutputKeyClass(Text.class);
job.setMapOutputValueClass(IntWritable.class);

 

相关文章:

  • 2022-12-23
  • 2021-09-24
  • 2022-12-23
  • 2021-11-29
  • 2022-02-14
  • 2021-04-02
  • 2021-05-10
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-24
  • 2021-07-15
  • 2022-12-23
  • 2022-03-01
  • 2022-12-23
相关资源
相似解决方案