hadoop-common-issues mailing list archives

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

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

Philip Zeyliger commented on HADOOP-6241:
-----------------------------------------

I managed to hack together the ant stuff to get the test to "run", but it fails, even on my
machine, with an import error.  ("[py-test] ImportError: No module named lxml.etree").

{quote}
+  <target name="run-test-pyscripts" description="Run python script unit tests">
+    <taskdef name="py-test" classname="org.pyant.tasks.PythonTestTask" classpath="${basedir}/lib/pyAntTasks-1.3.jar">
+    <!--  <classpath refid="classpath" /> -->
+    </taskdef>
+    <py-test pythonpath="${basedir}/bin:${basedir}/src/test/bin" dir=".">
+      <fileset dir="${basedir}/src/test/bin">
+        <include name="**/*_test.py"/>
+      </fileset>
+    </py-test>
+  </target>
{quote}

> 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.


Mime
View raw message