- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Failed to install Oozie. "Failed to create Oozie database tables.
Created on ‎07-08-2016 08:14 AM - edited ‎09-16-2022 03:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CDH 5.7.1
Atempts to install Oozie with Cloudera Manager fails with the error in stderr log file:
Error: Could not connect to the database: java.sql.SQLException: Access denied for user 'oozie'@'localhost' (using password: YES)
- There is no password configured, but even with a pasword configured the process still fails.
- Using the command line mysql client I can connect ( "mysql -u oozie oozie")
- After connecting via the command line as the "oozie" user I can create and drop tables.
- I've dropped the database and user and then recreated. No joy.
Steps I'm running.
- Add a service
- Chose the host for the Oozie Server service
- Test (external mysql) database connetion is successful
- Review changes and start the installation.
Full disclosure: This is the second attempt to install this cluster (after removing packages, dropping databases, etc) so I'm thinking some configuration file was left behind (but it would still have been the same values). Datanode DNS issues caused me to reset the installation.
Created on ‎07-08-2016 09:14 AM - edited ‎07-08-2016 09:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, not really a solution, but after trying various combinations I was able to install and start the Oozie process. It worked after I created a mysql user like this:
MariaDB [(none)]> grant all on oozie.* TO 'oozie'@'host.company.com' IDENTIFIED BY 'secretpassword';
Created on ‎07-08-2016 09:14 AM - edited ‎07-08-2016 09:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, not really a solution, but after trying various combinations I was able to install and start the Oozie process. It worked after I created a mysql user like this:
MariaDB [(none)]> grant all on oozie.* TO 'oozie'@'host.company.com' IDENTIFIED BY 'secretpassword';
