hive安装

 

参考:

http://www.cnblogs.com/linbingdong/p/5829369.html

 

但注意database schema初始化,有两种方式. 

第一种,先配置好hive-site.xml

 ./schematool -initSchema -dbType mysql 会在db中自动创建数据库及表

 

另一种,手工创建数据库,并source scripts(切换至当前路径)

 

hive常见问题解决干货大全

./schematool -initSchema -dbType derby

 

猜你喜欢

转载自michael-ldd2008.iteye.com/blog/2381022