[
https://issues.apache.org/jira/browse/SPARK-36456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun closed SPARK-36456.
---------------------------------
> 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
> Priority: Minor
>
> 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: [email protected]
For additional commands, e-mail: [email protected]