Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-10576 DiskBalancer followup work items
  3. HDFS-10560

DiskBalancer: Reuse ObjectMapper instance to improve the performance

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: HDFS-1312
    • Fix Version/s: None
    • Component/s: balancer & mover
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      In branch HDFS-1312, there are many places use ObjectMapper instances to do the json-object transform. But ObjectMapper instance is relatively heavy, we should reuse them as possible. And In addition, ObjectMapper is thread safe, can see this link:http://wiki.fasterxml.com/JacksonFAQ.

      Here are related issues: HDFS-9724, HDFS-9768. We can see detail info in this issues.

        Attachments

        1. HDFS-10560-HDFS-1312.003.patch
          14 kB
          Yiqun Lin
        2. HDFS-10560-HDFS-1312.002.patch
          18 kB
          Yiqun Lin
        3. HDFS-10560-HDFS-1312.001.patch
          20 kB
          Yiqun Lin
        4. HDFS-10560.005.patch
          14 kB
          Yiqun Lin
        5. HDFS-10560.004.patch
          14 kB
          Anu Engineer

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: