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

Chandni Singh commented on YARN-8667:
-------------------------------------

Before relaunch, container script and container tokens file is deleted from the 
container's working directory.
{code:java}
protected void cleanupContainerFiles(Path containerWorkDir) {
  LOG.debug("cleanup container {} files", containerWorkDir);
  // delete ContainerScriptPath
  deleteAsUser(new Path(containerWorkDir, CONTAINER_SCRIPT));
  // delete TokensPath
  deleteAsUser(new Path(containerWorkDir, FINAL_CONTAINER_TOKENS_FILE));
}{code}
Seems like we might have to delete any symlinks from the container's working 
directory as well?

cc. [~billie.rinaldi] [[email protected]] [~eyang]

> Container Relaunch fails with "find: File system loop detected;" for tar ball 
> artifacts
> ---------------------------------------------------------------------------------------
>
>                 Key: YARN-8667
>                 URL: https://issues.apache.org/jira/browse/YARN-8667
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Rohith Sharma K S
>            Assignee: Chandni Singh
>            Priority: Major
>
> Service is launched with TAR BALL artifacts. If a container is exited due to 
> any reasons, container relaunch policy try to relaunch the container on same 
> node with same container work space. As a result, container relaunch is keep 
> on failing. 
> If container relaunch max-retry policy is disabled, then  container never 
> launched in any other nodes also rather it keep on retrying on same node 
> manager which never succeeds.
> {code}
> Relaunching Container container_e05_1533635581781_0001_01_000002. Remaining 
> retry attempts(after relaunch) : -4816.
> {code}
> There are two issues
> # Container relaunch is keep on failing
> # Log message is misleading



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to