You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2010/03/23 20:26:27 UTC

[jira] Created: (MAPREDUCE-1621) Streaming's TextOutputReader.getLastOutput throws NPE if it has never read any output

Streaming's TextOutputReader.getLastOutput throws NPE if it has never read any output
-------------------------------------------------------------------------------------

                 Key: MAPREDUCE-1621
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1621
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: contrib/streaming
    Affects Versions: 0.20.2, 0.21.0, 0.22.0
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon


If TextOutputReader.readKeyValue() has never successfully read a line, then its bytes member will be left null. Thus when logging a task failure, PipeMapRed.getContext() can trigger an NPE when it calls outReader_.getLastOutput().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.