[ 
https://issues.apache.org/jira/browse/HADOOP-16908?focusedWorklogId=695075&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-695075
 ]

ASF GitHub Bot logged work on HADOOP-16908:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 13/Dec/21 14:11
            Start Date: 13/Dec/21 14:11
    Worklog Time Spent: 10m 
      Work Description: virajjasani commented on a change in pull request #3789:
URL: https://github.com/apache/hadoop/pull/3789#discussion_r767790954



##########
File path: hadoop-common-project/hadoop-common/pom.xml
##########
@@ -147,6 +147,24 @@
       <groupId>com.sun.jersey</groupId>
       <artifactId>jersey-json</artifactId>
       <scope>compile</scope>
+      <exclusions>
+        <exclusion>
+          <groupId>org.codehaus.jackson</groupId>
+          <artifactId>jackson-core-asl</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.codehaus.jackson</groupId>
+          <artifactId>jackson-mapper-asl</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.codehaus.jackson</groupId>
+          <artifactId>jackson-jaxrs</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.codehaus.jackson</groupId>
+          <artifactId>jackson-xc</artifactId>
+        </exclusion>
+      </exclusions>

Review comment:
       This is required to avoid dependency convergence issue:
   
   ```
   Dependency convergence error for 
org.codehaus.jackson:jackson-mapper-asl:1.9.2 paths to dependency are:
   +-org.apache.hadoop:hadoop-common:3.4.0-SNAPSHOT
     +-com.sun.jersey:jersey-json:1.19
       +-org.codehaus.jackson:jackson-mapper-asl:1.9.2
   and
   +-org.apache.hadoop:hadoop-common:3.4.0-SNAPSHOT
     +-com.sun.jersey:jersey-json:1.19
       +-org.codehaus.jackson:jackson-jaxrs:1.9.2
         +-org.codehaus.jackson:jackson-mapper-asl:1.9.2
   and
   +-org.apache.hadoop:hadoop-common:3.4.0-SNAPSHOT
     +-com.sun.jersey:jersey-json:1.19
       +-org.codehaus.jackson:jackson-xc:1.9.2
         +-org.codehaus.jackson:jackson-mapper-asl:1.9.2
   and
   +-org.apache.hadoop:hadoop-common:3.4.0-SNAPSHOT
     +-org.apache.avro:avro:1.7.7
       +-org.codehaus.jackson:jackson-mapper-asl:1.9.13
   
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 695075)
    Time Spent: 1h 50m  (was: 1h 40m)

> Prune Jackson 1 from the codebase and restrict it's usage for future
> --------------------------------------------------------------------
>
>                 Key: HADOOP-16908
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16908
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Wei-Chiu Chuang
>            Assignee: Viraj Jasani
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> The jackson 1 code has silently creeped into the Hadoop codebase again. We 
> should prune them out.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to