You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-commits@hadoop.apache.org by om...@apache.org on 2009/09/22 23:41:17 UTC
svn commit: r817853 - in /hadoop/hdfs/trunk: ./ lib/
src/contrib/block_forensics/ src/test/ src/test/hdfs-with-mr/
Author: omalley
Date: Tue Sep 22 21:41:07 2009
New Revision: 817853
URL: http://svn.apache.org/viewvc?rev=817853&view=rev
Log:
HDFS-641. Move all of the components that depend on map/reduce to
map/reduce. (omalley)
Removed:
hadoop/hdfs/trunk/lib/hadoop-mapred-0.22.0-dev.jar
hadoop/hdfs/trunk/lib/hadoop-mapred-examples-0.22.0-dev.jar
hadoop/hdfs/trunk/lib/hadoop-mapred-test-0.22.0-dev.jar
hadoop/hdfs/trunk/src/contrib/block_forensics/
hadoop/hdfs/trunk/src/test/hdfs-with-mr/
hadoop/hdfs/trunk/src/test/mapred-site.xml
Modified:
hadoop/hdfs/trunk/CHANGES.txt
hadoop/hdfs/trunk/build.xml
Modified: hadoop/hdfs/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/CHANGES.txt?rev=817853&r1=817852&r2=817853&view=diff
==============================================================================
--- hadoop/hdfs/trunk/CHANGES.txt (original)
+++ hadoop/hdfs/trunk/CHANGES.txt Tue Sep 22 21:41:07 2009
@@ -187,6 +187,9 @@
HDFS-598. Eclipse launch task for HDFS. (Eli Collins via tomwhite)
+ HDFS-641. Move all of the components that depend on map/reduce to
+ map/reduce. (omalley)
+
BUG FIXES
HDFS-76. Better error message to users when commands fail because of
Modified: hadoop/hdfs/trunk/build.xml
URL: http://svn.apache.org/viewvc/hadoop/hdfs/trunk/build.xml?rev=817853&r1=817852&r2=817853&view=diff
==============================================================================
--- hadoop/hdfs/trunk/build.xml (original)
+++ hadoop/hdfs/trunk/build.xml Tue Sep 22 21:41:07 2009
@@ -194,15 +194,6 @@
<path refid="classpath"/>
</path>
- <path id="test.hdfs.with.mr.classpath">
- <path refid="test.classpath"/>
- <pathelement location="${test.hdfs.with.mr.build.classes}" />
- <pathelement location="${lib.dir}/hadoop-mapred-test-${hadoop-mr.version}.jar" />
- <pathelement location="${lib.dir}/hadoop-mapred-${hadoop-mr.version}.jar" />
- <pathelement location="${lib.dir}/hadoop-mapred-tools-${hadoop-mr.version}.jar" />
- <pathelement location="${lib.dir}/hadoop-mapred-examples-${hadoop-mr.version}.jar" />
- </path>
-
<!-- the cluster test classpath: uses conf.dir for configuration -->
<path id="test.cluster.classpath">
<path refid="classpath"/>
@@ -253,12 +244,6 @@
<exclude name="**/*.jsp" />
</fileset>
</copy>
- <unzip src="${lib.dir}/hadoop-mapred-${hadoop-mr.version}.jar"
- dest="${build.dir}">
- <patternset>
- <include name="webapps/**"/>
- </patternset>
- </unzip>
<copy todir="${conf.dir}" verbose="true">
<fileset dir="${conf.dir}" includes="**/*.template"/>
@@ -656,48 +641,6 @@
<macro-test-runner test.file="${test.hdfs.commit.tests.file}" />
</target>
- <target name="run-test-hdfs-with-mr" depends="compile-hdfs-with-mr-test" description="Run hdfs unit tests that require mapred">
-
- <delete dir="${test.build.data}"/>
- <mkdir dir="${test.build.data}"/>
- <delete dir="${test.log.dir}"/>
- <mkdir dir="${test.log.dir}"/>
- <copy file="${test.src.dir}/hadoop-policy.xml"
- todir="${test.build.extraconf}" />
- <copy file="${test.src.dir}/fi-site.xml"
- todir="${test.build.extraconf}" />
- <junit showoutput="${test.output}"
- printsummary="${test.junit.printsummary}"
- haltonfailure="${test.junit.haltonfailure}"
- fork="yes"
- forkmode="${test.junit.fork.mode}"
- maxmemory="${test.junit.maxmemory}"
- dir="${basedir}" timeout="${test.timeout}"
- errorProperty="tests.failed" failureProperty="tests.failed">
- <sysproperty key="test.build.data" value="${test.build.data}"/>
- <sysproperty key="test.cache.data" value="${test.cache.data}"/>
- <sysproperty key="test.debug.data" value="${test.debug.data}"/>
- <sysproperty key="hadoop.log.dir" value="${test.log.dir}"/>
- <sysproperty key="test.src.dir" value="${test.src.dir}"/>
- <sysproperty key="test.build.extraconf" value="${test.build.extraconf}" />
- <sysproperty key="hadoop.policy.file" value="hadoop-policy.xml"/>
- <classpath refid="test.hdfs.with.mr.classpath"/>
- <syspropertyset id="FaultProbabilityProperties">
- <propertyref regex="fi.*"/>
- </syspropertyset>
- <formatter type="${test.junit.output.format}" />
- <batchtest todir="${test.build.dir}" if="tests.notestcase">
- <fileset dir="${test.src.dir}/hdfs-with-mr"
- includes="**/${test.include}.java"
- excludes="**/${test.exclude}.java" />
- </batchtest>
- <batchtest todir="${test.build.dir}" if="tests.testcase">
- <fileset dir="${test.src.dir}/hdfs-with-mr" includes="**/${testcase}.java"/>
- </batchtest>
- </junit>
- <antcall target="checkfailure"/>
- </target>
-
<target name="checkfailure" if="tests.failed">
<touch file="${test.build.dir}/testsfailed"/>
<fail unless="continueOnFailure">Tests failed!</fail>
@@ -712,7 +655,7 @@
</subant>
</target>
- <target name="test-core" description="Run core, hdfs and mapred unit tests">
+ <target name="test-core" description="Run hdfs unit tests">
<delete file="${test.build.dir}/testsfailed"/>
<property name="continueOnFailure" value="true"/>
<antcall target="run-test-hdfs"/>