[ 
https://issues.apache.org/jira/browse/TEZ-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14085280#comment-14085280
 ] 

Bikas Saha commented on TEZ-1072:
---------------------------------

{code}
  public abstract DAGStatus waitForCompletion() throws IOException, 
TezException;
  public abstract DAGStatus waitForCompletionWithStatusUpdates(@Nullable 
Set<Vertex> vertices,
      @Nullable Set<StatusGetOpts> statusGetOpts) throws IOException, 
TezException;
  public abstract DAGStatus waitForCompletionWithAllStatusUpdates(@Nullable 
Set<StatusGetOpts> statusGetOpts)
      throws IOException, TezException;
{code}
The first one is meant for brevity. Wait and log nothing.
The second/third are meant for logging. There are 2 options - what to log and 
for which vertex. Is the suggestion to merge 2 and 3 by saying we either log 
nothing or log for every vertex?

> Consolidate monitoring APIs in DAGClient
> ----------------------------------------
>
>                 Key: TEZ-1072
>                 URL: https://issues.apache.org/jira/browse/TEZ-1072
>             Project: Apache Tez
>          Issue Type: Improvement
>            Reporter: Siddharth Seth
>            Priority: Blocker
>              Labels: api
>         Attachments: TEZ-1072-DAGCLIENTUTILS-v1.patch
>
>
> Rename waitForCompletionWithAllStatusUpdates - was this meant to be 
> waitForCompletionWithAllVertexUpdates
> Reduce the number of methods exposed - waitForCompletion, 
> waitForCompletionWithStatusUpdates(@Nullable Set<Vertex> vertices,
>       @Nullable Set<StatusGetOpts> statusGetOpts), 
> waitForCompletionWithAllStatusUpdates(@Nullable Set<StatusGetOpts> 
> statusGetOpts)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to