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-486714974
 
 
   hi, @tillrohrmann 
   
   **First**, the original exception is NEP which as 
[FLINK-12247](https://github.com/apache/flink/pull/8250) described. When the 
number of retries more than `MAX_ATTEMPTS_HISTORY_SIZE`, it'll throw NEP. it'll 
cause yarn application hang.
   
   **Second**, the 
[FsJobArchivist#archiveJob](https://github.com/apache/flink/blob/6cbc9bf2cd6142c34074deaec56bb339d30b3b93/flink-runtime/src/main/java/org/apache/flink/runtime/history/FsJobArchivist.java#L71)
 method not only throw `IOException` but also throw `Exception`. Include at 
least the above exception currently. 
   So I used `ExceptionHistoryServerArchivist` to simulate other unknown 
exceptions which may be happen.
   
   
   
![image](https://user-images.githubusercontent.com/20113411/56746135-2e48bc80-67ae-11e9-919b-63327093830c.png)
   
   
   
   

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