You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Daryn Sharp (JIRA)" <ji...@apache.org> on 2012/08/15 16:06:38 UTC

[jira] [Created] (HADOOP-8701) Reduce visibility of getDelegationToken

Daryn Sharp created HADOOP-8701:
-----------------------------------

             Summary: Reduce visibility of getDelegationToken
                 Key: HADOOP-8701
                 URL: https://issues.apache.org/jira/browse/HADOOP-8701
             Project: Hadoop Common
          Issue Type: Improvement
          Components: fs
    Affects Versions: 2.0.0-alpha, 3.0.0
            Reporter: Daryn Sharp
            Assignee: Daryn Sharp


{{FileSystem#getDelegationToken}} is incompatible with a multi-token fs like viewfs.  {{FileSystem#addDelegationTokens}} is being added in HADOOP-7967 to call {{getDelegationToken}} on each of the fs mounts.  The visibility of {{getDelegationToken}} must be reduced to protected since it's completely incompatible with a multi-token fs.

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

        

[jira] [Commented] (HADOOP-8701) Reduce visibility of getDelegationToken

Posted by "Daryn Sharp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13435134#comment-13435134 ] 

Daryn Sharp commented on HADOOP-8701:
-------------------------------------

The standard procedure is to deprecate for one release.  The method is public in 1.x, but anyone who calls the method in 2.x will not work with viewfs.  The call "succeeds", jobs are submitted, but the tasks will all fail a slow death.  We may want to consider bending the rules and downgrading the visibility in 2.x as well as trunk.
                
> Reduce visibility of getDelegationToken
> ---------------------------------------
>
>                 Key: HADOOP-8701
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8701
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>
> {{FileSystem#getDelegationToken}} is incompatible with a multi-token fs like viewfs.  {{FileSystem#addDelegationTokens}} is being added in HADOOP-7967 to call {{getDelegationToken}} on each of the fs mounts.  The visibility of {{getDelegationToken}} must be reduced to protected since it's completely incompatible with a multi-token fs.

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