Details
-
Sub-task
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
Reviewed
Description
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.