Eric Yang commented on YARN-10310:

[~BilwaST] I was unable to reproduce the error reported here using 
hdfs/had...@example.com principal.  Failure to create service, maybe cause by 
existing instance of sleeper service.  The service finished running, but it was 
not destroyed to remove the state file from hdfs.  I could not reproduce the 
described problem, nor patch 001 looks like a solution that would address the 
described problem.  Please clarify.  Thanks

> YARN Service - User is able to launch a service with same name
> --------------------------------------------------------------
>                 Key: YARN-10310
>                 URL: https://issues.apache.org/jira/browse/YARN-10310
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Bilwa S T
>            Assignee: Bilwa S T
>            Priority: Major
>         Attachments: YARN-10310.001.patch
> 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/had...@hadoop.com. below condition fails
> ClientRMService#getApplications()
> {code:java}
> if (users != null && !users.isEmpty() &&
>           !users.contains(application.getUser())) {
>         continue;
>  }
> {code}

This message was sent by Atlassian Jira

To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to