[
https://issues.apache.org/jira/browse/HADOOP-16749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Turner Eagles updated HADOOP-16749:
--------------------------------------------
Fix Version/s: 2.10.1
3.2.2
3.1.4
2.9.3
3.3.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
Thanks, [~daryn] for this patch and test. Thanks, [[email protected]] for
review. Committed this jira's patch HADOOP-16749.001.patch to trunk and
cherry-picked to branch-3.2, branch-3.1 and used the HADOOP-16749.patch to
commit to branch-2.10 and cherry-picked to branch-2.9.
> Configuration parsing of CDATA values are blank
> -----------------------------------------------
>
> Key: HADOOP-16749
> URL: https://issues.apache.org/jira/browse/HADOOP-16749
> Project: Hadoop Common
> Issue Type: Bug
> Components: conf
> Reporter: Jonathan Turner Eagles
> Assignee: Daryn Sharp
> Priority: Major
> Fix For: 3.3.0, 2.9.3, 3.1.4, 3.2.2, 2.10.1
>
> Attachments: HADOOP-16749.002.patch, HADOOP-16749.patch
>
>
> When using CDATA. CDATA elements are skipped by the parser.
> In fact someone on stack overflow was asking this same question a few months
> ago.
> https://stackoverflow.com/questions/57829034/why-is-apache-hadoop-configuration-module-ignores-cdata
> {code}
> <property>
> <name>test.cdata</name>
> <value>hello <![CDATA[world]]></value>
> </property>
> {code}
> conf.get("test.cdata") parses as 'hello ' instead of 'hello world'
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]