Uploaded image for project: 'Livy'
  1. Livy
  2. LIVY-634

Livy ThriftServer should be able to reuse hive PasswdAuthenticationProvider

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.6.0
    • None
    • Thriftserver
    • None

    Description

      Currently Livy share same PasswdAuthenticationProvider interface with HiveServer2, but not able to reuse PasswdAuthenticationProvider implementation like LdapAuthenticationProviderImpl and PamAuthenticationProviderImpl.

       

      We can extend livy CustomAuthenticationProvider to support hive PasswdAuthenticationProvider  implementation. For example, to use LdapAuthenticationProviderImpl  we can add such configuration in livy.conf

       

      livy.server.thrift.authentication = CUSTOM
      livy.server.thrift.custom.authentication.class = org.apache.hive.service.auth.LdapAuthenticationProviderImpl
      livy.server.thrift.authentication.custom.hive.server2.authentication.ldap.url = xxxx
      livy.server.thrift.authentication.custom.hive.server2.authentication.ldap.Domain = xxxx

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              xilangyan Xilang Yan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m