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

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

pjfanning commented on PR #8654:
URL: https://github.com/apache/hadoop/pull/8654#issuecomment-5344803568

   @pan3793 I'd prefer to keep the jackson changes in most places but this 
RBFMetrics use case feels like it might be best off being fixed by going back 
to the Jetty JSON behaviour. I could inline a cut down version of the jetty 9.4 
class.
   
https://github.com/pjfanning/jetty/blob/jetty-9.4.x/jetty-util-ajax/src/main/java/org/eclipse/jetty/util/ajax/JSON.java
   
   I know it's a big enough class but it looks manageable enough. I could 
revert some of the Jackson related changes in the hadoop-hdfs-rbf module.




> Drop use of jetty-util-ajax and use jackson instead
> ---------------------------------------------------
>
>                 Key: HADOOP-19951
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19951
>             Project: Hadoop Common
>          Issue Type: Task
>            Reporter: PJ Fanning
>            Priority: Major
>              Labels: pull-request-available
>
> Hadoop uses jetty-util-ajax in a few modules to read and write JSON.
> This is a part of HADOOP-19912 that can be split out and it doesn't cause the 
> same issues with worrying about jar compatibilities - it actually simplifies 
> the build by removing a direct dependency.
> The aim here is to reduce the number of ways that Hadoop works with JSON and 
> Jackson is more commonly used in Hadoop than jetty-util-ajax.



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