<?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: How to find the database used by Ambari, Hive Metastore, Oozie, etc in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-database-used-by-Ambari-Hive-Metastore-Oozie/m-p/142930#M28043</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2593/zackriesland.html" nodeid="2593"&gt;@Zack Riesland&lt;/A&gt;&lt;/P&gt;&lt;P&gt;you can use Ambari's RESTFul APIs to know this on a deployed cluster.&lt;/P&gt;&lt;P&gt;For determining ambari server DB use following API:&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://c6401.ambari.apache.org:8080/api/v1/services/AMBARI/components/AMBARI_SERVER?fields=RootServiceComponents/properties/server.jdbc.database" target="_blank"&gt;http://c6401.ambari.apache.org:8080/api/v1/services/AMBARI/components/AMBARI_SERVER?fields=RootServiceComponents/properties/server.jdbc.database&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;For determining Hive Metastore DB use following API and lookup for &lt;STRONG&gt;hive_database&lt;/STRONG&gt; property&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/configurations/service_config_versions?service_name=HIVE&amp;amp;is_current=true" target="_blank"&gt;http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/configurations/service_config_versions?service_name=HIVE&amp;amp;is_current=true&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;For determining Hive Metastore DB use following API and lookup for&lt;STRONG&gt; oozie_database&lt;/STRONG&gt; property&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/configurations/service_config_versions?service_name=OOZIE&amp;amp;is_current=true" target="_blank"&gt;http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/configurations/service_config_versions?service_name=OOZIE&amp;amp;is_current=true&lt;/A&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 12 May 2016 01:41:34 GMT</pubDate>
    <dc:creator>jaimin</dc:creator>
    <dc:date>2016-05-12T01:41:34Z</dc:date>
    <item>
      <title>How to find the database used by Ambari, Hive Metastore, Oozie, etc</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-database-used-by-Ambari-Hive-Metastore-Oozie/m-p/142927#M28040</link>
      <description>&lt;P&gt;I'm looking for help in determining which database (PostgreSQL, Oracle, MySQL, etc) is being used by Ambari, Hive Metastore, and Oozie on an existing cluster.&lt;/P&gt;&lt;P&gt;Can someone please point me in the right direction?&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2016 01:21:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-database-used-by-Ambari-Hive-Metastore-Oozie/m-p/142927#M28040</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2016-05-12T01:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the database used by Ambari, Hive Metastore, Oozie, etc</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-database-used-by-Ambari-Hive-Metastore-Oozie/m-p/142928#M28041</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2593/zackriesland.html" nodeid="2593"&gt;@Zack Riesland&lt;/A&gt;&lt;P&gt;For Ambari, go to the ambari-server properties file in the Ambari server host and this would provide the information about the backend db.&lt;/P&gt;&lt;P&gt;For Hive and Oozie, Go to Ambari -&amp;gt; Hive -&amp;gt; Config and this will provide the info.  Like wise for Oozie as well.&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2016 01:27:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-database-used-by-Ambari-Hive-Metastore-Oozie/m-p/142928#M28041</guid>
      <dc:creator>quadoss</dc:creator>
      <dc:date>2016-05-12T01:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the database used by Ambari, Hive Metastore, Oozie, etc</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-database-used-by-Ambari-Hive-Metastore-Oozie/m-p/142929#M28042</link>
      <description>&lt;P style="margin-left: 20px;"&gt;Thanks, &lt;A rel="user" href="https://community.cloudera.com/users/716/mbalakrishnan.html" nodeid="716"&gt;@mbalakrishnan&lt;/A&gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;To further clarify, I found my Ambari properties file at /etc/ambari-server/conf/ambari.properties&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2016 01:32:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-database-used-by-Ambari-Hive-Metastore-Oozie/m-p/142929#M28042</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2016-05-12T01:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the database used by Ambari, Hive Metastore, Oozie, etc</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-database-used-by-Ambari-Hive-Metastore-Oozie/m-p/142930#M28043</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2593/zackriesland.html" nodeid="2593"&gt;@Zack Riesland&lt;/A&gt;&lt;/P&gt;&lt;P&gt;you can use Ambari's RESTFul APIs to know this on a deployed cluster.&lt;/P&gt;&lt;P&gt;For determining ambari server DB use following API:&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://c6401.ambari.apache.org:8080/api/v1/services/AMBARI/components/AMBARI_SERVER?fields=RootServiceComponents/properties/server.jdbc.database" target="_blank"&gt;http://c6401.ambari.apache.org:8080/api/v1/services/AMBARI/components/AMBARI_SERVER?fields=RootServiceComponents/properties/server.jdbc.database&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;For determining Hive Metastore DB use following API and lookup for &lt;STRONG&gt;hive_database&lt;/STRONG&gt; property&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/configurations/service_config_versions?service_name=HIVE&amp;amp;is_current=true" target="_blank"&gt;http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/configurations/service_config_versions?service_name=HIVE&amp;amp;is_current=true&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;For determining Hive Metastore DB use following API and lookup for&lt;STRONG&gt; oozie_database&lt;/STRONG&gt; property&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/configurations/service_config_versions?service_name=OOZIE&amp;amp;is_current=true" target="_blank"&gt;http://c6401.ambari.apache.org:8080/api/v1/clusters/c1/configurations/service_config_versions?service_name=OOZIE&amp;amp;is_current=true&lt;/A&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 12 May 2016 01:41:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-database-used-by-Ambari-Hive-Metastore-Oozie/m-p/142930#M28043</guid>
      <dc:creator>jaimin</dc:creator>
      <dc:date>2016-05-12T01:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the database used by Ambari, Hive Metastore, Oozie, etc</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-database-used-by-Ambari-Hive-Metastore-Oozie/m-p/142931#M28044</link>
      <description>&lt;P&gt;For oozie, I changed the URL to point to my server, but it gives me back an empty array:&lt;/P&gt;&lt;PRE&gt;{
  "href" : "&amp;lt;my server&amp;gt;:8080/api/v1/clusters/c1/configurations/service_config_versions?service_name=OOZIE&amp;amp;is_current=true",
  "items" : [ ]
}

Any ideas?

We don't use Oozie for anything, as far as I know&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 May 2016 00:09:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-database-used-by-Ambari-Hive-Metastore-Oozie/m-p/142931#M28044</guid>
      <dc:creator>zack_riesland</dc:creator>
      <dc:date>2016-05-19T00:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the database used by Ambari, Hive Metastore, Oozie, etc</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-database-used-by-Ambari-Hive-Metastore-Oozie/m-p/142932#M28045</link>
      <description>&lt;P&gt;Equivalent lookup for ambari.properties file.&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://&amp;lt;ambari_server&amp;gt;:8080/api/v1/services/AMBARI/components/AMBARI_SERVER?fields=RootServiceComponents/properties" target="_blank"&gt;http://&amp;lt;ambari_server&amp;gt;:8080/api/v1/services/AMBARI/components/AMBARI_SERVER?fields=RootServiceComponents/properties&lt;/A&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 May 2017 06:04:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-find-the-database-used-by-Ambari-Hive-Metastore-Oozie/m-p/142932#M28045</guid>
      <dc:creator>siva26akkala</dc:creator>
      <dc:date>2017-05-18T06:04:41Z</dc:date>
    </item>
  </channel>
</rss>

