You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Haibo Chen (JIRA)" <ji...@apache.org> on 2017/05/19 22:18:04 UTC
[jira] [Commented] (YARN-6628) Unexpected jackson-core-2.2.3
dependency introduced
[ https://issues.apache.org/jira/browse/YARN-6628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16018113#comment-16018113 ]
Haibo Chen commented on YARN-6628:
----------------------------------
Based on its pom file, fst depends on jackson-core:2.8.8
{code:xml}
<!-- required for createJSONConfiguration -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.8.8</version>
</dependency>
{code}
It is overridden by the version specified in hadoop-2.8, which is 2.2.3. That's why jackson-core-2.2.3.jar is in share/hadoop/yarn/lib
{code:xml}
\- de.ruedigermoeller:fst:jar:2.50:compile
+- com.fasterxml.jackson.core:jackson-core:jar:2.2.3:compile (version managed from 2.8.8)
\- com.cedarsoftware:java-util:jar:1.9.0:compile
\- com.cedarsoftware:json-io:jar:2.5.1:compile
{code}
Strangely enough, according to mvn dependency:tree, jackson-core is not dependent on by fst in trunk
{code}
\- de.ruedigermoeller:fst:jar:2.50:compile
\- com.cedarsoftware:java-util:jar:1.9.0:compile
\- com.cedarsoftware:json-io:jar:2.5.1:compile
{code}
and jackson-core.jar is NOT in share/hadoop/yarn/lib/ even though hadoop-yarn-common and other modules depend on it.
{code}
+- org.apache.hadoop:hadoop-yarn-common:jar:3.0.0-alpha3-SNAPSHOT:compile
+- com.fasterxml.jackson.core:jackson-core:jar:2.7.8:compile
+- com.fasterxml.jackson.module:jackson-module-jaxb-annotations:jar:2.7.8:compile
\- com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.7.8:compile
\- com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:2.7.8:compile
{code}
Any idea how this could have happened?
> Unexpected jackson-core-2.2.3 dependency introduced
> ---------------------------------------------------
>
> Key: YARN-6628
> URL: https://issues.apache.org/jira/browse/YARN-6628
> Project: Hadoop YARN
> Issue Type: Bug
> Components: timelineserver
> Affects Versions: 2.8.1
> Reporter: Jason Lowe
> Priority: Blocker
>
> The change in YARN-5894 caused jackson-core-2.2.3.jar to be added in share/hadoop/yarn/lib/. This added dependency seems to be incompatible with jackson-core-asl-1.9.13.jar which is also shipped as a dependency. This new jackson-core jar ends up breaking jobs that ran fine on 2.8.0.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org