[
https://issues.apache.org/jira/browse/HIVE-11518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Navis updated HIVE-11518:
-------------------------
Attachment: HIVE-11518.2.patch.txt
Rebased to trunk
> Provide interface to adjust required resource for tez tasks
> -----------------------------------------------------------
>
> Key: HIVE-11518
> URL: https://issues.apache.org/jira/browse/HIVE-11518
> Project: Hive
> Issue Type: Improvement
> Components: Query Processor
> Reporter: Navis
> Assignee: Navis
> Priority: Minor
> Attachments: HIVE-11518.1.patch.txt, HIVE-11518.2.patch.txt
>
>
> Resource requirements for each tasks are varied but currently it's fixed to
> one value(via hive.tez.container.size). It would be good to customize
> resource requirements appropriate to expected work.
> Suggested interface is quite simple.
> {code}
> public interface ResourceCalculator {
> Resource adjust(Resource resource, MapWork mapWork);
> Resource adjust(Resource resource, ReduceWork reduceWork);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)