hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3312) Hftp selects wrong token service
Date Mon, 23 Apr 2012 21:24:34 GMT

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

Tsz Wo (Nicholas), SZE commented on HDFS-3312:
----------------------------------------------

For hftp, the NN URI is non-secure but the dt needs to use secure URI.
For hsftp, the NN URI is secure and the dt uses the same URI.

+1 patch looks good.

One minor suggestion for the future: we may use the scheme of nnUri in HftpFileSystem.getNamenodeURL(..).
 Then HsftpFileSystem.openConnection(..) could also use HftpFileSystem.getNamenodeURL(..).
                
> Hftp selects wrong token service
> --------------------------------
>
>                 Key: HDFS-3312
>                 URL: https://issues.apache.org/jira/browse/HDFS-3312
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs client
>    Affects Versions: 0.24.0, 0.23.3, 2.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>            Priority: Blocker
>         Attachments: HDFS-3312.patch
>
>
> Hftp tries to select a token based on the non-secure port in the uri, instead of the
secure-port.  This breaks hftp on a secure cluster and there is no workaround.

--
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

        

Mime
View raw message