<?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: HDP3.1.0 + MariaDB: Problem deploying MariaDB connector in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HDP3-1-0-MariaDB-Problem-deploying-MariaDB-connector/m-p/239972#M201778</link>
    <description>&lt;P&gt;&lt;EM&gt;&lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer" href="http://maurice%20knopp/" target="_blank"&gt;@Maurice Knopp&lt;/A&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;Great news if you are on Centos and kerberized environment I am just wondering how the Kerberos have you tried regenerating the specific &lt;STRONG&gt;keytab&lt;/STRONG&gt;?&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;About you &lt;STRONG&gt;hql &lt;/STRONG&gt;scripts you should realize there has been a lot of changes between HDP 2.3 with   hive 1.2.1 and HDP 3.1 with hive version 3.1.0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;About your MariaDB database and running the below version with HDP 3.1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"&lt;STRONG&gt;resource_management.core.exceptions.Fail: JDBC driver 'org.mariadb.jdbc.Driver' not supported&lt;/STRONG&gt;."&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;Welcome to the MariaDB monitor. &amp;nbsp;Commands end with ; or \g.
Your MariaDB connection id is 30
Server version: 5.5.60-MariaDB MariaDB Serv
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and other
Type 'help;' or '\h' for help. Type '\c' to clear the current input statemen
MariaDB [(none)]&amp;gt;&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please did you run the steps I mentioned in &lt;/EM&gt;&lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer" href="http://community.hortonworks.com/answers/245833/view.html" target="_blank"&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/A&gt;&lt;A href="http://community.hortonworks.com/answers/245833/view.html" target="_blank"&gt;http://community.hortonworks.com/answers/245833/view.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please revert&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 11 May 2019 00:28:52 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2019-05-11T00:28:52Z</dc:date>
    <item>
      <title>HDP3.1.0 + MariaDB: Problem deploying MariaDB connector</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP3-1-0-MariaDB-Problem-deploying-MariaDB-connector/m-p/239967#M201773</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;we are trying to install the HDP 3.1.0 platform on-premise.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We have finished the installation but ran into a problem setting up MariaDB for the Hive metastore.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Hive explicitly lists MariaDB as supported:&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/Hive/AdminManual+Metastore+3.0+Administration" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/AdminManual+Metastore+3.0+Administration&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and suggests using the driver class "org.mariadb.jdbc.Driver"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;When trying to setup "JDBC Driver Class" to "org.mariadb.jdbc.Driver" in Ambari of the HDP3.1.0 installation, then the start of the metastore fails with:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/HIVE/package/scripts/hive_client.py", line 60, in &amp;lt;module&amp;gt;
