LuciferYang commented on code in PR #40598: URL: https://github.com/apache/spark/pull/40598#discussion_r1152946827
########## common/network-common/src/main/java/org/apache/spark/network/util/JavaUtils.java: ########## @@ -373,18 +373,22 @@ public static byte[] bufferToArray(ByteBuffer buffer) { * The directory will be automatically deleted when the VM shuts down. */ public static File createTempDir() throws IOException { Review Comment: If we do not want to add this API, we can uniformly expand it into `JavaUtils.createTempDir(System.getProperty("java.io.tmpdir"), "spark")` at the place where it is called -- 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