srowen commented on code in PR #40613:
URL: https://github.com/apache/spark/pull/40613#discussion_r1155113334
##########
core/src/test/java/test/org/apache/spark/Java8RDDAPISuite.java:
##########
@@ -246,7 +246,7 @@ public void mapPartitions() {
@Test
public void sequenceFile() throws IOException {
- File tempDir = JavaUtils.createTempDir();
+ File tempDir = Utils.createTempDir(System.getProperty("java.io.tmpdir"),
"spark");
Review Comment:
I think this is OK; we can also add an overload of createTempDir so that
Java can call this without repeating the arguments, but it's not a big deal
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]