Created 11-07-2016 02:51 PM
Hi,
I would like to use replication of Hive Metastore database. To do that I installed MySQL Cluster. The problem is that MySQL Cluster needs "ndbcluster" engine for tables to replicate. My default engine is "InnoDB". After converting "hive" tables from "InnoDB" to "ndbcluster" I got strange errors (like "Expected state FINISHED, but found ERROR" or "Error while compiling statement: FAILED: SemanticException java.lang.NullPointerException") when I try to insert data to Hive. Is there any way to workaround this? Doesnt hive support "ndbcluster" engine?
Created 11-07-2016 04:24 PM
Want to get a detailed solution you have to login/registered on the community
Register/LoginCreated 11-07-2016 04:24 PM
Want to get a detailed solution you have to login/registered on the community
Register/LoginCreated 11-07-2016 09:14 PM
Thank you for the answer. I did not mention that, but I want to configure High Availability for MySQL aswell. I am going to try Galera + HAProxy in the immediate future.
Created 11-09-2017 02:56 AM
@Mats Johansson, could InnoDB Cluster be used then?
Created 03-30-2017 04:36 PM
Hi
Any update to your work ?I am working on a similar solution with MySQL cluster and NDBcluster storage engine.
I am planning to place a VIP and a DNS in front of the MySQL cluster to act as a load balancer and single point of entry.
I too had to modify the tables and some column types to be able to import the data from InnoDB.
Regard,
Steven
Created 05-12-2017 10:10 AM
I solved the problem by using MySQL master-master replication + MySQL Router as proxy. It works perfect!
Created 05-17-2017 09:40 AM
Hi Edgar,
Do you think MySQL Router is needed when I setup MariaDb galera cluster? As MariaDb galera itself takes care of active server failover.