You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by dm...@apache.org on 2015/10/08 13:29:56 UTC

[1/2] ambari git commit: AMBARI-13354. Ambari is not able to run Oozie Server which configured with different username than oozie (dlysnichenko)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 d685062f9 -> 7d40f5da3
  refs/heads/trunk be01031a3 -> 3c9a79e67


AMBARI-13354. Ambari is not able to run Oozie Server which configured with different username than oozie (dlysnichenko)


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

Branch: refs/heads/branch-2.1
Commit: 7d40f5da307e0e67680e9fb73515d9235010c7ba
Parents: d685062
Author: Lisnichenko Dmitro <dl...@hortonworks.com>
Authored: Thu Oct 8 14:28:56 2015 +0300
Committer: Lisnichenko Dmitro <dl...@hortonworks.com>
Committed: Thu Oct 8 14:28:56 2015 +0300

----------------------------------------------------------------------
 .../OOZIE/4.0.0.2.0/package/scripts/params_linux.py                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/7d40f5da/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params_linux.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params_linux.py b/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params_linux.py
index 8b255fd..779c792 100644
--- a/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params_linux.py
+++ b/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params_linux.py
@@ -230,7 +230,7 @@ if sqla_db_used:
   libs_path_in_archive = format("{tmp_dir}/sqla-client-jdbc/native/lib64/*")
   downloaded_custom_connector = format("{tmp_dir}/sqla-client-jdbc.tar.gz")
 
-hdfs_share_dir = "/user/oozie/share"
+hdfs_share_dir = format("{oozie_hdfs_user_dir}/share")
 ambari_server_hostname = config['clusterHostInfo']['ambari_server_host'][0]
 falcon_host = default("/clusterHostInfo/falcon_server_hosts", [])
 has_falcon_host = not len(falcon_host)  == 0


[2/2] ambari git commit: AMBARI-13354. Ambari is not able to run Oozie Server which configured with different username than oozie (dlysnichenko)

Posted by dm...@apache.org.
AMBARI-13354. Ambari is not able to run Oozie Server which configured with different username than oozie (dlysnichenko)


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

Branch: refs/heads/trunk
Commit: 3c9a79e67082edc5b731fb42eed9fbadc54ca848
Parents: be01031
Author: Lisnichenko Dmitro <dl...@hortonworks.com>
Authored: Thu Oct 8 14:28:56 2015 +0300
Committer: Lisnichenko Dmitro <dl...@hortonworks.com>
Committed: Thu Oct 8 14:29:40 2015 +0300

----------------------------------------------------------------------
 .../OOZIE/4.0.0.2.0/package/scripts/params_linux.py                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/3c9a79e6/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params_linux.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params_linux.py b/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params_linux.py
index 60713e5..d27d10a 100644
--- a/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params_linux.py
+++ b/ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params_linux.py
@@ -230,7 +230,7 @@ if sqla_db_used:
   libs_path_in_archive = format("{tmp_dir}/sqla-client-jdbc/native/lib64/*")
   downloaded_custom_connector = format("{tmp_dir}/sqla-client-jdbc.tar.gz")
 
-hdfs_share_dir = "/user/oozie/share"
+hdfs_share_dir = format("{oozie_hdfs_user_dir}/share")
 ambari_server_hostname = config['clusterHostInfo']['ambari_server_host'][0]
 falcon_host = default("/clusterHostInfo/falcon_server_hosts", [])
 has_falcon_host = not len(falcon_host)  == 0