You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by rv...@apache.org on 2012/04/30 23:05:48 UTC
svn commit: r1332394 -
/incubator/bigtop/trunk/bigtop-tests/test-artifacts/hadoop/src/main/resources/clitest_data/testConf.xml
Author: rvs
Date: Mon Apr 30 21:05:47 2012
New Revision: 1332394
URL: http://svn.apache.org/viewvc?rev=1332394&view=rev
Log:
BIGTOP-569. fix for TestCLI failures due to change in behavior of hadoop fs -put (Wing Yew Poon via rvs)
Modified:
incubator/bigtop/trunk/bigtop-tests/test-artifacts/hadoop/src/main/resources/clitest_data/testConf.xml
Modified: incubator/bigtop/trunk/bigtop-tests/test-artifacts/hadoop/src/main/resources/clitest_data/testConf.xml
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-tests/test-artifacts/hadoop/src/main/resources/clitest_data/testConf.xml?rev=1332394&r1=1332393&r2=1332394&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-tests/test-artifacts/hadoop/src/main/resources/clitest_data/testConf.xml (original)
+++ incubator/bigtop/trunk/bigtop-tests/test-artifacts/hadoop/src/main/resources/clitest_data/testConf.xml Mon Apr 30 21:05:47 2012
@@ -1652,6 +1652,8 @@
<test> <!-- TESTED -->
<description>put: putting file into a directory(absolute path)</description>
<test-commands>
+ <command>-fs NAMENODE -mkdir TEST_DIR_ABSOLUTE/dir0</command>
+ <command>-fs NAMENODE -mkdir TEST_DIR_ABSOLUTE/dir0/dir1</command>
<command>-fs NAMENODE -put CLITEST_DATA TEST_DIR_ABSOLUTE/dir0/dir1/data</command>
<command>-fs NAMENODE -du TEST_DIR_ABSOLUTE/dir0/dir1/data</command>
</test-commands>
@@ -1681,6 +1683,8 @@
<test> <!-- TESTED -->
<description>put: putting file into a directory(relative path)</description>
<test-commands>
+ <command>-fs NAMENODE -mkdir dir0</command>
+ <command>-fs NAMENODE -mkdir dir0/dir1</command>
<command>-fs NAMENODE -put CLITEST_DATA dir0/dir1/data</command>
<command>-fs NAMENODE -du dir0/dir1/data</command>
</test-commands>
@@ -1890,6 +1894,8 @@
<test> <!-- TESTED -->
<description>copyFromLocal: copying file into a directory(absolute path)</description>
<test-commands>
+ <command>-fs NAMENODE -mkdir TEST_DIR_ABSOLUTE/dir0</command>
+ <command>-fs NAMENODE -mkdir TEST_DIR_ABSOLUTE/dir0/dir1</command>
<command>-fs NAMENODE -copyFromLocal CLITEST_DATA TEST_DIR_ABSOLUTE/dir0/dir1/data</command>
<command>-fs NAMENODE -du TEST_DIR_ABSOLUTE/dir0/dir1/data</command>
</test-commands>
@@ -1919,6 +1925,8 @@
<test> <!-- TESTED -->
<description>copyFromLocal: copying file into a directory(relative path)</description>
<test-commands>
+ <command>-fs NAMENODE -mkdir dir0</command>
+ <command>-fs NAMENODE -mkdir dir0/dir1</command>
<command>-fs NAMENODE -copyFromLocal CLITEST_DATA dir0/dir1/data</command>
<command>-fs NAMENODE -du dir0/dir1/data</command>
</test-commands>
@@ -2790,7 +2798,7 @@
<test> <!-- TESTED -->
<description>stat: statistics about files (absolute path) using globbing</description>
<test-commands>
- <command>-fs -mkdir TEST_DIR_ABSOLUTE/dir0</command>
+ <command>-fs NAMENODE -mkdir TEST_DIR_ABSOLUTE/dir0</command>
<command>-fs NAMENODE -put CLITEST_DATA/data15bytes TEST_DIR_ABSOLUTE/dir0/data15bytes</command>
<command>-fs NAMENODE -put CLITEST_DATA/data30bytes TEST_DIR_ABSOLUTE/dir0/data30bytes</command>
<command>-fs NAMENODE -put CLITEST_DATA/data60bytes TEST_DIR_ABSOLUTE/dir0/data60bytes</command>