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

ASF GitHub Bot commented on HADOOP-19231:
-----------------------------------------

pjfanning opened a new pull request, #6998:
URL: https://github.com/apache/hadoop/pull/6998

   New class org.apache.hadoop.util.JacksonUtil centralizes construction of 
Jackson ObjectMappers and JsonFactories.
   
   <!--
     Thanks for sending a pull request!
       1. If this is your first time, please read our contributor guidelines: 
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
       2. Make sure your PR title starts with JIRA issue id, e.g., 
'HADOOP-17799. Your PR title ...'.
   -->
   
   ### Description of PR
   
   Backport #6953
   
   ### How was this patch tested?
   
   
   ### For code changes:
   
   - [x] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'HADOOP-17799. Your PR title ...')?
   - [ ] Object storage: have the integration tests been executed and the 
endpoint declared according to the connector-specific documentation?
   - [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, 
`NOTICE-binary` files?
   
   




> add JacksonUtil to centralise some code
> ---------------------------------------
>
>                 Key: HADOOP-19231
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19231
>             Project: Hadoop Common
>          Issue Type: Task
>    Affects Versions: 3.4.0, 3.4.1
>            Reporter: PJ Fanning
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.5.0
>
>
> To future proof Hadoop against Jackson changes, it makes sense to not just 
> create ObjectMappers and JsonFactories in many different places in the Hadoop 
> code.
> One of the main drivers of this is 
> https://www.javadoc.io/doc/com.fasterxml.jackson.core/jackson-core/latest/com/fasterxml/jackson/core/StreamReadConstraints.html
>  
> Jackson 3 (not yet scheduled for release) has some fairly big API and 
> behaviour changes too.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to