HDP3.1.0 + MariaDB: Problem deploying MariaDB connector
Hi Guys,
we are trying to install the HDP 3.1.0 platform on-premise.
We have finished the installation but ran into a problem setting up MariaDB for the Hive metastore.
Hive explicitly lists MariaDB as supported:
https://cwiki.apache.org/confluence/display/Hive/AdminManual+Metastore+3.0+Administration
and suggests using the driver class "org.mariadb.jdbc.Driver"
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:
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 <module>
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 <module>
else: raise Fail(format("JDBC driver '{hive_jdbc_driver}' not supported."))
resource_management.core.exceptions.Fail: JDBC driver 'org.mariadb.jdbc.Driver' not supported.
As far as I can tell, the driver class "org.mariadb.jdbc.Driver" is not included in the role out script.
Can you help us or is there a fix for this?
Thanks!

