<?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: Configure HA database for Hive Metastore in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Configure-HA-database-for-Hive-Metastore/m-p/357564#M237617</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/87533"&gt;@KPG1&lt;/a&gt;&amp;nbsp;I can think of Oracle database ha a feature i.e Oracle RAC,where we give SCAN&amp;nbsp; address as the jdbc string to metastore,so the scan ip wll take care of loadbalancing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to check with mysql vendor(Oracle),if they have similar thing as of Oracle database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can have HMS HA but all the HMS instance point to same database, you can not have 2 HMS instance pointing to a different database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know,if you have any querties and please "Accept As Solution", if your queries are answered&lt;/P&gt;</description>
    <pubDate>Mon, 14 Nov 2022 11:44:02 GMT</pubDate>
    <dc:creator>asish</dc:creator>
    <dc:date>2022-11-14T11:44:02Z</dc:date>
    <item>
      <title>Configure HA database for Hive Metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configure-HA-database-for-Hive-Metastore/m-p/357550#M237614</link>
      <description>&lt;P&gt;We have an MYSQL HA cluster,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In case of failover, for the secondary master to take the place of the failed master, the hive metastore connection string configuration would need to be changed to point to the new master, and the services restarted.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;is it possible to have&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;true HA on the Hive Metastore without changing the connection string manually ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 08:32:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configure-HA-database-for-Hive-Metastore/m-p/357550#M237614</guid>
      <dc:creator>KPG1</dc:creator>
      <dc:date>2022-11-14T08:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Configure HA database for Hive Metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configure-HA-database-for-Hive-Metastore/m-p/357563#M237616</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;did you tried to use a Loadbalancer like HAproxy?&lt;/P&gt;&lt;P&gt;I'm using Postgresql as HA internal database but for sure you can setup with both connections.&lt;/P&gt;&lt;P&gt;something like this:&lt;/P&gt;&lt;P&gt;frontend hive&lt;BR /&gt;bind *:10000&lt;BR /&gt;mode tcp&lt;BR /&gt;option tcplog&lt;BR /&gt;timeout client 50000&lt;BR /&gt;default_backend hive_backend&lt;/P&gt;&lt;P&gt;backend hive_backend&lt;BR /&gt;mode tcp&lt;BR /&gt;balance source&lt;BR /&gt;timeout connect 5000&lt;BR /&gt;timeout server 50000&lt;BR /&gt;server hiveserver1 Master1:10000&lt;BR /&gt;server hiveserver2 Master2:10000&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 11:33:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configure-HA-database-for-Hive-Metastore/m-p/357563#M237616</guid>
      <dc:creator>Juanes</dc:creator>
      <dc:date>2022-11-14T11:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Configure HA database for Hive Metastore</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configure-HA-database-for-Hive-Metastore/m-p/357564#M237617</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/87533"&gt;@KPG1&lt;/a&gt;&amp;nbsp;I can think of Oracle database ha a feature i.e Oracle RAC,where we give SCAN&amp;nbsp; address as the jdbc string to metastore,so the scan ip wll take care of loadbalancing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to check with mysql vendor(Oracle),if they have similar thing as of Oracle database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can have HMS HA but all the HMS instance point to same database, you can not have 2 HMS instance pointing to a different database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know,if you have any querties and please "Accept As Solution", if your queries are answered&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 11:44:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configure-HA-database-for-Hive-Metastore/m-p/357564#M237617</guid>
      <dc:creator>asish</dc:creator>
      <dc:date>2022-11-14T11:44:02Z</dc:date>
    </item>
  </channel>
</rss>

