You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Sandy Ryza (JIRA)" <ji...@apache.org> on 2013/10/09 03:14:42 UTC
[jira] [Commented] (MAPREDUCE-5457) Add a KeyOnlyTextOutputReader
to enable streaming to write out text files without separators
[ https://issues.apache.org/jira/browse/MAPREDUCE-5457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13789908#comment-13789908 ]
Sandy Ryza commented on MAPREDUCE-5457:
---------------------------------------
Attached patch for branch-1
> Add a KeyOnlyTextOutputReader to enable streaming to write out text files without separators
> --------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-5457
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5457
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Affects Versions: 2.1.0-beta
> Reporter: Sandy Ryza
> Assignee: Sandy Ryza
> Attachments: MAPREDUCE-5457-branch-1.patch, MAPREDUCE-5457.patch
>
>
> MR jobs sometimes want to just output lines of text, not key/value pairs. TextOutputFormat handles this by, if a null value is given, outputting only the key with no separator. Streaming jobs are unable to take advantage of this, because they can't output null values. A text output format reader takes each line as a key and outputs NullWritables for values would allow streaming jobs to output lines of text.
--
This message was sent by Atlassian JIRA
(v6.1#6144)