[
https://issues.apache.org/jira/browse/HADOOP-8878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473915#comment-13473915
]
Hudson commented on HADOOP-8878:
--------------------------------
Integrated in Hadoop-Common-trunk-Commit #2844 (See
[https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2844/])
HADOOP-8878. Uppercase namenode hostname causes hadoop dfs calls with
webhdfs filesystem and fsck to fail when security is on. Contributed by Arpit
Gupta. (Revision 1396922)
Result = SUCCESS
suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1396922
Files :
*
/hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/client/KerberosAuthenticator.java
*
/hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/KerberosUtil.java
*
/hadoop/common/trunk/hadoop-common-project/hadoop-auth/src/test/java/org/apache/hadoop/security/authentication/util/TestKerberosUtil.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
> uppercase namenode hostname causes hadoop dfs calls with webhdfs filesystem
> and fsck to fail when security is on
> ----------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-8878
> URL: https://issues.apache.org/jira/browse/HADOOP-8878
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1.0.3, 1.1.0, 1.2.0, 3.0.0
> Reporter: Arpit Gupta
> Assignee: Arpit Gupta
> Fix For: 1.2.0, 2.0.3-alpha
>
> Attachments: HADOOP-8878.branch-1.patch, HADOOP-8878.branch-1.patch,
> HADOOP-8878.branch-1.patch, HADOOP-8878.patch, HADOOP-8878.patch,
> HADOOP-8878.patch
>
>
> This was noticed on a secure cluster where the namenode had an upper case
> hostname and the following command was issued
> hadoop dfs -ls webhdfs://NN:PORT/PATH
> the above command failed because delegation token retrieval failed.
> Upon looking at the kerberos logs it was determined that we tried to get the
> ticket for kerberos principal with upper case hostnames and that host did not
> exit in kerberos. We should convert the hostnames to lower case. Take a look
> at HADOOP-7988 where the same fix was applied on a different class.
> I have noticed this issue exists on branch-1. Will investigate trunk and
> branch-2 and update accordingly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira