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

HS2 should not attempt to get delegation token from metastore if using embedded metastore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.11.0
    • 1.2.0
    • HiveServer2
    • None

    Description

      colored textIn kerberos secure mode, with doas enabled, Hive server2 tries to get delegation token from metastore even if the metastore is being used in embedded mode.
      To avoid failure in that case, it uses catch block for UnsupportedOperationException thrown that does nothing. But this leads to an error being logged by lower levels and can mislead users into thinking that there is a problem.

      It should check if delegation token mode is supported with current configuration before calling the function.

      Attachments

        1. HIVE-4625.5.patch
          3 kB
          Hari Sankar Sivarama Subramaniyan
        2. HIVE-4625.4.patch
          3 kB
          Hari Sankar Sivarama Subramaniyan
        3. HIVE-4625.3.patch
          3 kB
          Hari Sankar Sivarama Subramaniyan
        4. HIVE-4625.2.patch
          2 kB
          Hari Sankar Sivarama Subramaniyan
        5. HIVE-4625.1.patch
          2 kB
          Hari Sankar Sivarama Subramaniyan

        Activity

          People

            hsubramaniyan Hari Sankar Sivarama Subramaniyan
            thejas Thejas Nair
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: