ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jai...@apache.org
Subject git commit: AMBARI-5434. HDFS check failed during Start Services step (Enable Security). (2nd patch to fix unit test)(jaimin)
Date Fri, 11 Apr 2014 18:13:36 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-1.5.1 ec981d8dd -> 583f2410c


AMBARI-5434. HDFS check failed during Start Services step (Enable Security). (2nd patch to
fix unit test)(jaimin)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/583f2410
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/583f2410
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/583f2410

Branch: refs/heads/branch-1.5.1
Commit: 583f2410cd13a30165081019cb52c8670c73f758
Parents: ec981d8
Author: Jaimin Jetly <jaimin@hortonworks.com>
Authored: Fri Apr 11 11:11:51 2014 -0700
Committer: Jaimin Jetly <jaimin@hortonworks.com>
Committed: Fri Apr 11 11:12:50 2014 -0700

----------------------------------------------------------------------
 .../src/test/python/stacks/1.3.2/HDFS/test_service_check.py        | 2 +-
 .../src/test/python/stacks/2.0.6/HDFS/test_service_check.py        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/583f2410/ambari-server/src/test/python/stacks/1.3.2/HDFS/test_service_check.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/1.3.2/HDFS/test_service_check.py b/ambari-server/src/test/python/stacks/1.3.2/HDFS/test_service_check.py
index 732b7e4..78cfde7 100644
--- a/ambari-server/src/test/python/stacks/1.3.2/HDFS/test_service_check.py
+++ b/ambari-server/src/test/python/stacks/1.3.2/HDFS/test_service_check.py
@@ -52,7 +52,7 @@ class TestServiceCheck(RMFTestCase):
         try_sleep = 3,
         user = 'ambari-qa',
     )
-    self.assertResourceCalled('ExecuteHadoop', 'fs -mkdir /tmp ; hadoop fs -chmod -R 777
/tmp',
+    self.assertResourceCalled('ExecuteHadoop', 'fs -mkdir /tmp ; hadoop fs -chmod 777 /tmp',
         conf_dir = '/etc/hadoop/conf',
         logoutput = True,
         not_if = 'hadoop fs -test -e /tmp',

http://git-wip-us.apache.org/repos/asf/ambari/blob/583f2410/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_service_check.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_service_check.py b/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_service_check.py
index 732b7e4..78cfde7 100644
--- a/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_service_check.py
+++ b/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_service_check.py
@@ -52,7 +52,7 @@ class TestServiceCheck(RMFTestCase):
         try_sleep = 3,
         user = 'ambari-qa',
     )
-    self.assertResourceCalled('ExecuteHadoop', 'fs -mkdir /tmp ; hadoop fs -chmod -R 777
/tmp',
+    self.assertResourceCalled('ExecuteHadoop', 'fs -mkdir /tmp ; hadoop fs -chmod 777 /tmp',
         conf_dir = '/etc/hadoop/conf',
         logoutput = True,
         not_if = 'hadoop fs -test -e /tmp',


Mime
View raw message