Update Linux环境下Hive的安装部署.md

This commit is contained in:
heibaiying 2019-04-30 17:51:29 +08:00 committed by GitHub
parent dc7f4a66ef
commit c84d613bcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,7 +158,7 @@ HiveServer2HS2允许远程客户端可以使用各种编程语言向Hive
之所以要配置这一步这是由于hadoop 2.0以后引入了一个安全伪装机制使得hadoop不允许上层系统例如hive直接将实际用户传递到hadoop层而是将实际用户传递给一个超级代理由该代理在hadoop上执行操作避免任意客户端随意操作hadoop。如果不配置这一步在之后的连接中可能会抛出`AuthorizationException`异常。
>如果想进一步了解Hadoop的用户代理机制可以参考这篇博客[hadoop的用户代理机制]([https://blog.csdn.net/u012948976/article/details/49904675#%E5%AE%98%E6%96%B9%E6%96%87%E6%A1%A3%E8%A7%A3%E8%AF%BB](https://blog.csdn.net/u012948976/article/details/49904675#官方文档解读))或者官方文档[Proxy user - Superusers Acting On Behalf Of Other Users](http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/Superusers.html)
>如果想进一步了解Hadoop的用户代理机制可以参考这篇博客[hadoop的用户代理机制](https://blog.csdn.net/u012948976/article/details/49904675#官方文档解读)或者官方文档[Proxy user - Superusers Acting On Behalf Of Other Users](http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/Superusers.html)
@ -180,4 +180,4 @@ HiveServer2HS2允许远程客户端可以使用各种编程语言向Hive
# beeline -u jdbc:hive2://hadoop001:10000 -n root
```
<div align="center"> <img width='700px' src="https://github.com/heibaiying/BigData-Notes/blob/master/pictures/hive-beeline-cli.png"/> </div>
<div align="center"> <img src="https://github.com/heibaiying/BigData-Notes/blob/master/pictures/hive-beeline-cli.png"/> </div>