cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tatu Saloranta (Jira)" <>
Subject [jira] [Created] (CASSANDRA-16855) Replace minor use of `json-simple` with Jackson
Date Sat, 14 Aug 2021 00:14:00 GMT
Tatu Saloranta created CASSANDRA-16855:

             Summary: Replace minor use of `json-simple` with Jackson
                 Key: CASSANDRA-16855
             Project: Cassandra
          Issue Type: Improvement
          Components: Dependencies, Local/Other, Tool/nodetool
            Reporter: Tatu Saloranta

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/
 * src/java/org/apache/cassandra/db/commitlog/
 * src/java/org/apache/cassandra/hints/
 * src/java/org/apache/cassandra/tools/nodetool/stats/

(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?).


This message was sent by Atlassian Jira

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message