slankka commented on a change in pull request #15999:
URL: https://github.com/apache/flink/pull/15999#discussion_r748851043



##########
File path: 
flink-yarn/src/main/java/org/apache/flink/yarn/YarnApplicationFileUploader.java
##########
@@ -258,7 +258,7 @@ YarnLocalResourceDescriptor registerSingleLocalResource(
                     final java.nio.file.Path shipPath = file.toPath();
                     final java.nio.file.Path parentPath = shipPath.getParent();
                     Files.walkFileTree(
-                            shipPath,
+                            shipPath.toRealPath(),

Review comment:
       Sorry for my late reply. It's better for using 
`FileUtils.listFilesInDirectory` (flink-core) instead of `Files.walkFileTree()`.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to