You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tez.apache.org by "László Bodor (Jira)" <ji...@apache.org> on 2022/11/17 09:56:00 UTC

[jira] [Resolved] (TEZ-4227) Introduce convenient methods in TezID subclasses

     [ https://issues.apache.org/jira/browse/TEZ-4227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

László Bodor resolved TEZ-4227.
-------------------------------
    Resolution: Fixed

> 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 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.10#820010)