You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Daryn Sharp (JIRA)" <ji...@apache.org> on 2011/09/14 22:31:09 UTC

[jira] [Created] (HDFS-2336) hftp only supports remote hdfs servers

hftp only supports remote hdfs servers
--------------------------------------

                 Key: HDFS-2336
                 URL: https://issues.apache.org/jira/browse/HDFS-2336
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 0.20.205.0, 0.23.0
            Reporter: Daryn Sharp
             Fix For: 0.23.0


The new token renewal implementation appears to introduce invalid assumptions regarding token kinds.

Any token acquired over http is assumed to be hftp, so the kind is unconditionally changed to hftp.  This precludes the acquisition of any other token types over http.  This new limitation was added to a generic method in a public class.  It should have been encapsulated in the hftp class, not the generic http token fetching methods.

Furthermore, hftp will unconditionally change a hftp token's kind to hdfs.  I believe this assumption means that hftp is now broken if the remote cluster's default filesystem is not hdfs.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira