Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-11846

Ozone: Fix Http connection leaks in ozone clients

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • HDFS-7240
    • ozone
    • None
    • Reviewed

    Description

      There are several problems

      1. Http clients in OzoneVolume, OzoneBucket and OzoneClient are created per request, per Reuse of HttpClient instance doc, proposed to reuse the http client instance to reduce the over head.
      2. 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.

      Attachments

        1. HDFS-11846-HDFS-7240.001.patch
          36 kB
          Weiwei Yang
        2. HDFS-11846-HDFS-7240.002.patch
          38 kB
          Weiwei Yang

        Activity

          People

            cheersyang Weiwei Yang
            cheersyang Weiwei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: