[
https://issues.apache.org/jira/browse/TEZ-1941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Siddharth Seth updated TEZ-1941:
--------------------------------
Attachment: TEZ-1941.2.txt
The ExecutionContext is supposed to be shared by multiple tasks within a JVM.
Maybe it needs a rename to be more clear. Updated the javadocs for
ExecutionContext.
Since that's per jvm - settting memory in it isn't an option, since it needs to
be task specific.
> Memory provided by *Context.getAvailableMemory needs to be setup explicitly
> ---------------------------------------------------------------------------
>
> Key: TEZ-1941
> URL: https://issues.apache.org/jira/browse/TEZ-1941
> Project: Apache Tez
> Issue Type: Sub-task
> Reporter: Siddharth Seth
> Assignee: Siddharth Seth
> Attachments: TEZ-1941.1.txt, TEZ-1941.2.txt
>
>
> *Contexts.getAvailableMemory rely on Runtime..getMaxMemory(). This doesn't
> work for memory scaling if multiple tasks are running within a JVM.
> Container sizes (sent over RPC) can be used for setting up this value.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)