You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Christopher Auston (JIRA)" <ji...@apache.org> on 2013/11/29 19:16:36 UTC

[jira] [Updated] (HADOOP-10138) Support custom record separator with streaming

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

Christopher Auston updated HADOOP-10138:
----------------------------------------

    Attachment: streaming-patch.diff

Subversion patch file for hadoop/trunk/hadoop-tools/hadoop-streaming.

> Support custom record separator with streaming
> ----------------------------------------------
>
>                 Key: HADOOP-10138
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10138
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Christopher Auston
>            Priority: Minor
>         Attachments: streaming-patch.diff
>
>
> We store XML documents in sequence files as values.  The values may contain newlines.  It is useful to have hadoop-streaming output a zero-byte instead of a newline to delimit key-value boundaries.  The mapping script can then find the key-value pairs unambiguously by looking for zero-bytes.
> I find this really useful so I can use a ruby script for quick adhoc queries.
> I have a patch with unit test that I will attach.



--
This message was sent by Atlassian JIRA
(v6.1#6144)