- mysql-connector-java (skip this step if you have installed it at 'HDP 2.3 installation')
- 2015.07.28 -> HDP 2.3 installation -> mysql-connector-java
- ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar
- RDB configuration
- mysql -u root -p
- CREATE USER ‘hive’@’localhost’ IDENTIFIED BY ‘hroqkf’;
- GRANT ALL PRIVILEGES ON *.* TO 'hive'@'localhost';
- CREATE USER ‘hive’@’%’ IDENTIFIED BY ‘hroqkf’;
- GRANT ALL PRIVILEGES ON *.* TO 'hive'@'%';
- CREATE USER 'hive'@'bigdata-dev03.co.kr'IDENTIFIED BY 'hroqkf';
- be sure the hostname is the host where you installed hive metastore.
- GRANT ALL PRIVILEGES ON *.* TO 'hive'@'bigdata-dev03.co.kr';
- FLUSH PRIVILEGES;
- CREATE DATABASE hive;
- ambari web -> add service -> choose hive and tez -> assign masters -> assgin slaves and clients
- customize services
- hive -> advanced -> hive metastore -> hive database -> existing mysql database -> database host, database name, username, password -> test connection
- configure identities -> review -> install, start and test -> summary -> complete
Monday, November 30, 2015
Hive installation (HDP)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.