In the Configuration section of the docs
<https://ci.apache.org/projects/flink/flink-docs-release-1.8/ops/config.html#taskmanager>,
the description for "taskmanager.heap.size" contains: "On YARN setups, this
value is automatically configured to the size of the TaskManager's YARN
container, minus a certain tolerance value."

Does that functionality exist?

I don't see any documented method to specify the YARN container size for
the TaskManagers, nor could I find any logic in the Flink YARN integration
code that seemed to implement that behavior.

My understanding is that you need to manually calculate and specify
taskmanager.heap.size
(and jobmanager.heap.size) based on your YARN setup.

Thanks,
Dylan

Reply via email to