lamber-ken commented on issue #8254: [FLINK-12219][runtime] Yarn application 
can't stop when flink job failed in per-job yarn cluste mode
URL: https://github.com/apache/flink/pull/8254#issuecomment-486731333
 
 
   @tillrohrmann, BTW, if you want to get the NPE stacktrace, you need to use 
log4j and change `IOException` to `Exception`. than use command `yarn logs 
-applicationId xxx`.
   ```
   @Override
   public CompletableFuture<Acknowledge> 
archiveExecutionGraph(AccessExecutionGraph executionGraph) {
      try {
         FsJobArchivist.archiveJob(archivePath, executionGraph.getJobID(), 
jsonArchivist.archiveJsonWithPath(executionGraph));
         return CompletableFuture.completedFuture(Acknowledge.get());
      } catch (Exception e) {
         LOG.error("archive exception",e);
         return FutureUtils.completedExceptionally(e);
      }
   }
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to