hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billie Rinaldi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7777) Fix user name format in YARN Registry DNS name
Date Tue, 23 Jan 2018 16:46:00 GMT

    [ https://issues.apache.org/jira/browse/YARN-7777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16336044#comment-16336044
] 

Billie Rinaldi commented on YARN-7777:
--------------------------------------

Looks like there's one more issue, names with uppercase letters aren't working. It's because
the lowercase happens in RegistryUtils.convertUsername, not in RegistryUtils.currentUser.
So the zk path is created with lowercase, and that is used to create a good hostname for RegistryDNS.
But after this patch, a name with uppercase letters doesn't pass the ServiceApiUtil check.
Maybe we should call convertUsername in RegistryUtils.currentUser? I don't see a reason for
needing a partially converted username returned from RegistryUtils.currentUser.

> Fix user name format in YARN Registry DNS name 
> -----------------------------------------------
>
>                 Key: YARN-7777
>                 URL: https://issues.apache.org/jira/browse/YARN-7777
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Jian He
>            Assignee: Jian He
>            Priority: Major
>         Attachments: YARN-7777.01.patch, YARN-7777.02.patch, YARN-7777.03.patch
>
>
> user name that has "\_" should be converted to user "-", because DNS name doesn't allow
"_"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message