From a0ab15a64cc337b1fc675fb6f014fa63d5b49adb Mon Sep 17 00:00:00 2001 From: Claudio Atzori Date: Thu, 19 Mar 2020 13:58:58 +0100 Subject: [PATCH] need to stick on using guava:11.0.2 as it is the version used by the hadoop components (oozie client for sure). The last version (28.2-jre) breaks the oozie workflow submission --- .../java/eu/dnetlib/dedup/SparkCreateConnectedComponent.java | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dhp-workflows/dhp-dedup/src/main/java/eu/dnetlib/dedup/SparkCreateConnectedComponent.java b/dhp-workflows/dhp-dedup/src/main/java/eu/dnetlib/dedup/SparkCreateConnectedComponent.java index 16e112c25..3a92a1558 100644 --- a/dhp-workflows/dhp-dedup/src/main/java/eu/dnetlib/dedup/SparkCreateConnectedComponent.java +++ b/dhp-workflows/dhp-dedup/src/main/java/eu/dnetlib/dedup/SparkCreateConnectedComponent.java @@ -74,6 +74,6 @@ public class SparkCreateConnectedComponent { } public static long getHashcode(final String id) { - return Hashing.murmur3_128().hashUnencodedChars(id).asLong(); + return Hashing.murmur3_128().hashString(id).asLong(); } } diff --git a/pom.xml b/pom.xml index 85a545eb0..f47d49ea7 100644 --- a/pom.xml +++ b/pom.xml @@ -503,7 +503,7 @@ 2.4.0.cloudera2 2.9.6 3.5 - 28.2-jre + 11.0.2 2.11.12 4.12 3.4.2