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

Jing Zhao commented on HDFS-5440:
---------------------------------

{code}
    renewToken = token;
    // emulate the 203 usage of the tokens
    // by setting the kind and service as if they were hdfs tokens
    delegationToken = new Token<T>(token);
{code}

Now we understand the "203" here indicates branch-0.20.203. [~wheat9], could 
you also update the javadoc here?

> Extract the logic of handling delegation tokens in HftpFileSystem to the 
> TokenAspect class
> ------------------------------------------------------------------------------------------
>
>                 Key: HDFS-5440
>                 URL: https://issues.apache.org/jira/browse/HDFS-5440
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>         Attachments: HDFS-5440.000.patch, HDFS-5440.001.patch, 
> HDFS-5440.002.patch
>
>
> The logic of handling delegation token in HftpFileSystem and 
> WebHdfsFileSystem are mostly identical. To simplify the code, this jira 
> proposes to extract the common code into a new class named TokenAspect.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to