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

Ozone: Reuse ObjectMapper instance to improve the performance

    XMLWordPrintableJSON

Details

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

    Description

      In the ozone, there are many places using ObjectMapper to do the object-json transformation. From the page of ObjectMapper (https://github.com/FasterXML/jackson-docs/wiki/Presentation:-Jackson-Performance), ObjectMapper is a heavy-weight object, it not a good bevahiour to create this instance everywhere.

      Attachments

        1. HDFS-11712-HDFS-7240.001.patch
          28 kB
          Yiqun Lin
        2. HDFS-11712-HDFS-7240.002.patch
          41 kB
          Yiqun Lin
        3. HDFS-11712-HDFS-7240.003.patch
          41 kB
          Yiqun Lin

        Activity

          People

            linyiqun Yiqun Lin
            linyiqun Yiqun Lin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: