HADOOP-12367. Move TestFileUtil's test resources to resources folder. (wang via yliu)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/f4d96be6 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/f4d96be6 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/f4d96be6 Branch: refs/heads/YARN-1197 Commit: f4d96be6c637ff54903615cff04b365e25bb3229 Parents: 7ad3556 Author: yliu <[email protected]> Authored: Tue Sep 1 16:20:56 2015 +0800 Committer: yliu <[email protected]> Committed: Tue Sep 1 16:20:56 2015 +0800 ---------------------------------------------------------------------- hadoop-common-project/hadoop-common/CHANGES.txt | 3 +++ hadoop-common-project/hadoop-common/pom.xml | 19 +------------------ .../java/org/apache/hadoop/fs/test-untar.tar | Bin 20480 -> 0 bytes .../java/org/apache/hadoop/fs/test-untar.tgz | Bin 2024 -> 0 bytes .../src/test/resources/test-untar.tar | Bin 0 -> 20480 bytes .../src/test/resources/test-untar.tgz | Bin 0 -> 2024 bytes 6 files changed, 4 insertions(+), 18 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/f4d96be6/hadoop-common-project/hadoop-common/CHANGES.txt ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 0f52d22..14e6fda 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -759,6 +759,9 @@ Release 2.8.0 - UNRELEASED HADOOP-12368. Mark ViewFileSystemBaseTest and ViewFsBaseTest as abstract. (wang) + HADOOP-12367. Move TestFileUtil's test resources to resources folder. + (wang via yliu) + OPTIMIZATIONS HADOOP-11785. Reduce the number of listStatus operation in distcp http://git-wip-us.apache.org/repos/asf/hadoop/blob/f4d96be6/hadoop-common-project/hadoop-common/pom.xml ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-common/pom.xml b/hadoop-common-project/hadoop-common/pom.xml index 282735d..3ae09a0 100644 --- a/hadoop-common-project/hadoop-common/pom.xml +++ b/hadoop-common-project/hadoop-common/pom.xml @@ -454,23 +454,6 @@ </configuration> </execution> <execution> - <id>copy-test-tarballs</id> - <phase>process-test-resources</phase> - <goals> - <goal>run</goal> - </goals> - <configuration> - <target> - <copy toDir="${test.cache.data}"> - <fileset dir="${basedir}/src/test/java/org/apache/hadoop/fs"> - <include name="test-untar.tar"/> - <include name="test-untar.tgz"/> - </fileset> - </copy> - </target> - </configuration> - </execution> - <execution> <phase>pre-site</phase> <goals> <goal>run</goal> @@ -505,7 +488,7 @@ <exclude>src/main/native/src/org/apache/hadoop/io/compress/lz4/lz4hc.h</exclude> <exclude>src/main/native/src/org/apache/hadoop/io/compress/lz4/lz4hc.c</exclude> <exclude>src/main/native/src/org/apache/hadoop/io/compress/lz4/lz4hc_encoder.h</exclude> - <exclude>src/test/java/org/apache/hadoop/fs/test-untar.tgz</exclude> + <exclude>src/test/resources/test-untar.tgz</exclude> <exclude>src/test/resources/test.har/_SUCCESS</exclude> <exclude>src/test/resources/test.har/_index</exclude> <exclude>src/test/resources/test.har/_masterindex</exclude> http://git-wip-us.apache.org/repos/asf/hadoop/blob/f4d96be6/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/test-untar.tar ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/test-untar.tar b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/test-untar.tar deleted file mode 100644 index 949e985..0000000 Binary files a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/test-untar.tar and /dev/null differ http://git-wip-us.apache.org/repos/asf/hadoop/blob/f4d96be6/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/test-untar.tgz ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/test-untar.tgz b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/test-untar.tgz deleted file mode 100644 index 9e9ef40..0000000 Binary files a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/test-untar.tgz and /dev/null differ http://git-wip-us.apache.org/repos/asf/hadoop/blob/f4d96be6/hadoop-common-project/hadoop-common/src/test/resources/test-untar.tar ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-common/src/test/resources/test-untar.tar b/hadoop-common-project/hadoop-common/src/test/resources/test-untar.tar new file mode 100644 index 0000000..949e985 Binary files /dev/null and b/hadoop-common-project/hadoop-common/src/test/resources/test-untar.tar differ http://git-wip-us.apache.org/repos/asf/hadoop/blob/f4d96be6/hadoop-common-project/hadoop-common/src/test/resources/test-untar.tgz ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-common/src/test/resources/test-untar.tgz b/hadoop-common-project/hadoop-common/src/test/resources/test-untar.tgz new file mode 100644 index 0000000..9e9ef40 Binary files /dev/null and b/hadoop-common-project/hadoop-common/src/test/resources/test-untar.tgz differ
