hive创建表hdfs上的user/hive/warehouse里没有表的任何东西,因为之前重新配置了hive,现在再用mysql 查看DBS发现路径变成了file:/user/hive/warehouse 在hive里面查看表的路径是有的,但是到了hdfs上就死活出不来
hive> create table if not exists student2(
> id int, name string
> )
> row format delimited fields terminated by '\t'
> stored as textfile
> location '/user/hive/warehouse/student2';
随便创建了一个表指定了路径创建成功但是hdfs上还是没有
我尝试了重装hive,但是发现默认路径不在hdfs上想不懂原因
正常使用hive,hdfs上的hive数据仓库正常