Jason Lowe updated YARN-2972:
    Attachment: YARN-2972.001.patch

Patch to use the configured number of threads as the core pool size.

> 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

Reply via email to