refactor(launcher): 增加flink的非jvm内存配置
This commit is contained in:
@@ -307,6 +307,9 @@ public class ExecutorService {
|
||||
configuration.set(TaskManagerOptions.TOTAL_FLINK_MEMORY, taskMemorySize);
|
||||
configuration.set(TaskManagerOptions.MANAGED_MEMORY_SIZE, MemorySize.parse("0m"));
|
||||
|
||||
configuration.set(TaskManagerOptions.TASK_OFF_HEAP_MEMORY, MemorySize.parse("128m"));
|
||||
configuration.set(TaskManagerOptions.FRAMEWORK_OFF_HEAP_MEMORY, MemorySize.parse("512m"));
|
||||
|
||||
configuration.setInteger(TaskManagerOptions.NUM_TASK_SLOTS, 10);
|
||||
|
||||
configuration.setString(YarnConfigOptions.APPLICATION_NAME, NameHelper.compactionJobName(flinkJob.getId(), tableMeta.getAlias()));
|
||||
|
||||
Reference in New Issue
Block a user