[
https://issues.apache.org/jira/browse/TEZ-4227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
László Bodor reassigned TEZ-4227:
---------------------------------
Assignee: Hankó Gergely
> Introduce convenient methods in TezID subclasses
> -------------------------------------------------
>
> Key: TEZ-4227
> URL: https://issues.apache.org/jira/browse/TEZ-4227
> Project: Apache Tez
> Issue Type: Improvement
> Reporter: László Bodor
> Assignee: Hankó Gergely
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Codebase is full of long call chains like:
> {code}
> taskAttemptID.getTaskID().getVertexID().getDAGId()
> {code}
> I think, with more convenient API methods we can avoid these calls in the
> codebase.
> A taskattempt->task->vertex->dag relation is somewhat constant, so e.g. we
> should have access to the dag through taskattempt.getDAGId().
--
This message was sent by Atlassian Jira
(v8.20.1#820001)