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

Ayush Saxena commented on HDFS-15373:
-------------------------------------

The {{numThreads}} was not getting used only, the queue limit is 
{{INTEGER.MAX}}, so queue will not get full only, so thread was staying at 1.
In general the thread will always be 1, if the JN is serving the request in 
appropriate time and isn't slow, Added {{allowCoreThreadTimeOut}} to avoid 
having {{numThreads}} always running despite being not used.

> 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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to