问题集合
Q:终端启动hive时报错:/tmp/hive on HDFS should be writable?
A:hdfs dfs -chmod 777 /tmp/hive
Q:hive: unable to create database path file…错误
A:在hive-site.xml里面添加以下配置即可:
<property>
<name>hive.metastore.warehouse.dir</name>
<value>/usr/local/hive/warehouse</value>
<description>location of default database for the warehouse</description>
</property>
以下几个文章来自公众号:超哥的杂货铺
Q:MAC OS搭建Hadoop伪分布式集群
A:https://mp.weixin.qq.com/s/HyyILHFGEvBTUtlRt02ySA
Q:Hive基础学习
A:https://mp.weixin.qq.com/s/_g-wcXAD2N_7rFeulzXT3w
Q:在shell中使用hiveSQL的注意事项
A:https://mp.weixin.qq.com/s/zpPqBgcySXcWOgiP71ZzEw