Description
If the schema already exists, just display a message instead of throwing an exception.
bin/ooziedb.sh create -sqlfile oozie.sql
Validate DB Connection
DONE
Check DB schema does not exist
Error: DB schema exists
--------------------------------------
java.lang.Exception: DB schema exists
at org.apache.oozie.tools.OozieDBCLI.validateDBSchema(OozieDBCLI.java:383)
at org.apache.oozie.tools.OozieDBCLI.createDB(OozieDBCLI.java:168)
at org.apache.oozie.tools.OozieDBCLI.run(OozieDBCLI.java:112)
at org.apache.oozie.tools.OozieDBCLI.main(OozieDBCLI.java:63)
--------------------------------------