安裝Mysql:
啟動服務(wù):
開啟自啟動:
CREATE DATABASE hive_metadata;
GRANT ALL PRIVILEGES ON hive_metadata.* TO 'hive'@'%' IDENTIFIED BY 'hive'
GRANT ALL PRIVILEGES ON hive_metadata.* TO 'hive'@'localhost' IDENTIFIED BY 'hive'
進(jìn)去該目錄下:
拷貝到hive的lib目錄下面:
解壓 hive安裝包:
修改hive-site.xml
修改hive-env.sh
啟動hive: