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 "Eli Collins (JIRA)" <ji...@apache.org> on 2010/02/19 19:10:28 UTC

[jira] Resolved: (HDFS-990) FSNameSystem#renewDelegationToken doesn't compile

     [ https://issues.apache.org/jira/browse/HDFS-990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eli Collins resolved HDFS-990.
------------------------------

    Resolution: Not A Problem

Looks like HDFS-986 made it over to git but HADOOP-6551 is still on the way, my git connector is probably just being slow.  Sorry for the noise!

> FSNameSystem#renewDelegationToken doesn't compile
> -------------------------------------------------
>
>                 Key: HDFS-990
>                 URL: https://issues.apache.org/jira/browse/HDFS-990
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 0.22.0
>            Reporter: Eli Collins
>            Priority: Blocker
>             Fix For: 0.22.0
>
>
> The following code returns a boolean but a long (the new expiration time) is expected. Looks like HDFS-986 introduced this.
> {code} 
>  public long renewDelegationToken(Token<DelegationTokenIdentifier> token)
>       throws InvalidToken, IOException {
>     String renewer = UserGroupInformation.getCurrentUser().getShortUserName();
>     return dtSecretManager.renewToken(token, renewer);
>   }
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.