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

Jason Lowe commented on MAPREDUCE-4938:
---------------------------------------

This is fixed by YARN-3131 since application submit will wait until the app 
reaches the ACCEPTED state or later before returning.  Submissions to unknown 
queues won't make it to the ACCEPTED state so the client will see the exception 
and cleanup the staging directory.

> Job submission to unknown queue can leave staging directory behind
> ------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4938
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4938
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 2.0.3-alpha, 0.23.5
>            Reporter: Jason Lowe
>
> There is a race where submitting a job to an unknown queue can appear to 
> succeed to the client and then subsequently fail later.  Since there was no 
> AM ever launched, there was nothing left to cleanup the staging directory.  
> At that point the client is the only thing that can cleanup the staging 
> directory.



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

Reply via email to