hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junping Du (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2972) DelegationTokenRenewer thread pool never expands
Date Wed, 17 Dec 2014 16:58:14 GMT

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

Junping Du commented on YARN-2972:
----------------------------------

Nice catch, [~jlowe]! 
+1. Patch looks good. Will commit it shortly.

> DelegationTokenRenewer thread pool never expands
> ------------------------------------------------
>
>                 Key: YARN-2972
>                 URL: https://issues.apache.org/jira/browse/YARN-2972
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.3.0
>            Reporter: Jason Lowe
>            Assignee: Jason Lowe
>         Attachments: YARN-2972.001.patch
>
>
> DelegationTokenRenewer uses a thread pool to manage token renewals.  The number of threads
is configurable, but unfortunately the pool never expands beyond the hardcoded initial 5 threads
because we are using an unbounded LinkedBlockingQueue.  ThreadPoolExecutor only grows the
thread pool beyond the core size when the specified queue is full.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message