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

Avoid using RegistryUtils.currentUser()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.0, 4.0.0
    • 3.2.0, 4.0.0-alpha-1
    • None
    • 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.1.patch
          7 kB
          Prasanth Jayachandran
        2. HIVE-21970.2.patch
          7 kB
          Prasanth Jayachandran

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: