[ 
https://issues.apache.org/jira/browse/TEZ-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14077210#comment-14077210
 ] 

Bikas Saha commented on TEZ-1303:
---------------------------------

For that we can add a new API to updateNumPhysicalInputs() at a later point.

> Change I/P/O/etc construction to make use of contexts
> -----------------------------------------------------
>
>                 Key: TEZ-1303
>                 URL: https://issues.apache.org/jira/browse/TEZ-1303
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: Siddharth Seth
>            Priority: Blocker
>         Attachments: TEZ-1303.1.wip.txt
>
>
> Instead of having an empty constructor and setting the context via an 
> initialize method - thus allowing the context to be accessed via a final 
> field.
> Using initialize causes potential issues with visibility since object 
> creation, initialize and access can be on completely different threads.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to