Hive开发常用命令 #
命令连接 #
1beeline
2
3!connect jdbc:hive2://node-a5:10000/default;principal=hive/_HOST@cp.com
令牌过期需重新生成 #
1kinit -p root/admin
2CPs123456
查看当前令牌 #
1klist
查看当前证书主体 #
1klist -k /etc/security/keytab/kylin.keytab
2
3principal:kylin/node-a4@cp.com
4
5secretFilePath:/etc/security/keytab/kylin.keytab