hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] Created: (HDFS-990) FSNameSystem#renewDelegationToken doesn't compile
Date Fri, 19 Feb 2010 17:34:27 GMT
FSNameSystem#renewDelegationToken doesn't compile
-------------------------------------------------

                 Key: HDFS-990
                 URL: https://issues.apache.org/jira/browse/HDFS-990
             Project: Hadoop HDFS
          Issue Type: Bug
    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.


Mime
View raw message