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

Avoid using RegistryUtils.currentUser()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0, 4.0.0
    • Fix Version/s: 3.2.0, 4.0.0
    • Component/s: None
    • Labels:
      None

      Description

      RegistryUtils.currentUser() does replacement of '_' with '-' for DNS reasons. This is used inconsistently in some places causing issues wrt. ZK (deletion token secret manager, llap cluster membership for external clients).

       

      Replace RegistryUtils.currentUser() with UserGroupInformation.getCurrentUser().getShortUserName() for consistency. 

        Attachments

        1. HIVE-21970.2.patch
          7 kB
          Prasanth Jayachandran
        2. HIVE-21970.1.patch
          7 kB
          Prasanth Jayachandran

          Activity

            People

            • Assignee:
              prasanth_j Prasanth Jayachandran
              Reporter:
              prasanth_j Prasanth Jayachandran
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: