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

GenericUDTFGetSplits should handle usernames in the same way as LLAP

    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

      LLAP ZK registry namespacing includes current user name which is typically hive. But in some deployments, usernames are created with '' like hive_dev. RegistryUtils.currentUser() (that LLAP uses) replaces '' with '-' for DNS reasons. But GenericUDTFSplits uses UGI login user which does not do the underscore replacement. As a result, LlapBaseInputFormat is finding any LLAP daemons even though they are running.

        Attachments

        1. HIVE-21913.1.patch
          1 kB
          Prasanth Jayachandran

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: