Created 01-15-2016 07:16 PM
While installing Ambari on CentOS7, i was asked about the Oozie db target. I opted to use PGSQL, but that failed, since i did not have any idea what the UserName, Pwd or DBName defaulted to or where to set them. The instructions page gives not idea what to use for them.
Created 01-15-2016 07:35 PM
@Dave Woodruff I highly recommend using the search tool on Hortonworks Documentation page to find what you're looking for. Here's the doc that can help.
Created 01-15-2016 07:35 PM
@Dave Woodruff I highly recommend using the search tool on Hortonworks Documentation page to find what you're looking for. Here's the doc that can help.
Created 01-16-2016 02:10 AM
Hi, Please see this guide http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_ambari_reference_guide/content/_using_ooz...
To set up PostgreSQL for use with Oozie:
RHEL/CentOS/Oracle Linux
yum install postgresql-jdbc
SLES
zypper install -y postgresql-jdbc
UBUNTU
apt-get install -y postgresql-jdbc
DEBIAN
apt-get install -y postgresql-jdbc
ls /usr/share/java/postgresql-jdbc.jar
chmod 644 /usr/share/java/postgresql-jdbc.jar
ambari-server setup --jdbc-db=postgres --jdbc-driver=/usr/share/java/postgresql-jdbc.jar
echo "CREATE DATABASE <OOZIEDATABASE>;" | psql -U postgres
echo "CREATE USER <OOZIEUSER> WITH PASSWORD '<OOZIEPASSWORD>';" | psql -U postgres
echo "GRANT ALL PRIVILEGES ON DATABASE <OOZIEDATABASE> TO <OOZIEUSER>;" | psql -U postgres
Created 02-10-2016 04:38 PM
This is not reqired anymore when deploying ?
oozie.service.JPAService.create.db.schema=true
Created 02-10-2016 04:41 PM
@Peter Bartal I would follow the documentation.