[
https://issues.apache.org/jira/browse/MAPREDUCE-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsuyoshi Ozawa updated MAPREDUCE-579:
-------------------------------------
Hadoop Flags: Reviewed
> 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
> Affects Versions: 2.6.0
> 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
(v6.3.4#6332)