In this recipe, we will be configuring the Hive credential store and using authentication for beeline clients to connect and have access control.
This is supported in Hive beeline clients. The authentication by default is PAM, which is a pluggable authentication module, but Hive can have its own credential store.
Make sure that you have completed the Using MySQL for Hive metastore recipe for this section and that you understand the basic Linux user management.
edge1.cyrus.comand switch to the
hive-site.xmlfile and add the following lines to it:
<property> <name>hive.server2.enable.doAs</name> <value>false</value> </property> <property> <name>hive.users.in.admin.role</name> ...