[ https://issues.apache.org/jira/browse/MAPREDUCE-1430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835047#action_12835047 ]
Devaraj Das commented on MAPREDUCE-1430: ---------------------------------------- One more thing - the submitJob API where you set up the delegation tokens for renewal should be within a "try-catch" block. If there is any exception during job submission then the token should be removed from the delegation token set so that it never gets renewed. Also, you should cancel the token if the mapreduce.job.complete.cancel.delegation.tokens is true. BTW by default mapreduce.job.complete.cancel.delegation.tokens should be true. > JobTracker should be able to renew delegation tokens for the jobs > ----------------------------------------------------------------- > > Key: MAPREDUCE-1430 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1430 > Project: Hadoop Map/Reduce > Issue Type: Sub-task > Components: jobtracker > Affects Versions: 0.22.0 > Reporter: Devaraj Das > Assignee: Boris Shkolnik > Fix For: 0.22.0 > > Attachments: MAPREDUCE-1430-5.patch, MAPREDUCE-1430-6.patch > > > JobTracker should automatically renew delegation tokens for the jobs it is > currently running. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.