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

Harish Jaiprakash commented on TEZ-3007:
----------------------------------------

The state ENDED is not available in hadoop 2.7 branch. Which would mean 
extending Shim to provide this, but the shim cannot access DAGAppMasterState 
since its part of tez-dag and tez-dag already depends on hadoop-shim, so I'll 
not be able to pass DAGAppMasterState. Shall I just blindly map, previous 
FinalApplicationStatus.FAILED and FinalApplicationStatus.SUCCEEDED to 
FinalApplicationStatus.ENDED in the Hadoop28 shim?

> Use AppFinalState.ENDED when unregistering with the RM in session mode
> ----------------------------------------------------------------------
>
>                 Key: TEZ-3007
>                 URL: https://issues.apache.org/jira/browse/TEZ-3007
>             Project: Apache Tez
>          Issue Type: Improvement
>            Reporter: Siddharth Seth
>            Assignee: Harish Jaiprakash
>
> YARN-4207 adds appFinalState.ENDED. When running in session mode - Tez should 
> make use of this state instead of setting success or failure - since the app 
> final state does not indicate anything about the potentially multiple queries 
> which executed in the app.
> ShimSupport added earlier should facilitate this.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to