#! /bin/bash

################################################
#
#              Generated by Chef
#
################################################


export OOZIE_CONFIG=/etc/oozie/conf
export OOZIE_DATA=/var/lib/oozie
export OOZIE_LOG=/var/log/oozie
export OOZIE_CATALINA_HOME=/usr/lib/oozie/oozie-server
export CATALINA_TMPDIR=/var/tmp/oozie
export CATALINA_PID=/var/run/oozie/oozie.pid
export CATALINA_BASE=/var/lib/oozie/oozie-server
export CATALINA_OPTS=-Xmx1024m
export OOZIE_HTTPS_PORT=11443
export OOZIE_HTTPS_KEYSTORE_PASS=<%=get_config("oozie-keystore-password") %>
export CATALINA_OPTS="$CATALINA_OPTS -Doozie.https.port=${OOZIE_HTTPS_PORT}"
export CATALINA_OPTS="$CATALINA_OPTS -Doozie.https.keystore.pass=${OOZIE_HTTPS_KEYSTORE_PASS}"

export JAVA_HOME=<% node["bcpc"]["hadoop"]["java"] %>
export JAVA_LIBRARY_PATH=/usr/lib/hadoop/lib/native/Linux-amd64-64


#! /bin/bash

################################################
#
#              Generated by Chef
#
################################################


export OOZIE_CONFIG=/etc/oozie/conf
export OOZIE_DATA=/var/lib/oozie
export OOZIE_LOG=/var/log/oozie
export OOZIE_CATALINA_HOME=/usr/lib/oozie/oozie-server
export CATALINA_TMPDIR=/var/tmp/oozie
export CATALINA_PID=/var/run/oozie/oozie.pid
export CATALINA_BASE=/var/lib/oozie/oozie-server
export CATALINA_OPTS=-Xmx1024m
export OOZIE_HTTPS_PORT=11443
export OOZIE_HTTPS_KEYSTORE_PASS=<%=get_config("oozie-keystore-password") %>
export CATALINA_OPTS="$CATALINA_OPTS -Doozie.https.port=${OOZIE_HTTPS_PORT}"
export CATALINA_OPTS="$CATALINA_OPTS -Doozie.https.keystore.pass=${OOZIE_HTTPS_KEYSTORE_PASS}"

export JAVA_HOME=<%= node["bcpc"]["hadoop"]["java"] %>
export JAVA_LIBRARY_PATH=/usr/lib/hadoop/lib/native/Linux-amd64-64


Fix embedded ruby block to set oozie java_home
Fix embedded ruby block to set oozie java_home
