MapReduce自定义类输出的内容为内存地址

13480253104 mapreduce.KpiWritable@486a58c4

13502468823 mapreduce.KpiWritable@3de9d100

13560439658 mapreduce.KpiWritable@419876c1

13600217502 mapreduce.KpiWritable@9c9a8c

13602846565 mapreduce.KpiWritable@29665da4

13660577991 mapreduce.KpiWritable@7f8dcf37

13719199419 mapreduce.KpiWritable@371f654d

13726230503 mapreduce.KpiWritable@6e33be80

13760778710 mapreduce.KpiWritable@71ffe06

13823070001 mapreduce.KpiWritable@455e3f91

13826544101 mapreduce.KpiWritable@2e9f6c2b

13922314466 mapreduce.KpiWritable@647692f6

13925057413 mapreduce.KpiWritable@5a06e8f1

13926251106 mapreduce.KpiWritable@7ba75463

13926435656 mapreduce.KpiWritable@26956f01

15013685858 mapreduce.KpiWritable@1caabe71

15920133257 mapreduce.KpiWritable@dbcfb6b

15989002119 mapreduce.KpiWritable@721e34d8

18211575961 mapreduce.KpiWritable@1d1f8b70

18320173382 mapreduce.KpiWritable@1fb7500

84138413 mapreduce.KpiWritable@23be5404

自定义类没有覆写toString()导致。

原文地址:https://www.cnblogs.com/luguoyuanf/p/3594441.html