How to set mapOutputValueClass as Enum in hadoop

前端 未结 0 902
猫巷女王i
猫巷女王i 2021-01-25 00:51

My mapper output value is a type of an Enum, and I set the mapOutputValueClass as the Enum.class, but always get
Type mismatch in value from map expected StatisticTy

相关标签:
回答
  • 消灭零回复
提交回复
热议问题