You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2014/04/11 20:12:18 UTC

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

Repository: ambari
Updated Branches:
  refs/heads/trunk 857098dbc -> f4f83a439


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/f4f83a43
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f4f83a43
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f4f83a43

Branch: refs/heads/trunk
Commit: f4f83a4398a2b1e0e432bd256df65471b71a49e3
Parents: 857098d
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Fri Apr 11 11:11:51 2014 -0700
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Fri Apr 11 11:11:51 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/f4f83a43/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/f4f83a43/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',