Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-16855

Replace minor use of `json-simple` with Jackson

    XMLWordPrintableJSON

Details

    Description

      Jackson library is used for most JSON reading/writing, but there are couple of places where older "json-simple" library is used, mostly for diagnostics output. Replacing those minor usages would allow removal of a dependency, one for which the last release was made in 2012.

      Places where json-simple is used are:

      • src/java/org/apache/cassandra/db/ColumnFamilyStore.java
      • src/java/org/apache/cassandra/db/commitlog/CommitLogDescriptor.java
      • src/java/org/apache/cassandra/hints/HintsDescriptor.java
      • src/java/org/apache/cassandra/tools/nodetool/stats/StatsPrinter.java

      (and some matching usage in couple of test classes)

      I can take a stab at replacing these uses; it also looks like test coverage may be spotty for some (StatsPrinter json/yaml part has no tests for example).

      It is probably best to target this for "trunk" (4.1?).

       

      Attachments

        Activity

          People

            smiklosovic Stefan Miklosovic
            cowtowncoder Tatu Saloranta
            Stefan Miklosovic
            Brandon Williams, Ekaterina Dimitrova
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 50m
                1h 50m