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

László Bodor updated TEZ-4227:
------------------------------
    Description: 
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().

  was:
Codebase is full of long call chains like:
{code}
taskAttemptID.getTaskID().getVertexID().getDAGId()
{code}
I think, with some 


> 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
>            Priority: Major
>
> 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.3.4#803005)

Reply via email to