TisonKun commented on issue #10408: [FLINK-14992][client] Add job listener to 
execution environments
URL: https://github.com/apache/flink/pull/10408#issuecomment-561553419
 
 
   @aljoscha I rewrite `doClose` as described above & see also [this 
comment](https://github.com/apache/flink/pull/10413#issuecomment-561515078). 
One thing I find different from your statement "return a duplicate JobClient on 
`executeAsync`". It wouldn't be true. No one take ownership of the JobClient 
return by `Executor#execute` in `executeAsync`. We simply returns it and in 
another perspective, that JobClient should be called `close` by someone(here 
the caller of `executeAsync` to ensure the specific close actions executed)

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