This is an automated email from the ASF dual-hosted git repository. joemcdonnell pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/impala.git
commit ae6a3b9ec058dfea4b4f93d4828761f792f0b55e Author: Joe McDonnell <[email protected]> AuthorDate: Fri Aug 23 13:53:02 2024 -0700 IMPALA-13082: Use separate versions for jackson vs jackson-databind Sometimes there is a jackson-databind patch release without a corresponding release of other jackson libraries. For example, there is a jackson-databind 2.12.7.1, but jackson-core does not have an artifact with that version. To handle these scenarios, it is useful to have a separate version for jackson-databind vs other jackson libraries. This introduces IMPALA_JACKSON_VERSION (which currently matches IMPALA_JACKSON_DATABIND_VERSION) and uses this for non-databind jackson libraries. Testing: - Ran a local build Change-Id: I3055cb47986581793d947eaedb6a24b4dd92e3a6 Reviewed-on: http://gerrit.cloudera.org:8080/21719 Tested-by: Impala Public Jenkins <[email protected]> Reviewed-by: Michael Smith <[email protected]> --- bin/impala-config.sh | 1 + java/pom.xml | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/impala-config.sh b/bin/impala-config.sh index 72a75de8c..eaaad8657 100755 --- a/bin/impala-config.sh +++ b/bin/impala-config.sh @@ -266,6 +266,7 @@ export IMPALA_DERBY_VERSION=10.14.2.0 export IMPALA_GUAVA_VERSION=32.0.1-jre export IMPALA_HUDI_VERSION=0.5.0-incubating export IMPALA_HTTP_CORE_VERSION=4.4.14 +export IMPALA_JACKSON_VERSION=2.15.3 export IMPALA_JACKSON_DATABIND_VERSION=2.15.3 export IMPALA_JSON_SMART_VERSION=2.4.11 export IMPALA_JUNIT_VERSION=4.12 diff --git a/java/pom.xml b/java/pom.xml index b1658e346..5784b265f 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -70,6 +70,7 @@ under the License. so it's important to depend on the same one --> <guava.version>${env.IMPALA_GUAVA_VERSION}</guava.version> <derby.version>${env.IMPALA_DERBY_VERSION}</derby.version> + <jackson.version>${env.IMPALA_JACKSON_VERSION}</jackson.version> <jackson-databind.version>${env.IMPALA_JACKSON_DATABIND_VERSION}</jackson-databind.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <iceberg.version>${env.IMPALA_ICEBERG_VERSION}</iceberg.version> @@ -373,12 +374,12 @@ under the License. <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> - <version>${jackson-databind.version}</version> + <version>${jackson.version}</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> - <version>${jackson-databind.version}</version> + <version>${jackson.version}</version> </dependency> <dependency>
