Ray Chiang updated YARN-2284:

    Attachment: YARN2284-02.patch

Second attempt.

- Have minimal changes to Configuration to read in xml files and retain keys 
with no values for comparison.
- Pull out common functions into a utility class.
- Create two unit tests, one for YarnConfiguration/yarn-default.xml and another 
for MRJobConfig/mapred-default.xml.  Unit tests generate output in 
surefire-reports that do Configuration/XML file comparisons and report which 
keys exist in one and not the other.

> Find missing config options in YarnConfiguration and yarn-default.xml
> ---------------------------------------------------------------------
>                 Key: YARN-2284
>                 URL: https://issues.apache.org/jira/browse/YARN-2284
>             Project: Hadoop YARN
>          Issue Type: Improvement
>    Affects Versions: 2.4.1
>            Reporter: Ray Chiang
>            Assignee: Ray Chiang
>            Priority: Minor
>              Labels: supportability
>         Attachments: YARN2284-01.patch, YARN2284-02.patch
> YarnConfiguration has one set of properties.  yarn-default.xml has another 
> set of properties.  Ideally, there should be an automatic way to find missing 
> properties in either location.
> This is analogous to MAPREDUCE-5130, but for yarn-default.xml.

This message was sent by Atlassian JIRA

Reply via email to