[
https://issues.apache.org/jira/browse/HADOOP-6241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philip Zeyliger updated HADOOP-6241:
------------------------------------
Attachment: HADOOP-6241-v3.patch.txt
Attaching another version, where I've split out the test file.
Nicholas--I tried to update the ant tasks, but there was a deeper problem: I'm
using lxml.etree, which isn't part of the standard python distro (though is a
commonly installed package). I tried to backport to xml.ElementTree, which
worked (though I couldn't preserve the comments anymore, since ElementTree
drops them at parse), but then I realized that that package isn't even in
python 2.4, so it would still be a burden to find machines with the right
pre-requisites.
My original motivation here was to share a script that I found useful after
splitting a couple of clusters' configuration files into multiple files. I
used python and lxml, since those tools were quickest for me. In terms of
integration with the build/test system, Java would have obviously been better
:/ I'm ok with deciding that this isn't the right place for this script, and
just throwing it up on the web somewhere else. Do you think that's the way we
should go?
BTW, if I were to update the build file, I'd need to pull in a depency to
pyAntTasks (which Avro already uses).
-- Philip
> 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.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.