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

Hive on Spark might fail in HS2 with LDAP authentication in a kerberized cluster

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.1, 2.2.0
    • Component/s: Spark
    • Labels:
      None

      Description

      When HS2 is used as a gateway for the LDAP users to access and run the queries in kerberized cluster, it's authentication mode is configured as LDAP and at this time, HoS might fail by the same reason as HIVE-10594.
      hive.server2.authentication is not a proper property to determine if a cluster is kerberized, instead hadoop.security.authentication should be used.

      The failure is in spark client communicating with rest of hadoop as it assumes kerberos does not need to be used.

        Attachments

          Activity

            People

            • Assignee:
              ctang.ma Chaoyu Tang
              Reporter:
              ctang.ma Chaoyu Tang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: