[ https://issues.apache.org/jira/browse/TEZ-4170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17118161#comment-17118161 ]
Ashutosh Chauhan commented on TEZ-4170: --------------------------------------- [~rajesh.balamohan] can you please review this one? > RootInputInitializerManager could make use of ThreadPool from appContext > ------------------------------------------------------------------------ > > Key: TEZ-4170 > URL: https://issues.apache.org/jira/browse/TEZ-4170 > Project: Apache Tez > Issue Type: Improvement > Reporter: Rajesh Balamohan > Assignee: Attila Magyar > Priority: Major > Attachments: Screenshot 2020-05-06 at 6.26.34 AM.png, > TEZ-4170.1.patch, TEZ-4170.2.patch, TEZ-4170.3.patch, TEZ-4170.4.patch, > TEZ-4170.5.patch, TEZ-4170.6.patch > > > [https://github.com/apache/tez/blob/master/tez-dag/src/main/java/org/apache/tez/dag/app/dag/RootInputInitializerManager.java#L106] > > This could make use of executor from {{appContext}} instead of spinning one > for every root input. > > Also, initialization part of InputInitializer could be moved inside this > thread. For e.g, in certain cases like HiveSplitGenerator, it ends up with > some heavy operations which can be offloaded from blocking central dispatcher > thread (e.g unpacking payloads, running kryo deserialization) > > !Screenshot 2020-05-06 at 6.26.34 AM.png|width=972,height=740! > > -- This message was sent by Atlassian Jira (v8.3.4#803005)