[ 
https://issues.apache.org/jira/browse/YARN-11498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17737638#comment-17737638
 ] 

ASF GitHub Bot commented on YARN-11498:
---------------------------------------

steveloughran commented on PR #5623:
URL: https://github.com/apache/hadoop/pull/5623#issuecomment-1609419098

   I tried a cherrypick to branch-3.3 and the build failed as there's no 
explicit jettison import in that branch
   ```
   [WARNING]
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on 
project hadoop-yarn-common: Compilation failure: Compilation failure:
   [ERROR] 
/Users/stevel/hadoop/commit/apache-hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/util/YarnWebServiceUtils.java:[30,34]
 package org.codehaus.jettison.json does not exist
   [ERROR] 
/Users/stevel/hadoop/commit/apache-hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/util/YarnWebServiceUtils.java:[53,17]
 cannot find symbol
   [ERROR]   symbol:   class JSONObject
   [ERROR]   location: class 
org.apache.hadoop.yarn.webapp.util.YarnWebServiceUtils
   [ERROR] 
/Users/stevel/hadoop/commit/apache-hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/util/YarnWebServiceUtils.java:[70,18]
 cannot find symbol
   [ERROR]   symbol:   class JSONObject
   [ERROR]   location: class 
org.apache.hadoop.yarn.webapp.util.YarnWebServiceUtils
   [ERROR] 
/Users/stevel/hadoop/commit/apache-hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/util/YarnWebServiceUtils.java:[79,33]
 cannot find symbol
   [ERROR]   symbol:   class JSONObject
   [ERROR]   location: class 
org.apache.hadoop.yarn.webapp.util.YarnWebServiceUtils
   [ERROR] -> [Help 1]
   [ERROR]
   ```
   




> Exclude Jettison from jersey-json artifact in hadoop-yarn-common's pom.xml
> --------------------------------------------------------------------------
>
>                 Key: YARN-11498
>                 URL: https://issues.apache.org/jira/browse/YARN-11498
>             Project: Hadoop YARN
>          Issue Type: Task
>          Components: build
>            Reporter: Devaspati Krishnatri
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.4.0
>
>
> This exclusion is done to reduce CVEs present due to an older version of 
> Jettison(1.1) being pulled in with jersey-json artifact.



--
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

Reply via email to