Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1312 Re-balance disks within a Datanode
  3. HDFS-9526

DiskBalancer: change htrace...JsonIgnore to codehaus...JsonIgnore

    XMLWordPrintableJSON

    Details

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

      Description

      This is to change
      org.apache.htrace.fasterxml.jackson.annotation.JsonIgnore
      org.apache.htrace.fasterxml.jackson.annotation.JsonIgnoreProperties
      to
      org.codehaus.jackson.annotate.JsonIgnore
      org.codehaus.jackson.annotate.JsonIgnoreProperties, since org.codehaus.jackson.map.ObjectMapper does not recognize the former when we mark get/set accessors as @JsonIgnore. This will cause UnrecognizedPropertyException for newly added accessors while doing Json parsing using codehaus Jackson ObjectMapper.

        Attachments

        1. HDFS-9526-HDFS-1312.001.patch
          1 kB
          Xiaobing Zhou

          Activity

            People

            • Assignee:
              xiaobingo Xiaobing Zhou
              Reporter:
              xiaobingo Xiaobing Zhou
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: