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

Hudson commented on HDFS-10932:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14057 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/14057/])
HDFS-10932. Ozone: fix XceiverClient slow shutdown. Contributed by Chen 
(aengineer: rev 4217f8520266380db436ad520399eb86ca7b669a)
* (edit) 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/container/common/transport/client/XceiverClient.java


> Ozone : fix XceiverClient slow shutdown
> ---------------------------------------
>
>                 Key: HDFS-10932
>                 URL: https://issues.apache.org/jira/browse/HDFS-10932
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Chen Liang
>            Assignee: Chen Liang
>            Priority: Major
>         Attachments: HDFS-10932-HDFS-7240.002.patch, 
> HDFS-10932-HDFS-7240.002.patch, HDFS-10932.001.patch
>
>
> Currently {{XceiverClient}} is the underlying entity of 
> {{DistributedStorageHandler.newKeyWriter()}} and 
> {{DistributedStorageHandler.newKeyReader()}}  for making call to container 
> for read/write. When {{XceiverClient}} gets closed, 
> {{group.shutdownGracefully()}} gets called, which is an asynchronous call. 
> A problem is that this asynchronous call has default quiet period of 2 
> seconds before it actually shutdown, so if we have a burst of read/write 
> calls, we would end up having threads created faster than they got 
> terminated, reaching system limit at some point.
> Ideally, this needs to be fixed with cached clients instead of creating new 
> thread each time. This JIRA only tries to give a temporary fix for the time 
> being.
> Thanks [~anu] for the offline discussion.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to