HiveClient().execute()
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 352, in execute
method(env)
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 966, in restart
self.install(env)
File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/HIVE/package/scripts/hive_client.py", line 38, in install
import params
File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/HIVE/package/scripts/params.py", line 273, in &amp;lt;module&amp;gt;
else: raise Fail(format("JDBC driver '{hive_jdbc_driver}' not supported."))
resource_management.core.exceptions.Fail: JDBC driver 'org.mariadb.jdbc.Driver' not supported.&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;As far as I can tell, the driver class "org.mariadb.jdbc.Driver" is not included in the role out script.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Can you help us or is there a fix for this?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 04:48:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP3-1-0-MariaDB-Problem-deploying-MariaDB-connector/m-p/239967#M201773</guid>
      <dc:creator>maurice_knopp</dc:creator>
      <dc:date>2019-05-09T04:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: HDP3.1.0 + MariaDB: Problem deploying MariaDB connector</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP3-1-0-MariaDB-Problem-deploying-MariaDB-connector/m-p/239968#M201774</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer nofollow noopener noreferrer" href="http://@Maurice%20Knopp" target="_blank"&gt;@Maurice Knopp&lt;/A&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Maria DB uses the MySQL drivers, you will need to the below steps to successfully deploy hive, this is my HDP 3.1 installation so I am pretty sure of what I am saying. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The &lt;/EM&gt;&lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer nofollow noopener noreferrer" href="https://supportmatrix.hortonworks.com/" target="_blank"&gt;&lt;EM&gt;Hortonworks matrix&lt;/EM&gt;&lt;/A&gt;&lt;EM&gt; helps you choose the right versions for compatibility for HDP 3.1.0 you will need MariaDB 10.2 or MySQL 5.7 only with InnoDB &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Ensure that you change the JDBC drivers as shown in the screen &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;# yum install -y mysql-connector-java &lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Make ambari aware of the driver&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;The above setup won't destroy your Ambari installation! &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="108591-mariadb.png" style="width: 1124px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13884i9BACF620C91CE7E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="108591-mariadb.png" alt="108591-mariadb.png" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please let me know &lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 22:33:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP3-1-0-MariaDB-Problem-deploying-MariaDB-connector/m-p/239968#M201774</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-08-17T22:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: HDP3.1.0 + MariaDB: Problem deploying MariaDB connector</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP3-1-0-MariaDB-Problem-deploying-MariaDB-connector/m-p/239969#M201775</link>
      <description>&lt;P&gt;We were not able to solve the problem yet. Currently, we are waiting for professional consulting support.&lt;/P&gt;&lt;P&gt;I will post any furhter details on that issue here when we get more information about the cause of the problem.&lt;/P&gt;&lt;P&gt;Thank you for your reply!&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 15:51:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP3-1-0-MariaDB-Problem-deploying-MariaDB-connector/m-p/239969#M201775</guid>
      <dc:creator>maurice_knopp</dc:creator>
      <dc:date>2019-05-10T15:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: HDP3.1.0 + MariaDB: Problem deploying MariaDB connector</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP3-1-0-MariaDB-Problem-deploying-MariaDB-connector/m-p/239970#M201776</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer" href="http://maurice%20knopp/" target="_blank"&gt;@Maurice Knopp&lt;/A&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;You could save your company money &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; This is a trivial matter can you share your HS2 logs?  What OS's are running on?&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 16:32:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP3-1-0-MariaDB-Problem-deploying-MariaDB-connector/m-p/239970#M201776</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-05-10T16:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: HDP3.1.0 + MariaDB: Problem deploying MariaDB connector</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP3-1-0-MariaDB-Problem-deploying-MariaDB-connector/m-p/239971#M201777</link>
      <description>&lt;P&gt;Of course we want to save money &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We thought the database issue is the reason we have problems connecting to the hive metastore but we now figured out that the original source for this issue seems to be related to kerberos authentication.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The main problem is, that our (new) HDP 3.1 Cluster is not running the hive scripts we developed on our "old" HDP 2.3 installation and we got lots of vertex failures.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I will try to provide more information with the help of our admin.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We are using CentOS 7.6 (all recent updates installed).&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 20:36:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP3-1-0-MariaDB-Problem-deploying-MariaDB-connector/m-p/239971#M201777</guid>
      <dc:creator>maurice_knopp</dc:creator>
      <dc:date>2019-05-10T20:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: HDP3.1.0 + MariaDB: Problem deploying MariaDB connector</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP3-1-0-MariaDB-Problem-deploying-MariaDB-connector/m-p/239972#M201778</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer" href="http://maurice%20knopp/" target="_blank"&gt;@Maurice Knopp&lt;/A&gt;&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;Great news if you are on Centos and kerberized environment I am just wondering how the Kerberos have you tried regenerating the specific &lt;STRONG&gt;keytab&lt;/STRONG&gt;?&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;About you &lt;STRONG&gt;hql &lt;/STRONG&gt;scripts you should realize there has been a lot of changes between HDP 2.3 with   hive 1.2.1 and HDP 3.1 with hive version 3.1.0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;About your MariaDB database and running the below version with HDP 3.1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"&lt;STRONG&gt;resource_management.core.exceptions.Fail: JDBC driver 'org.mariadb.jdbc.Driver' not supported&lt;/STRONG&gt;."&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;Welcome to the MariaDB monitor. &amp;nbsp;Commands end with ; or \g.
Your MariaDB connection id is 30
Server version: 5.5.60-MariaDB MariaDB Serv
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and other
Type 'help;' or '\h' for help. Type '\c' to clear the current input statemen
MariaDB [(none)]&amp;gt;&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please did you run the steps I mentioned in &lt;/EM&gt;&lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer" href="http://community.hortonworks.com/answers/245833/view.html" target="_blank"&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/A&gt;&lt;A href="http://community.hortonworks.com/answers/245833/view.html" target="_blank"&gt;http://community.hortonworks.com/answers/245833/view.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please revert&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2019 00:28:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP3-1-0-MariaDB-Problem-deploying-MariaDB-connector/m-p/239972#M201778</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-05-11T00:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: HDP3.1.0 + MariaDB: Problem deploying MariaDB connector</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDP3-1-0-MariaDB-Problem-deploying-MariaDB-connector/m-p/239973#M201779</link>
      <description>&lt;P&gt;Just for further reference: our issues was solved here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/246302/hive-tez-vertex-failed-error-during-reduce-phase-h.html"&gt;https://community.hortonworks.com/questions/246302/hive-tez-vertex-failed-error-during-reduce-phase-h.html&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 15:54:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDP3-1-0-MariaDB-Problem-deploying-MariaDB-connector/m-p/239973#M201779</guid>
      <dc:creator>maurice_knopp</dc:creator>
      <dc:date>2019-05-20T15:54:10Z</dc:date>
    </item>
  </channel>
</rss>

