Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
0.18.0
-
None
-
None
Description
The corner case where there are zero map-outputs doesn't pass the codec to the IFile.Writer leading to un-compressed data and subsequently failure on the reduce when it tries to decompress that data.
The straight-forward fix is to pass the codec:
Writer<K, V> writer = new Writer<K, V>(job, finalOut, - keyClass, valClass, null); + keyClass, valClass, codec);