[ 
https://issues.apache.org/jira/browse/TEZ-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Harish Jaiprakash updated TEZ-1187:
-----------------------------------
    Attachment: TEZ-1187.06.patch

* Removed all usage of TezSharedExecutor, only exposing them through the 
contexts.
* Accepting a format and using thread id to generate unique thread name.
* Introduced configuration for min and max, but that required Configuration 
object. Which means its no longer a singleton and sharing is gone. Should I 
just introduce static method to initialize a singleton? Ideal way would be to 
pass down from the main method/class. In this case it would be TezChild.

> Share Thread pools between different tasks
> ------------------------------------------
>
>                 Key: TEZ-1187
>                 URL: https://issues.apache.org/jira/browse/TEZ-1187
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: Siddharth Seth
>            Assignee: Harish Jaiprakash
>         Attachments: TEZ-1187.02.patch, TEZ-1187.03.patch, TEZ-1187.04.patch, 
> TEZ-1187.05.patch, TEZ-1187.06.patch, TEZ-1187.WIP.01.patch
>
>
> Thread pools are used all over for fetchers, sort etc. When running a single 
> task - this is already a problem, and gets worse when running multiple tasks.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to