wangyang0918 commented on issue #10010: [FLINK-10435][yarn]Client sporadically 
hangs after Ctrl + C
URL: https://github.com/apache/flink/pull/10010#issuecomment-546838734
 
 
   > Thanks for opening this pull request @wangyang0918 ! Generally it looks 
good. I have one question:
   > 
   > What if `YarnClient#start` or `YarnClient#stop` throws an exception? Do 
you take them into consideration?
   
   @TisonKun Thanks for your comments.
   
   The shut down hook is a best effort clean up. And yarn client only throws 
`RuntimeException`. Also when we try to start the yarn client in shut down 
hook, another yarn client of `YarnClusterDescriptor` is running. So it should 
be started and stopped successfully.

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

Reply via email to