设为首页 加入收藏

TOP

hive select报错 Unable to determine if hdfs
2018-11-21 15:13:10 】 浏览:180
Tags:hive select 报错 Unable determine hdfs
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u012551524/article/details/78044178

hive报错信息:

FAILED: SemanticException Unable to determine if hdfs://nameservice1/user/hive/warehouse/peacebird.db/st_pause_store_item is encrypted: java.lang.IllegalArgumentException: Wrong FS: hdfs://nameservice1/user/hive/warehouse/peacebird.db/st_pause_store_item, expected: hdfs://zt01:8020


这种情况一般是hive的数据存储路径不对,直接去mysql里修改hive的原数据就可以:

mysql执行如下命令:


use hive;


update DBS set DB_LOCATION_URI=REPLACE (DB_LOCATION_URI,'nameservice1','zt01')



update SDS set LOCATION=REPLACE (LOCATION,'nameservice1','zt01');

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇hadoop命令start-dfs.sh、 start-.. 下一篇Hadoop Distributed FileSystem (..

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目