You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/07/22 11:58:20 UTC

[GitHub] [flink] TisonKun commented on a change in pull request #9022: [FLINK-13127] Fix --yarnship classpath

TisonKun commented on a change in pull request #9022: [FLINK-13127] Fix --yarnship classpath
URL: https://github.com/apache/flink/pull/9022#discussion_r305805161
 
 

 ##########
 File path: flink-yarn/src/main/java/org/apache/flink/yarn/AbstractYarnClusterDescriptor.java
 ##########
 @@ -1162,7 +1172,11 @@ public FileVisitResult visitFile(java.nio.file.Path file, BasicFileAttributes at
 									.append(remotePath).append(",");
 
 								// add files to the classpath
-								classPaths.add(key);
+								if (fileName.endsWith("jar")) {
 
 Review comment:
   point 2 refers these following 5 lines.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services