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

Íñigo Goiri commented on HDFS-15373:
------------------------------------

OK, this is the from the ThreadPoolExecutor 
[documentation|https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ThreadPoolExecutor.html#ThreadPoolExecutor(int,%20int,%20long,%20java.util.concurrent.TimeUnit,%20java.util.concurrent.BlockingQueue)]:
{quote}
corePoolSize - the number of threads to keep in the pool, even if they are 
idle, unless allowCoreThreadTimeOut is set
{quote}
The API is a little weird to follow.

+1 on  [^HDFS-15373-02.patch].

Do you mind improving the description too?

> Fix number of threads in IPCLoggerChannel#createParallelExecutor
> ----------------------------------------------------------------
>
>                 Key: HDFS-15373
>                 URL: https://issues.apache.org/jira/browse/HDFS-15373
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>         Attachments: HDFS-15373-01.patch, HDFS-15373-02.patch
>
>
> The number of threads in IPCLoggerChannel#createParallelExecutor is elastic 
> right now, make it fixed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to