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

Bikas Saha commented on TEZ-1320:
---------------------------------

The patch looks fine except for the following that should be retained in the 
tests. Its important to test this.
{code}       verify(yarnClient, times(1)).submitApplication(captor.capture());
-      Assert.assertEquals(appId1, dagClient.getApplicationId());{code}

Pig and Hive use this (mostly for logging and UI) I think. So not sure about 
removing this because they use it for users to point users to the application  
for debugging. So not sure about removing it. If we do remove this then we 
should add something like dagClient.getExecutionContext() that provides a 
string that can be used for logging.

> Remove getApplicationId from DAGClient
> --------------------------------------
>
>                 Key: TEZ-1320
>                 URL: https://issues.apache.org/jira/browse/TEZ-1320
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: Siddharth Seth
>            Assignee: Jonathan Eagles
>            Priority: Blocker
>         Attachments: TEZ-1320-v1.patch
>
>
> We should either get rid of this, or convert it to a String. Not sure why 
> this API needs to be exposed.



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

Reply via email to