1996fanrui commented on code in PR #21960:
URL: https://github.com/apache/flink/pull/21960#discussion_r1109958093
##########
flink-runtime/src/test/java/org/apache/flink/runtime/testutils/MiniClusterResource.java:
##########
@@ -199,6 +200,9 @@ private void startMiniCluster() throws Exception {
new
Configuration(miniClusterResourceConfiguration.getConfiguration());
configuration.setString(
CoreOptions.TMP_DIRS,
temporaryFolder.newFolder().getAbsolutePath());
+ configuration.set(
+ CheckpointingOptions.CHECKPOINTS_DIRECTORY,
+ temporaryFolder.newFolder().toURI().toString());
Review Comment:
Unaligned checkpoint or change log state backend are enabled in the
`TestStreamEnvironment#randomizeConfiguration`. And I see a large number of
tests calling `FsStateChangelogStorageFactory.configure()` to Configure DFS
DSTL in FLINK-23279, including:
`StateChangelogOptions.STATE_CHANGE_LOG_STORAGE` and
`FsStateChangelogOptions.BASE_PATH`.
If we are worried about increasing the running time, we can set
`CheckpointingOptions.CHECKPOINT_STORAGE` and
`CheckpointingOptions.CHECKPOINTS_DIRECTORY` in a similar way, what do you
think?
--
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]