-
Notifications
You must be signed in to change notification settings - Fork 266
When flink version >= 1.10 , the "taskmanager.heap.size" is not work. #288
Comments
I think we can add "useProcessSize" in taskmanager cr, if flink 1.10, use processsize "true", use resources.limit as "taskmanager.memory.process.size", else use taskmanager.heap.size. |
Thanks for the bug report, but according to the doc, Flink >=1.10 supports/requires both
I think the fix should be that if In addition to the fix, the user can always manually set the property with Does this sound good to you? |
@functicons , Under my tests,When use 'taskmanager.memory.process.size' in flinkProperties, the 'taskmanager.heap.size' will set as "taskmanager.memory.flink.size", Then I describe how I found this problems, |
Actually I couldn't find
Could you show me the log? |
|
Gotcha. What if you specify I think instead of adding a field |
I am also looking into this issue. note: https://ci.apache.org/projects/flink/flink-docs-release-1.11/ops/memory/mem_migration.html It seems to have to be handled differently depending on versions 1.10 and 1.11. |
How about configuring If version <1.10, |
@elanv, I would prefer adding an optional property |
@functicons Sounds good. Do you have any plans to work on this issue? If not, I will to try this because it's a feature we need now. |
@functicons Can we support flinkVersion 1.10, then only support flinkVersion 1.9. And other version set properties accordingly. If you agree, I can working on this issue. |
@Mrart This is an issue my team is interested in. But it would be nice also if you could resolve this issue. |
@elanv I think this issue is not difficult after we disscuss clearly.Do you agree We add flinkVersion ,and support only < flink 1.9 or 1.10 , and other version user can use set properties accordingly? |
I argree to |
I currently don't have bandwidth to work on the fix. You guys can decide who will be working on it. Thanks! |
Ok I will commit this feature tommorrow. |
Share relevant information for those looking for a workround on this issue. The reason flink fails to start in 1.10 and above is due to tighter memory configuration constraint.
note: Flink memory calculation sheet from Flink community |
@functicons I have push to my own branch, not do pr. because I don't have enougph test. |
We have calcute flink memory use "tmMemoryOffHeapRatio" and "tmMemLimitByte' in operator, But it is not work for flink 1.10. flink 1.10 use "taskmanager.memory.process.size" to limit the flink memory.
If we only config "taskmanager.memory.heap.size" in flink 1.10, It will trigger tm container OOM
The text was updated successfully, but these errors were encountered: