[
https://issues.apache.org/jira/browse/HDFS-990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eli Collins updated HDFS-990:
-----------------------------
Component/s: name-node
> 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.