Details
Description
If a configuration file contains a setting for a property then later includes another file that also sets that property to a different value then the property will be parsed incorrectly. For example, consider the following configuration file:
<configuration xmlns:xi="http://www.w3.org/2001/XInclude"> <property> <name>myprop</name> <value>val1</value> </property> <xi:include href="/some/other/file.xml"/> </configuration>
with the contents of /some/other/file.xml as:
<property> <name>myprop</name> <value>val2</value> </property>
Parsing this configuration should result in myprop=val2, but it actually results in myprop=val1.
Attachments
Issue Links
- is caused by
-
HADOOP-15554 Improve JIT performance for Configuration parsing
- Resolved
- is duplicated by
-
HADOOP-15973 Configuration: Included properties are not cached if resource is a stream
- Resolved