ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vbrodets...@apache.org
Subject ambari git commit: AMBARI-11576. NN start fails when kerberos enabled.(vbrodetskyi)
Date Sun, 31 May 2015 19:14:28 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 226b9a076 -> 6c078c7ad


AMBARI-11576. NN start fails when kerberos enabled.(vbrodetskyi)


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

Branch: refs/heads/trunk
Commit: 6c078c7ad97565ac7fb1eca5bf43aa35f378cce3
Parents: 226b9a0
Author: Vitaly Brodetskyi <vbrodetskyi@hortonworks.com>
Authored: Sun May 31 19:24:21 2015 +0300
Committer: Vitaly Brodetskyi <vbrodetskyi@hortonworks.com>
Committed: Sun May 31 19:24:21 2015 +0300

----------------------------------------------------------------------
 .../HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/6c078c7a/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 5e824d0..d8666b3 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
@@ -93,7 +93,7 @@ def namenode(action=None, do_format=True, rolling_restart=False, env=None):
 
     if leave_safe_mode:
       # First check if Namenode is not in 'safemode OFF' (equivalent to safemode ON), if
so, then leave it
-      code, out = shell.call(namenode_safe_mode_off)
+      code, out = shell.call(namenode_safe_mode_off, user=params.hdfs_user)
       if code != 0:
         leave_safe_mode_cmd = format("hdfs --config {hadoop_conf_dir} dfsadmin -fs {namenode_address}
-safemode leave")
         Execute(leave_safe_mode_cmd,


Mime
View raw message