Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

While starting ozozie: Error: Could not find or load main class org.apache.oozie.tools.OozieDBCLI

Solved Go to solution

While starting ozozie: Error: Could not find or load main class org.apache.oozie.tools.OozieDBCLI

Hello guys

I am following the documentation to make oozie HA

http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.1/bk_Ambari_Users_Guide/content/_adding_an_ooz...

And after installing and changing the conf, when I restart oozie I got this error

Error: Could not find or load main class org.apache.oozie.tools.OozieDBCLI

Do I forget something?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: While starting ozozie: Error: Could not find or load main class org.apache.oozie.tools.OozieDBCLI

Mentor

Please run the following command on both servers and compare. You might have missing packages.

On RHEL, command is

rpm -qa | oozie*

View solution in original post

3 REPLIES 3
Highlighted

Re: While starting ozozie: Error: Could not find or load main class org.apache.oozie.tools.OozieDBCLI

Mentor

Please run the following command on both servers and compare. You might have missing packages.

On RHEL, command is

rpm -qa | oozie*

View solution in original post

Highlighted

Re: While starting ozozie: Error: Could not find or load main class org.apache.oozie.tools.OozieDBCLI

Thank you, acctually I was missing the package oozie-2-3-2-0-2950-server.

I paste the procedure

apt-get install oozie-2-3-2-0-2950-server

and then

hadoop fs -put /usr/hdp/current/oozie-server/libtools/oozie-tools-4.2.0.2.3.2.0-2950.jar /user/oozie/share/lib/lib_xxxxxxx/oozie/

Highlighted

Re: While starting ozozie: Error: Could not find or load main class org.apache.oozie.tools.OozieDBCLI

Super Mentor

@jean rivera

Additionally please check if the "/usr/hdp/current/oozie-server/libtools/oozie-tools-x.x.x.x.x.x.jar" JAR exist or not on the host where you added the component? Example: "/usr/hdp/current/oozie-server/libtools/oozie-tools-4.2.0.2.5.3.0-37.jar" This jar contains the class "

org.apache.oozie.tools.OozieDBCLI".

Don't have an account?
Coming from Hortonworks? Activate your account here