link3280 commented on code in PR #20159:
URL: https://github.com/apache/flink/pull/20159#discussion_r924226857
##########
flink-table/flink-sql-client/src/test/java/org/apache/flink/table/client/gateway/local/LocalExecutorITCase.java:
##########
@@ -115,6 +121,14 @@ private static Configuration getConfig() {
config.setInteger(ConfigConstants.LOCAL_NUMBER_TASK_MANAGER, NUM_TMS);
config.setInteger(TaskManagerOptions.NUM_TASK_SLOTS, NUM_SLOTS_PER_TM);
config.setBoolean(WebOptions.SUBMIT_ENABLE, false);
+ config.set(StateBackendOptions.STATE_BACKEND, "hashmap");
+ config.set(CheckpointingOptions.CHECKPOINT_STORAGE, "filesystem");
+ config.set(
+ CheckpointingOptions.CHECKPOINTS_DIRECTORY,
+
Paths.get(System.getProperty("java.io.tmpdir")).toUri().toString());
+ config.set(
+ CheckpointingOptions.SAVEPOINT_DIRECTORY,
+
Paths.get(System.getProperty("java.io.tmpdir")).toUri().toString());
Review Comment:
Cause temporary folders could not be used in static blocks, as they're not
initialized yet.
--
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]