Updated Branches:
  refs/heads/master 525e44687 -> 82068ca74

BIGTOP-877. TestDFSAdmin in hadoop-smoke has to ensure its own environment, 
e.g.  create HDFS paths, etc.


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/82068ca7
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/82068ca7
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/82068ca7

Branch: refs/heads/master
Commit: 82068ca74841cc7071c54c8ca0339105315ff7bc
Parents: 847b27e
Author: Konstantin Boudnik <[email protected]>
Authored: Thu Mar 21 12:16:00 2013 -0700
Committer: Konstantin Boudnik <[email protected]>
Committed: Thu Mar 21 12:27:22 2013 -0700

----------------------------------------------------------------------
 .../bigtop/itest/hadoop/hdfs/TestDFSAdmin.groovy   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/82068ca7/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestDFSAdmin.groovy
----------------------------------------------------------------------
diff --git 
a/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestDFSAdmin.groovy
 
b/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestDFSAdmin.groovy
index 795a502..bea1595 100644
--- 
a/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestDFSAdmin.groovy
+++ 
b/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoop/hdfs/TestDFSAdmin.groovy
@@ -149,7 +149,7 @@ public class TestDFSAdmin {
       assertTrue("Deletion of previous testDistcpInputs from HDFS failed",
           shHDFS.getRet() == 0);
     }
-    shHDFS.exec("hadoop fs -mkdir $quota_test");
+    shHDFS.exec("hadoop fs -mkdir -p $quota_test");
     shHDFS.exec("hdfs dfsadmin -setQuota 1000 $quota_test");
     assertTrue("-setQuota failed", shHDFS.getRet() == 0);
     shHDFS.exec("hdfs dfsadmin -clrQuota $quota_test");

Reply via email to