本文介绍了Impala无法访问所有配置单元表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试通过配置单元查询hbase数据(我正在使用cloudera)。我做了一个fiew hive外部表,指向hbase,但事实是Cloudera的Impala没有访问所有这些表。所有配置单元外部表都出现在Metastore管理器中,但是当我在Impala中执行简单的显示表时,我发现缺少3个表。
这是一个特权问题吗?我发现在metastore管理器中,缺少3个表是每个人都可读的,所以...

解决方案

运行查询'invalidate元数据在Impala中,您的表格将显示。


I try to query hbase data through hive (I'm using cloudera). I did a fiew hive external table pointing to hbase but the thing is Cloudera's Impala doesn't have an access to all those tables. All hive external tables appear in the metastore manager but when I do a simple "show tables" in Impala, I see that 3 tables are missing.Would it be a privileges problem ? I see that in the metastore manager that the 3 tables missing are readable by everybody so...

解决方案

Run the query 'invalidate metadata' in Impala and your tables will show-up.

这篇关于Impala无法访问所有配置单元表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-11 07:03