[ 
https://issues.apache.org/jira/browse/HDFS-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaoyu Yao updated HDFS-11873:
------------------------------
    Summary: Ozone: Object store handler support reuse http client for multiple 
requests.  (was: Ozone: Object store handler cannot serve multiple requests 
from single http client)

> Ozone: Object store handler support reuse http client for multiple requests.
> ----------------------------------------------------------------------------
>
>                 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]

Reply via email to