You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/09/13 08:36:00 UTC
[jira] [Commented] (SPARK-36456) Clean up the depredation usage of
o.a.c.io.IOUtils.closeQuietly
[ https://issues.apache.org/jira/browse/SPARK-36456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17414022#comment-17414022 ]
Apache Spark commented on SPARK-36456:
--------------------------------------
User 'LuciferYang' has created a pull request for this issue:
https://github.com/apache/spark/pull/33977
> Clean up the depredation usage of o.a.c.io.IOUtils.closeQuietly
> ----------------------------------------------------------------
>
> Key: SPARK-36456
> URL: https://issues.apache.org/jira/browse/SPARK-36456
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core, SQL
> Affects Versions: 3.1.2
> Reporter: Yang Jie
> Assignee: Yang Jie
> Priority: Minor
> Fix For: 3.3.0
>
>
> Compilation warnings related to `method closeQuietly in class IOUtils is deprecated` are as follows:
> {code:java}
> [WARNING] /spark-source/core/src/main/scala/org/apache/spark/storage/BlockManager.scala:344: [deprecation @ org.apache.spark.storage.BlockManager.BlockStoreUpdater.saveDeserializedValuesToMemoryStore | origin=org.apache.commons.io.IOUtils.closeQuietly | version=] method closeQuietly in class IOUtils is deprecated
> [WARNING] /spark-source/core/src/main/scala/org/apache/spark/storage/ShuffleBlockFetcherIterator.scala:1307: [deprecation @ org.apache.spark.storage.BufferReleasingInputStream.tryOrFetchFailedException | origin=org.apache.commons.io.IOUtils.closeQuietly | version=] method closeQuietly in class IOUtils is deprecated
> [WARNING] /spark-source/core/src/main/scala/org/apache/spark/util/Utils.scala:3142: [deprecation @ org.apache.spark.util.Utils.unzipFilesFromFile | origin=org.apache.commons.io.IOUtils.closeQuietly | version=] method closeQuietly in class IOUtils is deprecated
> [WARNING] /spark-source/core/src/main/scala/org/apache/spark/util/Utils.scala:3143: [deprecation @ org.apache.spark.util.Utils.unzipFilesFromFile | origin=org.apache.commons.io.IOUtils.closeQuietly | version=] method closeQuietly in class IOUtils is deprecated
> [WARNING] /spark-source/core/src/main/scala/org/apache/spark/util/logging/RollingFileAppender.scala:97: [deprecation @ org.apache.spark.util.logging.RollingFileAppender.rotateFile | origin=org.apache.commons.io.IOUtils.closeQuietly | version=] method closeQuietly in class IOUtils is deprecated
> [WARNING] /spark-source/core/src/main/scala/org/apache/spark/util/logging/RollingFileAppender.scala:98: [deprecation @ org.apache.spark.util.logging.RollingFileAppender.rotateFile | origin=org.apache.commons.io.IOUtils.closeQuietly | version=] method closeQuietly in class IOUtils is deprecated
> [WARNING] /spark-source/core/src/test/scala/org/apache/spark/util/FileAppenderSuite.scala:383: [deprecation @ org.apache.spark.util.FileAppenderSuite.testRolling.allText.$anonfun | origin=org.apache.commons.io.IOUtils.closeQuietly | version=] method closeQuietly in class IOUtils is deprecated
> [WARNING] /spark-source/core/src/test/scala/org/apache/spark/util/UtilsSuite.scala:248: [deprecation @ org.apache.spark.util.UtilsSuite.<local UtilsSuite>.$anonfun | origin=org.apache.commons.io.IOUtils.closeQuietly | version=] method closeQuietly in class IOUtils is deprecated
> [WARNING] /spark-source/core/src/test/scala/org/apache/spark/util/UtilsSuite.scala:249: [deprecation @ org.apache.spark.util.UtilsSuite.<local UtilsSuite>.$anonfun | origin=org.apache.commons.io.IOUtils.closeQuietly | version=] method closeQuietly in class IOUtils is deprecated
> [WARNING] /spark-source/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/HDFSMetadataLog.scala:150: [deprecation @ org.apache.spark.sql.execution.streaming.HDFSMetadataLog.applyFnToBatchByStream | origin=org.apache.commons.io.IOUtils.closeQuietly | version=] method closeQuietly in class IOUtils is deprecated
> [WARNING] /spark-source/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StreamMetadata.scala:66: [deprecation @ org.apache.spark.sql.execution.streaming.StreamMetadata.read | origin=org.apache.commons.io.IOUtils.closeQuietly | version=] method closeQuietly in class IOUtils is deprecated
> [WARNING] /spark-source/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/HDFSBackedStateStoreProvider.scala:545: [deprecation @ org.apache.spark.sql.execution.streaming.state.HDFSBackedStateStoreProvider.cancelDeltaFile | origin=org.apache.commons.io.IOUtils.closeQuietly | version=] method closeQuietly in class IOUtils is deprecated
> [WARNING] /spark-source/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/RocksDBFileManager.scala:461: [deprecation @ org.apache.spark.sql.execution.streaming.state.RocksDBFileManager.zipToDfsFile | origin=org.apache.commons.io.IOUtils.closeQuietly | version=] method closeQuietly in class IOUtils is deprecated
> [WARNING] /spark-source/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/RocksDBFileManager.scala:462: [deprecation @ org.apache.spark.sql.execution.streaming.state.RocksDBFileManager.zipToDfsFile | origin=org.apache.commons.io.IOUtils.closeQuietly | version=] method closeQuietly in class IOUtils is deprecated
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org