jiasheng55 commented on a change in pull request #11322: [FLINK-16376][yarn]
Use consistent method to get Yarn application dir…
URL: https://github.com/apache/flink/pull/11322#discussion_r390714696
##########
File path:
flink-yarn/src/test/java/org/apache/flink/yarn/YarnFileStageTestS3ITCase.java
##########
@@ -161,10 +161,8 @@ private void testRecursiveUploadForYarn(String scheme,
String pathSuffix) throws
assumeFalse(fs.exists(basePath));
try {
- final Path directory = new Path(basePath, pathSuffix);
-
YarnFileStageTest.testCopyFromLocalRecursive(fs.getHadoopFileSystem(),
- new
org.apache.hadoop.fs.Path(directory.toUri()), Path.CUR_DIR, tempFolder, false);
+ Path.CUR_DIR, tempFolder, false);
Review comment:
@kl0u Sorry I didn't reproduce the failure on my Travis and I don't know how
to run `YarnFileStageTestS3ITCase` manually, could you tell me how to reproduce
this failure?
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services