You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "pralabhkumar (Jira)" <ji...@apache.org> on 2022/05/05 17:30:00 UTC
[jira] [Commented] (SPARK-39102) Replace the usage of guava's Files.createTempDir() with java.nio.file.Files.createTempDirectory()
[ https://issues.apache.org/jira/browse/SPARK-39102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17532443#comment-17532443 ]
pralabhkumar commented on SPARK-39102:
--------------------------------------
ping [~hyukjin.kwon]
> Replace the usage of guava's Files.createTempDir() with java.nio.file.Files.createTempDirectory()
> --------------------------------------------------------------------------------------------------
>
> Key: SPARK-39102
> URL: https://issues.apache.org/jira/browse/SPARK-39102
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 3.2.0, 3.2.1, 3.4.0
> Reporter: pralabhkumar
> Priority: Minor
>
> Hi
> There are several classes where Spark is using guava's Files.createTempDir() which have vulnerabilities. I think its better to move to java.nio.file.Files.createTempDirectory() for those classes.
> Classes
> Java8RDDAPISuite
> JavaAPISuite.java
> RPackageUtilsSuite
> StreamTestHelper
> TestShuffleDataContext
> ExternalBlockHandlerSuite
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org