1、Default数据仓库
Default数据仓库的最原始位置是在hdfs上的 /user/hive/warehouse路径下
2、库表关系
在仓库目录下,没有对默认的数据库default创建文件夹。如果某张表属于default数据库,直接在数据仓库目录下创建一个文件夹。
3、修改default数据仓库原始位置
(将hive-default.xml.template如下配置信息拷贝到hive-site.xml文件中)
<property>
<name>hive.metastore.warehouse.dir</name>
<value>/user/hive/warehouse</value>
<description>location of default database for the warehouse</description>
</property>
4、配置同组用户有执行权限
[victor@node1 hadoop-2.8.2]$ bin/hdfs dfs -chmod g+w /user/hive/warehouse