Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20587

Replace Jackson with shaded thirdparty gson

    XMLWordPrintableJSON

Details

    • Incompatible change, Reviewed
    • Remove jackson dependencies from most hbase modules except hbase-rest, use shaded gson instead. The output json will be a bit different since jackson can use getter/setter, but gson will always use the fields.

    Description

      HBASE-20582 got me looking at how we use Jackson. It appears that we moved some JSON code from hbase-server into hbase-common via HBASE-19053. But, there seems to be no good reason why this code should live there and not in hbase-http instead. Keeping Jackson off the user's classpath is a nice goal.

      FYI appy, mdrob

      Attachments

        1. HBASE-20587-v3.patch
          91 kB
          Duo Zhang
        2. HBASE-20587-v2.patch
          90 kB
          Duo Zhang
        3. HBASE-20587-v1.patch
          75 kB
          Duo Zhang
        4. HBASE-20587.001.patch
          2 kB
          Josh Elser

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              elserj Josh Elser
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: