You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Bilwa S T (Jira)" <ji...@apache.org> on 2020/06/08 17:21:00 UTC
[jira] [Created] (YARN-10310) YARN Service - User is able to launch
a service with same name
Bilwa S T created YARN-10310:
--------------------------------
Summary: 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
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()
{code:java}
if (users != null && !users.isEmpty() &&
!users.contains(application.getUser())) {
continue;
}
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org