[
https://issues.apache.org/jira/browse/AVRO-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16976040#comment-16976040
]
Brian Lachniet commented on AVRO-2632:
--------------------------------------
It appears that we may have (accidentally?) cherry-picked the Jackson version
bump along with the Hadoop version bump. When Jackson was bumped on master,
there were accompanying code changes outside of the {{pom.xml}}:
https://github.com/apache/avro/commit/2b75804d73fa3a8d4d25be2f79aa772f5965bbcd#diff-f5fe6838f0d551a0e3bca3774778b2eb
[~fokko]/[~ryanskraba], I'm not very familiar with the Java bindings, but I
think one of the approaches below will solve this problem:
# Should {{branch-1.9}} use Jackson 2.10 (meaning that we need to replicate
changes to {{lang/java/avro/src/main/java/org/apache/avro/SchemaBuilder.java }}
from [this commit to
master|https://github.com/apache/avro/commit/2b75804d73fa3a8d4d25be2f79aa772f5965bbcd#diff-f5fe6838f0d551a0e3bca3774778b2eb]
to {{branch-1.9}}) *OR*
# Should {{branch-1.9}} still reference Jackson 2.9.9?
> getJsonStringEncoder() method not found on branch-1.9
> -----------------------------------------------------
>
> Key: AVRO-2632
> URL: https://issues.apache.org/jira/browse/AVRO-2632
> Project: Apache Avro
> Issue Type: Bug
> Components: build, java
> Reporter: Brian Lachniet
> Priority: Major
>
> {{branch-1.9}} began failing Travis builds in [Build
> #1382|https://travis-ci.org/apache/avro/builds/607297589] with the following
> errors:
> {code}
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> /home/travis/build/apache/avro/lang/java/avro/src/main/java/org/apache/avro/SchemaBuilder.java:[2714,40]
> cannot find symbol
> symbol: method getJsonStringEncoder()
> location: class com.fasterxml.jackson.core.util.BufferRecyclers
> [ERROR]
> /home/travis/build/apache/avro/lang/java/avro/src/main/java/org/apache/avro/SchemaBuilder.java:[2718,40]
> cannot find symbol
> symbol: method getJsonStringEncoder()
> location: class com.fasterxml.jackson.core.util.BufferRecyclers
> {code}
> The Jackson version was bumped [in this set of
> changes|https://github.com/apache/avro/compare/fea6888bc211...f156063edb17].
> This seems like it could be related to the cause of the problem.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)