-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update jackson to 2.9.10 #8940
Update jackson to 2.9.10 #8940
Conversation
b81ad22
to
e37ba12
Compare
Addresses security vulnerabilities: - sonatype-2016-0397: FasterXML/jackson-core#315 - sonatype-2017-0355: FasterXML/jackson-core#322
e37ba12
to
bbafbf7
Compare
Also manually tested using https://druid.apache.org/docs/latest/tutorials/tutorial-batch-hadoop.html |
Would you please add a list of tests you have done? |
In the test cluster, I ran a kinesis ingestion task to check the updated jackson version compatibility with AWS SDK for Java version 1.x. @jihoonson Are there any additional manual tests that you recommend? |
|
||
// Previously, the implementation of SegmentWithOvershadowedStatus had @JsonCreator/@JsonProperty and @JsonUnwrapped | ||
// on the same field (dataSegment), which used to work in Jackson 2.6, but does not work with Jackson 2.9: | ||
// https://github.com/FasterXML/jackson-databind/issues/265#issuecomment-264344051 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's a bummer :(, should we add a TODO note here to undo the workaround once FasterXML/jackson-databind#1467 is fixed or when/if move to Jackson 3.x ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I can add a TODO. I think it'll work well in the implementation class as a reminder to remove the constructor I added.
Did another manual test that's a variant of https://druid.apache.org/docs/latest/tutorials/tutorial-batch-hadoop.html to have the hadoop index task ingest from s3 and then write to s3 via hdfs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ccaominh thanks for the tests. The test coverage would be too large to be done by one contributor. I think this PR is now good to go, but we could do more intensive tests before release.
All the hadoop manual tests were done with hadoop 2.8.5. |
Description
Addresses security vulnerabilities:
OutOfMemoryError
when writing BigDecimal FasterXML/jackson-core#315This PR has: