hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Eagles (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14216) Improve Configuration XML Parsing Performance
Date Thu, 23 Mar 2017 23:07:41 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-14216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15939398#comment-15939398
] 

Jonathan Eagles commented on HADOOP-14216:
------------------------------------------

Regarding xi:include xi:fallback, this was never a documented feature that I could find and
no tests proved continued support. Through using the underlying xerces2 xml parser, the xml
extension https://www.w3.org/TR/xinclude/ was however available and examples were found to
be using this feature. Stax parser, by design or maturity, don't support Xinclude. It was
mostly trivial to implement. The essential feature is that xi:include statements xml inine
statements. Thus, the source remains the same. xi:fallback statements are not used unless
the xi:include fetch fails. Finals in xi:include statements preclude being overridden in the
remaining document, but not final configuration can be overridden in the remaining document.
If a fetch fails on an xi:include statement and no fallback is found, then that is a fatal
error.

> Improve Configuration XML Parsing Performance
> ---------------------------------------------
>
>                 Key: HADOOP-14216
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14216
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Jonathan Eagles
>            Assignee: Jonathan Eagles
>         Attachments: HADOOP-14216.1.patch
>
>
> JIRA is to improve XML parsing performance through reuse and a change in XML parser (STAX)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message