ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject ambari git commit: AMBARI-16906 Express upgrade: Oozie failed to start when user name and group are none-default values (dili)
Date Fri, 27 May 2016 18:31:03 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 87b0a2438 -> a94a03f55


AMBARI-16906 Express upgrade: Oozie failed to start when user name and group are none-default
values (dili)


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

Branch: refs/heads/trunk
Commit: a94a03f55605294e7aed061b9673c87c262d16f6
Parents: 87b0a24
Author: Di Li <dili@apache.org>
Authored: Fri May 27 14:30:20 2016 -0400
Committer: Di Li <dili@apache.org>
Committed: Fri May 27 14:30:20 2016 -0400

----------------------------------------------------------------------
 .../OOZIE/4.0.0.2.0/package/scripts/oozie_server_upgrade.py      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/a94a03f5/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server_upgrade.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server_upgrade.py
b/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server_upgrade.py
index a1f3336..402c7cb 100644
--- a/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server_upgrade.py
+++ b/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server_upgrade.py
@@ -214,8 +214,8 @@ class OozieUpgrade(Script):
     params.HdfsResource(format("{oozie_hdfs_user_dir}/share"),
       action = "create_on_execute",
       type = "directory",
-      owner = "oozie",
-      group = "hadoop",
+      owner = params.oozie_user,
+      group = params.user_group,
       mode = 0755,
       recursive_chmod = True)
 


Mime
View raw message