[
https://issues.apache.org/jira/browse/HDFS-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16170502#comment-16170502
]
Xiaoyu Yao commented on HDFS-11873:
-----------------------------------
Thanks [~anu] and [~cheersyang] for the review. I will commit the patch soon.
> Ozone: Object store handler cannot serve multiple requests from single http
> client
> ----------------------------------------------------------------------------------
>
> Key: HDFS-11873
> URL: https://issues.apache.org/jira/browse/HDFS-11873
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ozone
> Reporter: Weiwei Yang
> Assignee: Xiaoyu Yao
> Priority: Critical
> Labels: ozoneMerge
> Attachments: HDFS-11873-HDFS-7240.001.patch,
> HDFS-11873-HDFS-7240.002.patch, HDFS-11873-HDFS-7240.003.patch,
> HDFS-11873-HDFS-7240.004.patch, HDFS-11873-HDFS-7240.testcase.patch
>
>
> This issue was found when I worked on HDFS-11846. Instead of creating a new
> http client instance per request, I tried to reuse {{CloseableHttpClient}} in
> {{OzoneClient}} class in a {{PoolingHttpClientConnectionManager}}. However,
> every second request from the http client hangs, which could not get
> dispatched to {{ObjectStoreJerseyContainer}}. There seems to be something
> wrong in the netty pipeline, this jira aims to 1) fix the problem in the
> server side 2) use the pool for client http clients to reduce the resource
> overhead.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]