You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sm...@apache.org on 2015/06/04 23:10:57 UTC

ambari git commit: AMBARI-11704. Mahout service check fails due to bad folder permission for /user/ambari-qa (afernandez via smohanty)

Repository: ambari
Updated Branches:
  refs/heads/trunk 98640c636 -> 332eca725


AMBARI-11704. Mahout service check fails due to bad folder permission for /user/ambari-qa (afernandez via smohanty)


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

Branch: refs/heads/trunk
Commit: 332eca7253e6fde33c4f7fbce07558752a8028e3
Parents: 98640c6
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Thu Jun 4 14:05:59 2015 -0700
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Thu Jun 4 14:05:59 2015 -0700

----------------------------------------------------------------------
 .../HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py           | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/332eca72/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py
index 874cc6a..eec864c 100644
--- a/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py
+++ b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py
@@ -139,9 +139,12 @@ def namenode(action=None, do_format=True, rolling_restart=False, env=None):
                 path=[params.hadoop_bin_dir],
                 user=params.hdfs_user
         )
+        pass
+      pass
+
+    # Always run this on non-HA, or active NameNode during HA.
+    create_hdfs_directories(is_active_namenode_cmd)
 
-      # Always run on this non-HA, or active NameNode during HA.
-      create_hdfs_directories(is_active_namenode_cmd)
   elif action == "stop":
     import params
     service(