问题集合
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>