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

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • HDFS-1312
    • datanode
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: