ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject git commit: AMBARI-4689. Oozie Server does not start. (mahadev)
Date Fri, 14 Feb 2014 22:42:23 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk de4fe5f14 -> cfbc3397c


AMBARI-4689. Oozie Server does not start. (mahadev)


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

Branch: refs/heads/trunk
Commit: cfbc3397c5cbbd4a3865b86061d82c8102e17334
Parents: de4fe5f
Author: Mahadev Konar <mahadev@apache.org>
Authored: Fri Feb 14 14:42:13 2014 -0800
Committer: Mahadev Konar <mahadev@apache.org>
Committed: Fri Feb 14 14:42:17 2014 -0800

----------------------------------------------------------------------
 .../2.0.6/services/OOZIE/package/templates/oozie-env.sh.j2    | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/cfbc3397/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/templates/oozie-env.sh.j2
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/templates/oozie-env.sh.j2
b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/templates/oozie-env.sh.j2
index 270a1a8..8b76923 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/templates/oozie-env.sh.j2
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/templates/oozie-env.sh.j2
@@ -17,6 +17,13 @@
 # limitations under the License.
 #
 
+if [ -d "/usr/lib/bigtop-tomcat" ]; then
+  export OOZIE_CONFIG=${OOZIE_CONFIG:-/etc/oozie/conf}
+  export CATALINA_BASE=${CATALINA_BASE:-/var/lib/oozie/oozie-server}
+  export CATALINA_TMPDIR=${CATALINA_TMPDIR:-/var/tmp/oozie}
+  export OOZIE_CATALINA_HOME=/usr/lib/bigtop-tomcat
+fi
+
 #Set JAVA HOME
 export JAVA_HOME={{java_home}}
 


Mime
View raw message