- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
While starting ozozie: Error: Could not find or load main class org.apache.oozie.tools.OozieDBCLI
- Labels:
-
Apache Ambari
-
Apache Oozie
Created ‎01-31-2017 10:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello guys
I am following the documentation to make oozie HA
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?
Created ‎01-31-2017 12:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please run the following command on both servers and compare. You might have missing packages.
On RHEL, command is
rpm -qa | oozie*
Created ‎01-31-2017 12:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please run the following command on both servers and compare. You might have missing packages.
On RHEL, command is
rpm -qa | oozie*
Created ‎01-31-2017 03:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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/
Created ‎01-31-2017 01:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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".
