Explorar o código

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

Mahadev Konar %!s(int64=11) %!d(string=hai) anos
pai
achega
cfbc3397c5

+ 7 - 0
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.
 # 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
 #Set JAVA HOME
 export JAVA_HOME={{java_home}}
 export JAVA_HOME={{java_home}}