[ 
https://issues.apache.org/jira/browse/SPARK-52299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yang Jie updated SPARK-52299:
-----------------------------
    Description: 
{code:java}
[WARNING] [Warn] 
/Users/yangjie01/spark/core/src/main/scala/org/apache/spark/util/JsonProtocol.scala:1026:
 method fields in class JsonNode is deprecated Applicable -Wconf / @nowarn 
filters for this warning: msg=<part of the message>, cat=deprecation, 
site=org.apache.spark.util.JsonProtocol.taskResourceRequestMapFromJson, 
origin=com.fasterxml.jackson.databind.JsonNode.fields [WARNING] [Warn] 
/Users/yangjie01/spark/core/src/main/scala/org/apache/spark/util/JsonProtocol.scala:1033:
 method fields in class JsonNode is deprecated Applicable -Wconf / @nowarn 
filters for this warning: msg=<part of the message>, cat=deprecation, 
site=org.apache.spark.util.JsonProtocol.executorResourceRequestMapFromJson, 
origin=com.fasterxml.jackson.databind.JsonNode.fields [WARNING] [Warn] 
/Users/yangjie01/spark/core/src/main/scala/org/apache/spark/util/JsonProtocol.scala:1546:
 method fields in class JsonNode is deprecated Applicable -Wconf / @nowarn 
filters for this warning: msg=<part of the message>, cat=deprecation, 
site=org.apache.spark.util.JsonProtocol.resourcesMapFromJson, 
origin=com.fasterxml.jackson.databind.JsonNode.fields [WARNING] [Warn] 
/Users/yangjie01/spark/core/src/main/scala/org/apache/spark/util/JsonProtocol.scala:1558:
 method fields in class JsonNode is deprecated Applicable -Wconf / @nowarn 
filters for this warning: msg=<part of the message>, cat=deprecation, 
site=org.apache.spark.util.JsonProtocol.mapFromJson, 
origin=com.fasterxml.jackson.databind.JsonNode.fields{code}
 

 

should use `com.fasterxml.jackson.databind.JsonNode#properties` instead of 
`com.fasterxml.jackson.databind.JsonNode.fields`

  was:
{code:java}
[WARNING] [Warn] 
/Users/yangjie01/spark/core/src/main/scala/org/apache/spark/util/JsonProtocol.scala:1026:
 method fields in class JsonNode is deprecated Applicable -Wconf / @nowarn 
filters for this warning: msg=<part of the message>, cat=deprecation, 
site=org.apache.spark.util.JsonProtocol.taskResourceRequestMapFromJson, 
origin=com.fasterxml.jackson.databind.JsonNode.fields [WARNING] [Warn] 
/Users/yangjie01/spark/core/src/main/scala/org/apache/spark/util/JsonProtocol.scala:1033:
 method fields in class JsonNode is deprecated Applicable -Wconf / @nowarn 
filters for this warning: msg=<part of the message>, cat=deprecation, 
site=org.apache.spark.util.JsonProtocol.executorResourceRequestMapFromJson, 
origin=com.fasterxml.jackson.databind.JsonNode.fields [WARNING] [Warn] 
/Users/yangjie01/spark/core/src/main/scala/org/apache/spark/util/JsonProtocol.scala:1546:
 method fields in class JsonNode is deprecated Applicable -Wconf / @nowarn 
filters for this warning: msg=<part of the message>, cat=deprecation, 
site=org.apache.spark.util.JsonProtocol.resourcesMapFromJson, 
origin=com.fasterxml.jackson.databind.JsonNode.fields [WARNING] [Warn] 
/Users/yangjie01/spark/core/src/main/scala/org/apache/spark/util/JsonProtocol.scala:1558:
 method fields in class JsonNode is deprecated Applicable -Wconf / @nowarn 
filters for this warning: msg=<part of the message>, cat=deprecation, 
site=org.apache.spark.util.JsonProtocol.mapFromJson, 
origin=com.fasterxml.jackson.databind.JsonNode.fields{code}


> Clean up the usage of deprecated APIs related to Jackson
> --------------------------------------------------------
>
>                 Key: SPARK-52299
>                 URL: https://issues.apache.org/jira/browse/SPARK-52299
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 4.1.0
>            Reporter: Yang Jie
>            Priority: Minor
>
> {code:java}
> [WARNING] [Warn] 
> /Users/yangjie01/spark/core/src/main/scala/org/apache/spark/util/JsonProtocol.scala:1026:
>  method fields in class JsonNode is deprecated Applicable -Wconf / @nowarn 
> filters for this warning: msg=<part of the message>, cat=deprecation, 
> site=org.apache.spark.util.JsonProtocol.taskResourceRequestMapFromJson, 
> origin=com.fasterxml.jackson.databind.JsonNode.fields [WARNING] [Warn] 
> /Users/yangjie01/spark/core/src/main/scala/org/apache/spark/util/JsonProtocol.scala:1033:
>  method fields in class JsonNode is deprecated Applicable -Wconf / @nowarn 
> filters for this warning: msg=<part of the message>, cat=deprecation, 
> site=org.apache.spark.util.JsonProtocol.executorResourceRequestMapFromJson, 
> origin=com.fasterxml.jackson.databind.JsonNode.fields [WARNING] [Warn] 
> /Users/yangjie01/spark/core/src/main/scala/org/apache/spark/util/JsonProtocol.scala:1546:
>  method fields in class JsonNode is deprecated Applicable -Wconf / @nowarn 
> filters for this warning: msg=<part of the message>, cat=deprecation, 
> site=org.apache.spark.util.JsonProtocol.resourcesMapFromJson, 
> origin=com.fasterxml.jackson.databind.JsonNode.fields [WARNING] [Warn] 
> /Users/yangjie01/spark/core/src/main/scala/org/apache/spark/util/JsonProtocol.scala:1558:
>  method fields in class JsonNode is deprecated Applicable -Wconf / @nowarn 
> filters for this warning: msg=<part of the message>, cat=deprecation, 
> site=org.apache.spark.util.JsonProtocol.mapFromJson, 
> origin=com.fasterxml.jackson.databind.JsonNode.fields{code}
>  
>  
> should use `com.fasterxml.jackson.databind.JsonNode#properties` instead of 
> `com.fasterxml.jackson.databind.JsonNode.fields`



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to