Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-6466

Add support for pluggable authentication modules (PAM) in Hive

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.13.0
    • HiveServer2
    • None
    • Hide
      *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
       
      Show
      *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  

    Attachments

      1. HIVE-6466.1.patch
        6 kB
        Vaibhav Gumashta
      2. HIVE-6466.2.patch
        6 kB
        Vaibhav Gumashta

      Issue Links

        Activity

          People

            vgumashta Vaibhav Gumashta
            vgumashta Vaibhav Gumashta
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: