hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chandni Singh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-8667) Container Relaunch fails with "find: File system loop detected;" for tar ball artifacts
Date Wed, 15 Aug 2018 19:38:00 GMT

    [ 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.
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));
Seems like we might have to delete any symlinks from the container's working directory as

cc. [~billie.rinaldi] [~shanekumpf@gmail.com] [~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

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message