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

Vitalii Diravka commented on HADOOP-18047:
------------------------------------------

Found HADOOP-11699. It is pointed there the reason of leading domain 
toLowerCase in comment: 
https://issues.apache.org/jira/browse/HADOOP-11699?focusedCommentId=14355806&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14355806

See _*KerberosUtil#getServicePrincipal*_ javadoc and cooment there:

_> convert hostname to lowercase as kerberos does not work with hostnames with 
uppercase characters._
Closing it as invalid

> hostnmae is shown in LowerCase in SecurityUtil#replacePattern 
> --------------------------------------------------------------
>
>                 Key: HADOOP-18047
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18047
>             Project: Hadoop Common
>          Issue Type: Wish
>          Components: common
>    Affects Versions: 3.3.1
>            Reporter: Vitalii Diravka
>            Priority: Trivial
>             Fix For: 3.4.0
>
>
> Leading hostname to lower case causes test failures, when original hostname 
> in uppercase. 
> [https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/SecurityUtil.java#L230]
> What is the intention of using lowercase there?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to