From 1dadb816117d77e19c3aada9159ef8077ac276f6 Mon Sep 17 00:00:00 2001 From: Matthew Sharp Date: Mon, 4 May 2020 16:32:15 -0400 Subject: [PATCH] find: File system loop detected - list debug force true --- .../containermanager/launcher/ContainerLaunch.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/ContainerLaunch.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/ContainerLaunch.java index 41e26d44713..559941d66c0 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/ContainerLaunch.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/ContainerLaunch.java @@ -1342,11 +1342,11 @@ public class ContainerLaunch implements Callable { // find will follow symlinks outside the work dir if such sylimks exist // (like public/app local resources) line("echo \"find -L . -maxdepth 5 -ls:\" 1>>\"", output.toString(), - "\""); - line("find -L . -maxdepth 5 -ls 1>>\"", output.toString(), "\""); + "\" || :"); + line("find -L . -maxdepth 5 -ls 1>>\"", output.toString(), "\" || :"); line("echo \"broken symlinks(find -L . -maxdepth 5 -type l -ls):\" 1>>\"", - output.toString(), "\""); - line("find -L . -maxdepth 5 -type l -ls 1>>\"", output.toString(), "\""); + output.toString(), "\" || :"); + line("find -L . -maxdepth 5 -type l -ls 1>>\"", output.toString(), "\" || :"); } @Override