sahara-image-elements/elements/oozie/post-install.d/90-oozie-war
Pino Toscano 4841178ef9 oozie: use the extjs element
Change-Id: Iaf0d92d7434f277db32aa56b75e7726f0eb94074
2015-09-18 16:15:57 +02:00

15 lines
358 B
Bash
Executable File

#!/bin/bash
if [ "${DIB_DEBUG_TRACE:-0}" -gt 0 ]; then
set -x
fi
set -eu
set -o pipefail
ln -s /usr/share/java/mysql-connector-java.jar /opt/oozie/libtools/mysql.jar
ln -s /usr/share/java/mysql-connector-java.jar /opt/oozie/oozie-server/lib/mysql.jar
/opt/oozie/bin/oozie-setup.sh prepare-war -d /opt/oozie/libtools
chown -R hadoop:hadoop /opt/oozie