hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Auston (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-10138) Support custom record separator with streaming
Date Fri, 29 Nov 2013 18:16:36 GMT

     [ 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)

Mime
View raw message