4841178ef9
Change-Id: Iaf0d92d7434f277db32aa56b75e7726f0eb94074
15 lines
358 B
Bash
Executable File
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
|