11/03/2022
Any tips on debugging problems with the secondary sort in Hadoop MapReduce job?
java
sorting
mapreduce
hadoop
Solution 1:
At the moment, it appears that static code review either manually or using tools works good. I believe I broke the rule: when overriding compareTo(), don't forget to override equals() and hashCode(). I'll keep everyone posted if fixing this solved the problem.