hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-579) Streaming "slowmatch" documentation
Date Thu, 19 Mar 2015 07:36:38 GMT

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

Harsh J updated MAPREDUCE-579:
    Assignee: Harsh J
      Labels:   (was: newbie)
      Status: Patch Available  (was: Open)

This seemed simple enough to extract from code comments and long overdue. Attached a doc change
that comes up well rendered via 'mvn site'.

> Streaming "slowmatch" documentation
> -----------------------------------
>                 Key: MAPREDUCE-579
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-579
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: contrib/streaming
>            Reporter: Bo Adler
>            Assignee: Harsh J
>            Priority: Trivial
>         Attachments: MAPREDUCE-579.patch
> The documentation for the Streaming module do not include any mention of the "slowmatch"
parameter, which checks for CDATA sections while looking for XML records.
> An important point is that "slowmatch=true" violates the principle of least surprise:
the "begin" and "end" parameters become regular expressions instead of exact strings.  This
is probably a useful feature, but should definitely be noted since users will be tempted to
use the XML record reader on not-strictly-xml files, which may require escaping the "begin"
and "end" patterns.

This message was sent by Atlassian JIRA

View raw message