LuciferYang commented on code in PR #36529: URL: https://github.com/apache/spark/pull/36529#discussion_r874332519
########## common/network-common/src/main/java/org/apache/spark/network/util/JavaUtils.java: ########## @@ -362,6 +364,18 @@ public static byte[] bufferToArray(ByteBuffer buffer) { } } + /** + * Create a temporary directory inside `java.io.tmpdir`. The directory will be + * automatically deleted when the VM shuts down. + */ + public static File createTempDir() throws IOException { Review Comment: [SPARK-39204](https://issues.apache.org/jira/browse/SPARK-39204) @attilapiros I will do this later -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org