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

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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

            • Assignee:
              BilwaST Bilwa S T
              Reporter:
              BilwaST Bilwa S T

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment