hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amareshwari Sriramadasu (JIRA)" <j...@apache.org>
Subject [jira] Updated: (MAPREDUCE-1621) Streaming's TextOutputReader.getLastOutput throws NPE if it has never read any output
Date Thu, 15 Jul 2010 04:58:52 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Amareshwari Sriramadasu updated MAPREDUCE-1621:
-----------------------------------------------

    Status: Patch Available  (was: Open)

> 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.21.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: patch-1621.txt
>
>
> 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.


Mime
View raw message