You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "L. C. Hsieh (Jira)" <ji...@apache.org> on 2022/07/15 02:29:00 UTC

[jira] [Resolved] (SPARK-39785) Use setBufferedIo instead of withBufferedIo to cleanup log4j2 deprecated api usage

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

L. C. Hsieh resolved SPARK-39785.
---------------------------------
    Fix Version/s: 3.4.0
       Resolution: Fixed

Issue resolved by pull request 37193
[https://github.com/apache/spark/pull/37193]

> Use setBufferedIo instead of withBufferedIo to cleanup log4j2 deprecated api usage
> ----------------------------------------------------------------------------------
>
>                 Key: SPARK-39785
>                 URL: https://issues.apache.org/jira/browse/SPARK-39785
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 3.4.0
>            Reporter: Yang Jie
>            Assignee: Yang Jie
>            Priority: Minor
>             Fix For: 3.4.0
>
>
>  fix the following log4j2 compilation warning
> {code:java}
> [WARNING] /basedir/spark-source/core/src/main/scala/org/apache/spark/util/logging/DriverLogger.scala:69: [deprecation @ org.apache.spark.util.logging.DriverLogger.addLogAppender.log4jFileAppender | origin=org.apache.logging.log4j.core.appender.AbstractOutputStreamAppender.Builder.withBufferedIo | version=] method withBufferedIo in class Builder is deprecated
>  {code}



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

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