[
https://issues.apache.org/jira/browse/TEZ-4227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17635259#comment-17635259
]
László Bodor commented on TEZ-4227:
-----------------------------------
thanks for the patch [~ghanko], I'm closing this as well as
https://github.com/apache/tez/pull/185 PR for branch-0.9
I believe it's not important to keep those branches synced this way, I tend to
backport only issue fixes to 0.9
> 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
> Fix For: 0.10.3
>
> Time Spent: 3h 10m
> 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.10#820010)