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 "Harsh J (JIRA)" <ji...@apache.org> on 2015/03/19 08:33:39 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 ]
Harsh J updated MAPREDUCE-579:
------------------------------
Issue Type: Improvement (was: Bug)
> 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
> 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.3.4#6332)