adoroszlai opened a new pull request, #7994:
URL: https://github.com/apache/ozone/pull/7994

   ## What changes were proposed in this pull request?
   
   Dependency on `org.codehaus.jackson` (Jackson v1) is only for Ranger, should 
not be used in Ozone itself.
   
   - replace usage in `QuotaRepairTask`
   - ban import
   
   https://issues.apache.org/jira/browse/HDDS-12448
   
   ## How was this patch tested?
   
   Tested import ban without the fix in `QuotaRepairTask`:
   
   ```
   [ERROR] Banned imports detected:
   [ERROR] 
   [ERROR] Reason: Use Jackson 2 (com.fasterxml.jackson)
   [ERROR]      in 
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/QuotaRepairTask.java
   [ERROR]              org.codehaus.jackson.map.ObjectMapper   (Line: 60, 
Matched by: org.codehaus.jackson.**)
   ```
   
   Existing tests: `TestOzoneRepairShell`, `TestQuotaRepairTask`.
   
   CI:
   https://github.com/adoroszlai/ozone/actions/runs/13602780164


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


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

Reply via email to