lamber-ken commented on a change in pull request #11887:
URL: https://github.com/apache/flink/pull/11887#discussion_r415196998



##########
File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/TaskExecutor.java
##########
@@ -1675,15 +1703,12 @@ private boolean isJobManagerConnectionValid(JobID 
jobId, JobMasterId jobMasterId
                        return CompletableFuture.supplyAsync(() -> {
                                final File file = new File(filePath);
                                if (file.exists()) {
-                                       final TransientBlobCache 
transientBlobService = blobCacheService.getTransientBlobService();
-                                       final TransientBlobKey transientBlobKey;
-                                       try (FileInputStream fileInputStream = 
new FileInputStream(file)) {
-                                               transientBlobKey = 
transientBlobService.putTransient(fileInputStream);
-                                       } catch (IOException e) {
+                                       try {
+                                               return 
putTransientBlobStream(new FileInputStream(file), fileTag).get();
+                                       } catch (Exception e) {

Review comment:
       hi @tillrohrmann, since doesn't make thread dump as stream in your 
design right now, we can revert it.




----------------------------------------------------------------
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]


Reply via email to