apache / apache/parquet-java

com.fasterxml.jackson.core.jackson dependency harmonization

Open
#2,107 1 comment 0 reactions 0 assignees View on GitHub
Component: Parquet Priority: Minor Type: enhancement
Dominant language
Java
Stars
3.1k
Forks
1.6k
Avg merge
3d 12h
Merged PRs (30d)
33

Description

Parquet as a whole depends on many jackson versions, also legacy release.

there are 2 overlapping dependencies on **com.fasterxml.jackson.core** bundles:

2.7.1, 2.3.1 and 2.3.0

[INFO] +- org.apache.arrow:arrow-vector:jar:0.1.0:compile
[INFO] | +- joda-time:joda-time:jar:2.9:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.7.1:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.7.1:compile
[INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.7.1:compile

and

[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.3.1:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.3.0:compile
[INFO] | \- com.fasterxml.jackson.core:jackson-core:jar:2.3.1:compile

It would be better to have only 1 non overlapping dependency tree from jackson.

Then other submodules of Parquet depend on old "codehaus" release. These should be harmonized as well, at least those that do not need that version to cope with other third party libraries that need the old one.

I spotted this one.

**Parquet jackson**

[INFO] org.apache.parquet:parquet-jackson:jar:1.9.1-SNAPSHOT
[INFO] +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
[INFO] +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile

**Reporter**: [Davide Gesino](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dgesino)
#### Related issues:
- [Remove Jackson classes from public API](https://issues.apache.org/jira/browse/AVRO-1605) (is blocked by)

**Note**: *This issue was originally created as [PARQUET-1173](https://issues.apache.org/jira/browse/PARQUET-1173). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the Maven dependency trees for org.apache.arrow:arrow-vector and org.apache.parquet:parquet-jackson, using the Jackson versions listed in the issue as the baseline. Check which old Codehaus dependencies are required by third-party libraries. Done means reducing avoidable overlapping Jackson versions while preserving necessary compatibility exceptions.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.