cloudera - 为什么 drop table 在 impala-shell 中失败但在 Hue/Impala 中有效?
问题描述
这对我来说很奇怪,我有一个没有进行 kerberorized 的小型 Cloudera 集群。我能够在 Hue/Impala 中运行删除表查询,但无法在 impala-shell 中执行。
以下代码来自 impala-shell:
[hadoop01:21000] > use client1;
Query: use client1
[hadoop01:21000] > show tables;
Query: show tables
+--------------------------------------+
| name |
+--------------------------------------+
| loadstats_201812_q2_grouped_by_month |
| loanstats_201812_q2_staged |
+--------------------------------------+
Fetched 2 row(s) in 0.01s
注意下面我要删除第一个表:
[hadoop01:21000] > DROP TABLE IF EXISTS client1.loanStats_201812_q2_grouped_by_month purge;
Query: drop TABLE IF EXISTS client1.loanStats_201812_q2_grouped_by_month purge
没有报错,我以为是丢了,但不是
[hadoop01:21000] > show tables;
Query: show tables
+--------------------------------------+
| name |
+--------------------------------------+
| loadstats_201812_q2_grouped_by_month |
| loanstats_201812_q2_staged |
+--------------------------------------+
Fetched 2 row(s) in 0.01s
角色/组检查:
在 Hue 中,我属于具有以下权限的“默认”组:
在我运行 impala-shell 的主机中,我在 wheel/sudo 组中。
在 hdfs 上,我在轮子上。
我还能检查什么?任何线索表示赞赏,非常感谢您提前。
解决方案
推荐阅读
- python - 没有发现带有标签的手柄放在图例中。plt.legend()
- javascript - 如何将网络摄像头选择添加到官方 mediapipe 人脸检测解决方案?
- python - python错误 - AttributeError:'SlidePlaceholder'对象没有属性'insert_picture'
- python - OR-Tools:资源受限的 VRPTW 中未使用的车辆占用仓库容量
- node.js - 带有 MQTT 客户端的 Nodejs 集群
- mysql - 从大表中有效选择数据,按日期时间排序
- javascript - 在应用 datatables.js 后,使用 bootstrap popovers.js 不起作用
- c# - 如何将 ListString 中的值插入 Combobox 选定项和文本框
- sql - 查找包含给定列表的 SQL 日期时间
- python - conda-build 和依赖解析