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

Hudson commented on HDFS-3308:
------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #2129 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2129/])
    HDFS-3308. Uses canonical URI to select delegation tokens in HftpFileSystem 
and WebHdfsFileSystem.  Contributed by Daryn Sharp (Revision 1328482)

     Result = SUCCESS
szetszwo : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1328482
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/HftpFileSystem.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestHftpDelegationToken.java
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java

                
> hftp/webhdfs can't get tokens if authority has no port
> ------------------------------------------------------
>
>                 Key: HDFS-3308
>                 URL: https://issues.apache.org/jira/browse/HDFS-3308
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs client
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>            Priority: Critical
>         Attachments: HDFS-3308.patch
>
>
> Token acquisition fails if a hftp or webhdfs filesystem is obtained with no 
> port in the authority.  Building a token service requires a port, and the 
> renewer needs the port.  The default port is not being used when there is no 
> port in the uri.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to