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

ThriftCLIService uses incompatible getShortName() implementation

    XMLWordPrintableJSON

Details

    Description

      ThriftCLIService has a local implementation getShortName() that assumes a short name is always the part before "@" and "/". This is not always the case as Kerberos Rules (from Hadoop's KerberosName) might actually transform a name to something else.

      Considering a pending change to getShortName() (#HADOOP-12751) and the normal use of KerberosName in other parts of Hive it only seems logical to use the standard implementation.

      Attachments

        1. 0001-HIVE-12981-Use-KerberosName.patch
          2 kB
          Bolke de Bruin
        2. HIVE-12981.01.patch
          2 kB
          Bolke de Bruin
        3. HIVE-12981.patch
          2 kB
          Sergey Shelukhin
        4. HIVE-12981-branch-1.2.patch
          2 kB
          Bolke de Bruin

        Issue Links

          Activity

            People

              bolke Bolke de Bruin
              bolke Bolke de Bruin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: