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

Add DBTokenStore support to HS2 delegation token

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • Authentication, Security
    • None

    Description

      DBTokenStore was initially introduced by HIVE-3255 in Hive-0.12 and it is mainly for HMS delegation token. Later in Hive-0.13, the HS2 delegation token support was introduced by HIVE-5155 but it used MemoryTokenStore as token store. That the HIVE-9622 uses the shared RawStore (or HMSHandler) to access the token/keys information in HMS DB directly from HS2 seems not the right approach to support DBTokenStore in HS2. I think we should use HiveMetaStoreClient in HS2 instead.

      Attachments

        1. HIVE-12270.nothrift.patch
          418 kB
          Chaoyu Tang
        2. HIVE-12270.1.nothrift.patch
          418 kB
          Chaoyu Tang
        3. HIVE-12270.1.patch
          2.12 MB
          Chaoyu Tang
        4. HIVE-12270.2.patch
          2.13 MB
          Chaoyu Tang
        5. HIVE-12270.3.nothrift.patch
          426 kB
          Chaoyu Tang
        6. HIVE-12270.3.patch
          2.13 MB
          Chaoyu Tang

        Issue Links

          Activity

            People

              ctang Chaoyu Tang
              ctang Chaoyu Tang
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: