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

Hitesh Shah commented on TEZ-2081:
----------------------------------

The general logic should be to check the AM first on dag completion.
If the AM is not reachable, there are 2 options - both of which involve 
checking app completion:
   
1) Check RM for app state.
   - If RM does not have app, it means app complete but with final state unknown
   - If RM is not reachable, it does not mean anything.
2) Check AHS for app state if AHS enabled

\cc [~jeagles] [[email protected]]

> Tez UI: need mechanism to check if app has completed
> ----------------------------------------------------
>
>                 Key: TEZ-2081
>                 URL: https://issues.apache.org/jira/browse/TEZ-2081
>             Project: Apache Tez
>          Issue Type: Bug
>          Components: UI
>            Reporter: Prakash Ramachandran
>            Assignee: Sreenath Somarajapuram
>
> TEZ-2078 fixes the issue of showing the download link for logs only when app 
> has completed. currently the ATS data about the app completing is used. 
> however this is available only if the 
> yarn.resourcemanager.system-metrics-publisher.enabled is true.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to