Skip to content

Commit

Permalink
set java.io.tmpdir
Browse files Browse the repository at this point in the history
  • Loading branch information
cfmcgrady committed Jul 28, 2023
1 parent 9e78f0d commit 81a2f08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public class DataPushQueueSuitJ {
@BeforeClass
public static void beforeAll() {
tempDir = Utils.createTempDir(System.getProperty("java.io.tmpdir"), "celeborn_test");
System.out.println("temp dir: " + tempDir.toPath());
}

@AfterClass
Expand Down
3 changes: 2 additions & 1 deletion project/CelebornBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ object CelebornCommonSettings {
"--add-opens=java.base/sun.nio.cs=ALL-UNNAMED",
"--add-opens=java.base/sun.security.action=ALL-UNNAMED",
"--add-opens=java.base/sun.util.calendar=ALL-UNNAMED",
"-Dio.netty.tryReflectionSetAccessible=true"
"-Dio.netty.tryReflectionSetAccessible=true",
s"-Djava.io.tmpdir=${target.value}/tmp"
),

testOptions += Tests.Argument("-oF"),
Expand Down

0 comments on commit 81a2f08

Please sign in to comment.