hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Yang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-11846) Ozone: Potential http connection leaks in ozone clients
Date Tue, 23 May 2017 06:58:04 GMT

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

Weiwei Yang updated HDFS-11846:
    Status: Patch Available  (was: Open)

> Ozone: Potential http connection leaks in ozone clients
> -------------------------------------------------------
>                 Key: HDFS-11846
>                 URL: https://issues.apache.org/jira/browse/HDFS-11846
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>         Attachments: HDFS-11846-HDFS-7240.001.patch
> There are several problems
> # Http clients in {{OzoneVolume}}, {{OzoneBucket}} and {{OzoneClient}} are created per
request, per [Reuse of HttpClient instance|http://hc.apache.org/httpclient-3.x/performance.html#Reuse_of_HttpClient_instance]
doc, proposed to reuse the http client instance to reduce the over head.
> # Some resources in these classes were not properly cleaned up. E.g the http connection,
HttpGet/HttpPost requests.
> This jira's purpose is to fix these issues and investigate how we can improve the client.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message