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

GenericUDTFGetSplits should handle usernames in the same way as LLAP

    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

      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

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

            Dates

              Created:
              Updated:
              Resolved: