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

Bikas Saha commented on TEZ-2840:
---------------------------------

[~sershe] Could you please explain what exactly happened. MRInputLegacy derives 
from MRInput. So, during Tez task input initialization, 
MRInputLegacy.initialize() is called by Tez then MRInput.initialize() would be 
called and this would setup splitInfoViaEvents. Later, when Hive invokes 
Legacy.init() which invokes initializeInternal(), then splitInfoViaEvents 
should be set already. Its volatile - so visibility is thread safe. What did 
you see in your scenario?

> MRInputLegacy.init should set splitInfoViaEvents
> ------------------------------------------------
>
>                 Key: TEZ-2840
>                 URL: https://issues.apache.org/jira/browse/TEZ-2840
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 0.7.1, 0.8.1
>
>         Attachments: TEZ-2840.patch
>
>
> Only one path that uses initializeInternal and thus this field actually sets 
> it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to