- prerequisite
- The relational database that backs the Hive Metastore itself should also be made highly available using best practices defined for the database system in use
- metastore
- ambari web -> services -> hive -> service antions -> add hive metastore -> choose host -> restart realted services
- install RDB client on the host where you installed hive metastore
- install MariaDB
- http://mungeol-heo.blogspot.kr/2015/07/mariadb.html
- RDB setting
- mysql -u root -p
- CREATE USER 'hive'@'bigdata-dev02.co.kr'IDENTIFIED BY 'hroqkf';
- be sure the hostname is the host where you installed hive metastore.
- GRANT ALL PRIVILEGES ON *.* TO 'hive'@'bigdata-dev02.co.kr';
- FLUSH PRIVILEGES;
- ambari web -> services -> hive -> service antions -> add hive metastore -> choose host -> restart realted services
- hiveserver2
- ambari web -> services -> hive -> service antions -> add hiveserver2 -> choose host -> restart realted services
- webhcat
- ambari web -> hosts -> click hostname -> add -> webhcat server -> restart realted services
Monday, November 30, 2015
Hive HA (HDP)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.