[
https://issues.apache.org/jira/browse/TEZ-4238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17208530#comment-17208530
]
László Bodor commented on TEZ-4238:
-----------------------------------
thanks [~jeagles], it makes sense and cannot hurt, I'll commit with the
proposed change ( [^TEZ-4238.02.patch] )
> Check null mrReader in MRInput.close
> ------------------------------------
>
> Key: TEZ-4238
> URL: https://issues.apache.org/jira/browse/TEZ-4238
> Project: Apache Tez
> Issue Type: Improvement
> Reporter: László Bodor
> Assignee: László Bodor
> Priority: Major
> Fix For: 0.10.1
>
> Attachments: TEZ-4238.01.patch, TEZ-4238.02.patch
>
>
> In HIVE-24207, an optimization is introduced on task side, where a task can
> exit quickly if it's needed according to an object cache value, which
> reflects the current records already pushed through the limit operator.
> The AM side optimization will more likely be TEZ-2103 for this scenario.
> Early exit can cause uninitialized inputs, that's what this patch is meant to
> solve.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)