You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2011/06/01 20:37:48 UTC

[jira] [Commented] (MAPREDUCE-2452) Delegation token cancellation shouldn't hold global JobTracker lock

    [ https://issues.apache.org/jira/browse/MAPREDUCE-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042353#comment-13042353 ] 

Owen O'Malley commented on MAPREDUCE-2452:
------------------------------------------

Looking good. A few more points:

* Please have the cancelToken catch the InterruptedException and create a new RuntimeException that wraps it.
* Please have the DelegationTokenCancelThread catch InterruptedException and exit gracefully.

> Delegation token cancellation shouldn't hold global JobTracker lock
> -------------------------------------------------------------------
>
>                 Key: MAPREDUCE-2452
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2452
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>            Reporter: Devaraj Das
>            Assignee: Devaraj Das
>             Fix For: 0.23.0
>
>         Attachments: cancel-delegation-token-fix.patch, cancel-delegation-token-fix.patch
>
>
> Currently, when the JobTracker cancels a job's delegation token (at the end of the job), it holds the global lock. This is not desired.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira