hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-6241) Script to split configurations from one file into multiple, according to templates.
Date Thu, 15 Oct 2009 23:47:31 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-6241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Todd Lipcon updated HADOOP-6241:
--------------------------------

    Attachment: hadoop-6241-v5.txt
                relative-patch.txt

The previous version exhibited a bug due to https://bugs.launchpad.net/lxml/+bug/334705 which
caused the tests to fail with lxml < 2.2.

This patch fixes that and also adds the feature that top-level comments in the template are
removed. It also fixes the pretty-printing of the results.

relative-patch.txt is from v4 to v5, and v5 is a fresh patch.

I tested using an 0.18 config I had lying around against templates inside the 0.20.1 core
jar and it worked correctly.

+1 on the rest of code - Philip should probably review my additional changes before someone
commits.

> Script to split configurations from one file into multiple, according to templates.
> -----------------------------------------------------------------------------------
>
>                 Key: HADOOP-6241
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6241
>             Project: Hadoop Common
>          Issue Type: New Feature
>            Reporter: Philip Zeyliger
>         Attachments: HADOOP-6241-v2.patch.txt, HADOOP-6241-v3.patch.txt, HADOOP-6241-v4.patch.txt,
hadoop-6241-v5.txt, HADOOP-6241.patch.txt, relative-patch.txt
>
>
> This script moves properties from hadoop-site.xml into common-site, mapred-site, and
hdfs-site in a reasonably generic way.  This is useful for upgrading clusters from 0.18 to
0.20 and 0.21.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message