Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-10310

YARN Service - User is able to launch a service with same name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      As ServiceClient uses UserGroupInformation.getCurrentUser().getUserName() to get user whereas ClientRMService#submitApplication uses UserGroupInformation.getCurrentUser().getShortUserName() to set application username.
      In case of user with name hdfs/hadoop@HADOOP.COM. below condition fails
      ClientRMService#getApplications()

      if (users != null && !users.isEmpty() &&
                !users.contains(application.getUser())) {
              continue;
       }
      
      

      Attachments

        1. YARN-10310.001.patch
          1 kB
          Bilwa S T

        Activity

          People

            BilwaST Bilwa S T
            BilwaST Bilwa S T
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: