Support Questions
Find answers, ask questions, and share your expertise

CDH5.2.7 Oozie failures due to missing jar file in oozie package

Highlighted

CDH5.2.7 Oozie failures due to missing jar file in oozie package

Explorer

Hi,
When starting a new CDH5.2.7 cluster, I am encountering the following errors that halt progress (the cluster was installed by following cloudera instructions for Production Install - Part B


a) Missing oozie sharelibs: org.apache.oozie.tools.OozieSharelibCLI create -fs hdfs://cdh52-client-1.hq.midfinsystems.com:8020 -locallib /usr/lib/oozie/oozie-sharelib-yarn.tar.gz
Error: gzip: /usr/lib/oozie/oozie-sharelib-yarn.tar.gz: No such file or directory
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors


Stack trace for the error was (for debug purposes):
--------------------------------------
ExitCodeException exitCode=2: gzip: /usr/lib/oozie/oozie-sharelib-yarn.tar.gz: No such file or directory
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

at org.apache.hadoop.util.Shell.runCommand(Shell.java:543)
at org.apache.hadoop.util.Shell.run(Shell.java:460)
at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:720)
at org.apache.hadoop.fs.FileUtil.unTarUsingTar(FileUtil.java:678)
at org.apache.hadoop.fs.FileUtil.unTar(FileUtil.java:654)
at org.apache.oozie.tools.OozieSharelibCLI.run(OozieSharelibCLI.java:131)
at org.apache.oozie.tools.OozieSharelibCLI.main(OozieSharelibCLI.java:57)
--------------------------------------

b) DBCLI: /usr/lib/oozie/libtools/xercesImpl-2.10.0.jar:/usr/lib/oozie/libtools/xml-apis-1.4.01.jar:/usr/lib/oozie/libtools/xmlenc-0.52.jar:/usr/lib/oozie/libtools/xz-1.0.jar:/usr/lib/oozie/libtools/zookeeper.jar:/usr/lib/oozie/libext/*.jar' org.apache.oozie.tools.OozieDBCLI create -run
Error: DB schema exists

Stack trace for the error was (for debug purposes):
--------------------------------------
java.lang.Exception: DB schema exists
at org.apache.oozie.tools.OozieDBCLI.validateDBSchema(OozieDBCLI.java:931)
at org.apache.oozie.tools.OozieDBCLI.createDB(OozieDBCLI.java:186)
at org.apache.oozie.tools.OozieDBCLI.run(OozieDBCLI.java:129)
at org.apache.oozie.tools.OozieDBCLI.main(OozieDBCLI.java:80)
--------------------------------------
How does one make forward progress? Why is the second operation not a commutative one?

Don't have an account?