Impala 常用

impala与LDAP集成后的登录

impala-shell -i 127.0.0.1:21000 -u root -l --auth_creds_ok_in_clear
[root@AAA ~]$ impala-shell -i 127.0.0.1:21000 -u root -l --auth_creds_ok_in_clear
Starting Impala Shell using LDAP-based authentication
LDAP password for root : 
Connected to 127.0.0.1:21000
Server version: impalad version 3.0.0-cdh6.0.1 RELEASE (build 9a74a5053de5f7b8dd983802e6d75e58d31472db)
***********************************************************************************
Welcome to the Impala shell.
(Impala Shell v3.0.0-cdh6.0.1 (9a74a50) built on Wed Sep 19 11:27:37 PDT 2018)

You can run a single query from the command line using the '-q' option.
***********************************************************************************

LDAP authentication is enabled, but the connection to Impala is not secured by TLS.
ALL PASSWORDS WILL BE SENT IN THE CLEAR TO IMPALA.
[127.0.0.1:21000] default> 

手动刷新HIVE 表

[127.0.0.1:21000] root> invalidate metadata table_name;
Query: invalidate metadata table_name
Query submitted at: 2021-05-27 15:09:21 (Coordinator: http://localhost:25000)
Query progress can be monitored at: http://localhost:25000/query_plan?query_id=4b4aa69270524980:856a442700000000
Fetched 0 row(s) in 0.05s
[127.0.0.1:21000] root> show tables;
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值