[
https://issues.apache.org/jira/browse/TEZ-3476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16691242#comment-16691242
]
Kuhu Shukla commented on TEZ-3476:
----------------------------------
I am sorry for the late reply [~jeagles]. Thank you for the comments! I have
been trying to do some more testing on this patch.
bq.Do attempt times now include container launch time?
Yes.
bq. Will speculation continue to be fair where attempts that required launching
a container can be compared with attempts that reused a container?
If the initial container startup takes time, the task attempt would be
speculated and any task attempt that used an already running container won't be
speculated based on container startup slowness as that would be absent. This
patches introduces that behavior.
bq. Does this patch support the design principle in Tez to separate container
and task?
For the purposes of task submission event being sent earlier, I do not think it
breaks the above mentioned separation except the time accounting and allowing
speculation. Please correct me if I did not catch the question correctly.
I will post some more test results soon.
> Need a way to account for container localization.
> -------------------------------------------------
>
> Key: TEZ-3476
> URL: https://issues.apache.org/jira/browse/TEZ-3476
> Project: Apache Tez
> Issue Type: Bug
> Reporter: Eric Payne
> Assignee: Kuhu Shukla
> Priority: Major
> Attachments: TEZ-3476.001.patch
>
>
> Tez task attempt start times don't reflect time spent in localization.
> In the MapReduce framework, the time spent in localization was included in
> the total runtime of each task attempt. But since Tez reuses containers, the
> time spent localizing for a container is not captured. The start time of the
> first attempt in that container will only be set after the localization has
> completed.
> The result is that attempts can appear as if they are not being run even
> though there are resources available in the queue. An attempt can be assigned
> to a container, but if the container is on a slow node and it takes a long
> time to localize, the attempt state will remain pending until localization
> completes.
> The impact risk is that tasks will not speculate during localization since
> they haven't started
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)