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

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDFS-1312
    • None
    • balancer & mover
    • None
    • 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.001.patch
          20 kB
          Yiqun Lin
        2. HDFS-10560-HDFS-1312.002.patch
          18 kB
          Yiqun Lin
        3. HDFS-10560-HDFS-1312.003.patch
          14 kB
          Yiqun Lin
        4. HDFS-10560.004.patch
          14 kB
          Anu Engineer
        5. HDFS-10560.005.patch
          14 kB
          Yiqun Lin

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: