Hive安装地址
hive3.1.2 3版本 兼容性会更强 与之前版本并无太大的差别
User: hadoop is not allowed to impersonate (state=08S01,code=0) --使用JDBC方式访问Hive报错
Hive 官网地址
http://hive.apache.org
文档查看地址
https://cwiki.apache.org/confluence/display/Hive/GettingStartede
下载地址
http://archive.apache.org/dist/hive
github地址
https://github.com/apache/hivee
使用JDBC方式访问Hive报错:
执行命令bin/beeline -u jdbc:hive2://hadoop102:10000 -n atguigu报错如下:
User: hadoop is not allowed to impersonate (state=08S01,code=0)
解决方法:
在/opt/module/hive-3.1.2/conf/hive-site.xml中加入hive.server2.enable.doAs配置:
然后使用命令 bin/hive --service hiveserver2重新启动hiveserver2服务,就可以beeline连接hive了



