Skip to content

Commit

Permalink
exclusion jackson from hive-exec (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
coderzc authored Dec 28, 2021
1 parent a601d3d commit a7b2927
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,10 @@
<groupId>org.apache.thrift</groupId>
<artifactId>libfb303</artifactId>
</exclusion>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public static <T> Set<T> convertSet(String json, Class<T> clazz) {
LinkedHashSet.class, clazz);
try {
return MAPPER.readValue(json, type);
} catch (IOException e) {
} catch (JsonProcessingException e) {
LOG.error("Failed to deserialize json", e);
throw new DeserializeException("Failed to deserialize json", e);
}
Expand Down

0 comments on commit a7b2927

Please sign in to comment.