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 "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2014/07/18 19:34:06 UTC

[jira] [Updated] (MAPREDUCE-579) Streaming "slowmatch" documentation

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

Allen Wittenauer updated MAPREDUCE-579:
---------------------------------------

    Labels: newbie  (was: )

> Streaming "slowmatch" documentation
> -----------------------------------
>
>                 Key: MAPREDUCE-579
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-579
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/streaming
>            Reporter: Bo Adler
>            Priority: Trivial
>              Labels: newbie
>
> 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
(v6.2#6252)