1. 程式人生 > >hive和hue的元資料 修改為mysql

hive和hue的元資料 修改為mysql

hive:

1.先去mysql裡面建立個database,名字是 hive。

2.修改為mysql ,

 bin/hive/schematool -initSchema -dbType mysql
3.具體的記不太清楚啦。。。

昨天配的,今天就忘了 = =。

hue:

http://www.cnblogs.com/ivanny/p/hue_mysql_meta_dabatase.html

1.先建立個database : hue

2, 修改hue.ini檔案
[[database]]
engine=mysql
host=
port=
user=<使用者名稱>
password=<密碼>
name=<資料庫名稱,新資料庫,專門用於hue,裡面現在沒有任何表>


這裡的user和password是登入hue資料庫的使用者名稱和密碼。