|
[
Permlink
| « Hide
]
Devaraj Das added a comment - 27/Apr/09 06:57 PM
Ok here is an early version of the patch (no testcase yet). The patch applies on 0.18 as well.
Attaching the patch [5746.6.patch]. It looks like its a very timing issue to reproduce/test this bug. The problem occurs when the pipe process finishes off and then the output thread cranks up with some exception (like fs errors).
Attaching a framework change [5746-reproduce.1.patch] and a testcase [/5746-testcase.patch] to verify the fix. The caller of PipeMapRed.waitOutputThreads() i.e PipeMapRed.mapRedFinished() simply ignores IOException hence changed the exception to RuntimeException. I dont know why PipeMapRed.mapRedFinished() ignores IOException. But for now I have kept it as it is. Result of test-patch
[exec] -1 overall. Streaming tests passed on my box except TestStreamingExitStatus which fails even on trunk. I just committed this. Thanks, Amar!
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||