[
https://issues.apache.org/jira/browse/HDFS-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835858#action_12835858
]
Owen O'Malley commented on HDFS-990:
------------------------------------
I'd also suggest doing an "ant veryclean" to make sure you aren't getting a
stale jar from ivy.
Have I mentioned that ivy is a big problem...
> 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.