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 05:44:00 UTC

[jira] [Created] (SPARK-39102) Replace the usage of guava's Files.createTempDir() with java.nio.file.Files.createTempDirectory()

pralabhkumar created SPARK-39102:
------------------------------------

             Summary: 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.1, 3.2.0, 3.4.0
            Reporter: pralabhkumar


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