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

Allow custom HiveConf to be passed to Authentication Providers

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Right now if I want to create an ldap auth provider, I have to create a hive-site.xml, set endpoints and other relevant properties there, then instantiate `LdapAuthenticationProviderImpl`, since inside the constructor, a new HiveConf is constructed.

      A better and more reusable design would be to ask for the conf in the constructor itself. That will allow an external user to create a HiveConf, set all relevant properties and instantiate `LdapAuthenticationProviderImpl` with that conf.

        Attachments

        1. HIVE-13179.patch
          6 kB
          Rajat Khandelwal
        2. HIVE-13179.patch
          6 kB
          Rajat Khandelwal
        3. HIVE-13179.1.patch
          6 kB
          Rajat Khandelwal
        4. HIVE-13179.05.patch
          6 kB
          Rajat Khandelwal

          Issue Links

            Activity

              People

              • Assignee:
                prongs Rajat Khandelwal
                Reporter:
                prongs Rajat Khandelwal
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: