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

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

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.1, 2.2.0
    • Spark
    • 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

        1. HIVE-14359.patch
          1 kB
          Chaoyu Tang

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ctang Chaoyu Tang Assign to me
            ctang Chaoyu Tang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment