*Release notes:*
PAM support allows Hive to use existing PAM services for authentication. PAM requires the native [JPAM|http://sourceforge.net/projects/jpam/files/jpam/jpam-1.1/] library. To enable PAM usage:
1. Download the JPAM native library [JPAM|http://sourceforge.net/projects/jpam/files/jpam/jpam-1.1/] for the relevant architecture.
2. Unzip and copy libjpam.so to a directory (<libjmap-directory>) on the system.
3. Add the directory to the LD_LIBRARY_PATH environment variable like so: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<libjmap-directory>
4. Set the "hive.server2.authentication" to PAM in hive-site.xml
5. Set the "hive.server2.authentication.pam.services" to a list of comma separated PAM services that will be used. Note that a file with the same name as the PAM service must exist in /etc/pam.d
6. Start HiveServer2
*Release notes:*
PAM support allows Hive to use existing PAM services for authentication. PAM requires the native [JPAM| http://sourceforge.net/projects/jpam/files/jpam/jpam-1.1/ ] library. To enable PAM usage:
1. Download the JPAM native library [JPAM| http://sourceforge.net/projects/jpam/files/jpam/jpam-1.1/ ] for the relevant architecture.
2. Unzip and copy libjpam.so to a directory (<libjmap-directory>) on the system.
3. Add the directory to the LD_LIBRARY_PATH environment variable like so: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<libjmap-directory>
4. Set the "hive.server2.authentication" to PAM in hive-site.xml
5. Set the "hive.server2.authentication.pam.services" to a list of comma separated PAM services that will be used. Note that a file with the same name as the PAM service must exist in /etc/pam.d
6. Start HiveServer2