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

Naganarasimha G R commented on YARN-5423:
-----------------------------------------

[~vvasudev], In our scenario In OM side we were ensuring before deleteting the 
user any running apps are deleted, but in a general case would suggest that we 
can return with a error code when application initialization fails in NM for a 
given user and if its the reason for different ID, then we can check whether 
any containers are running for this user and if not then we can delete the 
folder recursively. Also if the user is deleted whether any further 
operations(like log aggregation, in Mapred case writing intermediate 
folders/files etc) will get successfully completed ? 
IMO atleast appropriate error message needs to be displayed (which is missing 
currently) and if possible to handle it gradaully if not immediately, thoughts? 

> Yarn applications are failing when job submitter use is re-created in OS.
> -------------------------------------------------------------------------
>
>                 Key: YARN-5423
>                 URL: https://issues.apache.org/jira/browse/YARN-5423
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: applications
>    Affects Versions: 2.7.1
>            Reporter: Surendra Singh Lilhore
>
> When we re-create user in OS, user ID may change. If we run application from 
> the same user again, application will not able to write data in user NM local 
> directory



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to