You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (Jira)" <ji...@apache.org> on 2021/08/17 13:31:00 UTC

[jira] [Comment Edited] (CASSANDRA-16855) Replace minor use of `json-simple` with Jackson

    [ https://issues.apache.org/jira/browse/CASSANDRA-16855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17400379#comment-17400379 ] 

Brandon Williams edited comment on CASSANDRA-16855 at 8/17/21, 1:30 PM:
------------------------------------------------------------------------

[Circle|https://app.circleci.com/pipelines/github/driftx/cassandra?branch=CASSANDRA-16855] and [!https://ci-cassandra.apache.org/job/Cassandra-devbranch/1031/badge/icon!|https://ci-cassandra.apache.org/blue/organizations/jenkins/Cassandra-devbranch/detail/Cassandra-devbranch/1031/pipeline]



was (Author: brandon.williams):
[Circle|https://app.circleci.com/pipelines/github/driftx/cassandra?branch=CASSANDRA-16855] and [!https://ci-cassandra.apache.org/job/Cassandra-devbranch/1030/badge/icon!|https://ci-cassandra.apache.org/blue/organizations/jenkins/Cassandra-devbranch/detail/Cassandra-devbranch/1030/pipeline]


> Replace minor use of `json-simple` with Jackson
> -----------------------------------------------
>
>                 Key: CASSANDRA-16855
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16855
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Dependencies, Local/Other, Tool/nodetool
>            Reporter: Tatu Saloranta
>            Assignee: Tatu Saloranta
>            Priority: Normal
>              Labels: pull-request-available
>             Fix For: 4.x
>
>
> 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?).
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org