[ https://issues.apache.org/jira/browse/YARN-11535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17756877#comment-17756877 ]
Susheel Gupta edited comment on YARN-11535 at 8/21/23 12:35 PM: ---------------------------------------------------------------- Reopening this jira to revert the above merged commit because jackson-dataformat-yaml 2.15.2 is *not* *compatible* with jackson-core 2.12.7, so we cannot update only jackson-dataformat-yaml, but we need to upgrade jackson-core and jackson-databind along with jackson-dataformat-yaml. Currently we don't have testcase in hadoop repo which reproduces this failure. was (Author: JIRAUSER299573): Jackson-dataformat-yaml 2.15.2 is *not* *compatible* with jackson-core 2.12.7, so we cannot update only jackson-dataformat-yaml, but we need to upgrade jackson-core and jackson-databind along with jackson-dataformat-yaml. Currently we don't have testcase in hadoop repo which reproduces this failure. > Jackson-dataformat-yaml should be upgraded to 2.15.2 as it may cause > transitive dependency issue with 2.12.7 > ------------------------------------------------------------------------------------------------------------ > > Key: YARN-11535 > URL: https://issues.apache.org/jira/browse/YARN-11535 > Project: Hadoop YARN > Issue Type: Task > Components: build, yarn > Affects Versions: 3.4.0 > Reporter: Susheel Gupta > Assignee: Susheel Gupta > Priority: Major > Labels: pull-request-available > Fix For: 3.4.0 > > > Hadoop-project uses > [snakeyaml.version-2.0|https://github.com/apache/hadoop/blame/trunk/hadoop-project/pom.xml#L198] > and > [jackson-dataformat-yaml-2.12.7|https://github.com/apache/hadoop/blob/trunk/hadoop-project/pom.xml#L72]. > But internally jackson-dataformat-yaml-2.12.7 uses compile dependency > [snakeyaml.version-1.27|https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-yaml/2.12.7] > .This may cause a transitive dependency issue in other services using hadoop > jar having jackson-dataformat-yaml-2.12.7 as jackson-dataformat-yaml-2.12.7 > will use nearest dependency available of snakeyaml i.e 1.27 and ignore the > version of snakeyaml-2.0 from hadoop-project. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org