diff --git a/bootstrap/openmetadata-ops.sh b/bootstrap/openmetadata-ops.sh index ecb90428446..b6dc0b46305 100755 --- a/bootstrap/openmetadata-ops.sh +++ b/bootstrap/openmetadata-ops.sh @@ -38,6 +38,13 @@ if [ ${debug} ] ; then echo $LIBS_DIR fi if [ -d "${LIBS_DIR}" ]; then + # First, add collate-service jar to the classpath. + # This is required for cases where we override classes from dependencies. + for file in "${LIBS_DIR}"collate-service-*.jar; + do + CLASSPATH="$CLASSPATH":"$file" + done + # Then, add the rest of the libraries for file in "${LIBS_DIR}"*.jar; do CLASSPATH="$CLASSPATH":"$file"