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.

Reply via email to