<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Oozie db to PGSQL in Ambari install. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-db-to-PGSQL-in-Ambari-install/m-p/102833#M15205</link>
    <description>&lt;P&gt;This is not reqired anymore when deploying ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oozie.service.JPAService.create.db.schema=true &lt;/P&gt;</description>
    <pubDate>Thu, 11 Feb 2016 00:38:04 GMT</pubDate>
    <dc:creator>peter_bartal</dc:creator>
    <dc:date>2016-02-11T00:38:04Z</dc:date>
    <item>
      <title>Oozie db to PGSQL in Ambari install.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-db-to-PGSQL-in-Ambari-install/m-p/102830#M15202</link>
      <description>&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2016 03:16:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-db-to-PGSQL-in-Ambari-install/m-p/102830#M15202</guid>
      <dc:creator>David_Woodruff</dc:creator>
      <dc:date>2016-01-16T03:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie db to PGSQL in Ambari install.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-db-to-PGSQL-in-Ambari-install/m-p/102831#M15203</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2174/davidwoodruff.html" nodeid="2174"&gt;@Dave Woodruff&lt;/A&gt; I highly recommend using the search tool on Hortonworks Documentation page to find what you're looking for. Here's the &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_ambari_reference_guide/content/_using_oozie_with_postgresql.html"&gt;doc&lt;/A&gt; that can help.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2016 03:35:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-db-to-PGSQL-in-Ambari-install/m-p/102831#M15203</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-16T03:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie db to PGSQL in Ambari install.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-db-to-PGSQL-in-Ambari-install/m-p/102832#M15204</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2174/davidwoodruff.html" nodeid="2174"&gt;@Dave Woodruff&lt;/A&gt;&lt;P&gt;Hi, Please see this guide &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_ambari_reference_guide/content/_using_oozie_with_postgresql.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_ambari_reference_guide/content/_using_oozie_with_postgresql.html&lt;/A&gt;&lt;/P&gt;&lt;H3&gt;Using Oozie with PostgreSQL&lt;/H3&gt;&lt;P&gt;To set up PostgreSQL for use with Oozie:&lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;On the Ambari Server host, stage the appropriate PostgreSQL connector for later deployment.&lt;OL&gt;
&lt;LI&gt;Install the connector.&lt;P&gt;&lt;STRONG&gt;RHEL/CentOS/Oracle Linux&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;yum install postgresql-jdbc&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SLES&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;zypper install -y postgresql-jdbc&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UBUNTU&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;apt-get install -y postgresql-jdbc&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DEBIAN&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;apt-get install -y postgresql-jdbc&lt;/CODE&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Confirm that .jar is in the Java share directory.&lt;P&gt;&lt;CODE&gt;ls /usr/share/java/postgresql-jdbc.jar&lt;/CODE&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Change the access mode of the .jar file to 644.&lt;P&gt;&lt;CODE&gt;chmod 644 /usr/share/java/postgresql-jdbc.jar&lt;/CODE&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Execute the following command:&lt;P&gt;&lt;CODE&gt;ambari-server setup --jdbc-db=postgres --jdbc-driver=/usr/share/java/postgresql-jdbc.jar&lt;/CODE&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Create a user for Oozie and grant it permissions.&lt;UL&gt;
&lt;LI&gt;Using the PostgreSQL database admin utility:&lt;P&gt;&lt;CODE&gt;echo "CREATE DATABASE &amp;lt;OOZIEDATABASE&amp;gt;;" | psql -U postgres&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;echo "CREATE USER &amp;lt;OOZIEUSER&amp;gt; WITH PASSWORD '&amp;lt;OOZIEPASSWORD&amp;gt;';" | psql -U postgres&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;echo "GRANT ALL PRIVILEGES ON DATABASE &amp;lt;OOZIEDATABASE&amp;gt; TO &amp;lt;OOZIEUSER&amp;gt;;" | psql -U postgres&lt;/CODE&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Where &amp;lt;OOZIEUSER&amp;gt; is the Oozie user name, &amp;lt;OOZIEPASSWORD&amp;gt; is the Oozie user password and &amp;lt;OOZIEDATABASE&amp;gt; is the Oozie database name.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Sat, 16 Jan 2016 10:10:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-db-to-PGSQL-in-Ambari-install/m-p/102832#M15204</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-16T10:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie db to PGSQL in Ambari install.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-db-to-PGSQL-in-Ambari-install/m-p/102833#M15205</link>
      <description>&lt;P&gt;This is not reqired anymore when deploying ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oozie.service.JPAService.create.db.schema=true &lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 00:38:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-db-to-PGSQL-in-Ambari-install/m-p/102833#M15205</guid>
      <dc:creator>peter_bartal</dc:creator>
      <dc:date>2016-02-11T00:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Oozie db to PGSQL in Ambari install.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-db-to-PGSQL-in-Ambari-install/m-p/102834#M15206</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1223/peterbartal.html" nodeid="1223"&gt;@Peter Bartal&lt;/A&gt; I would follow the documentation.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 00:41:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Oozie-db-to-PGSQL-in-Ambari-install/m-p/102834#M15206</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-11T00:41:13Z</dc:date>
    </item>
  </channel>
</rss>

