[ 
https://issues.apache.org/jira/browse/FLINK-9949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16555847#comment-16555847
 ] 

ASF GitHub Bot commented on FLINK-9949:
---------------------------------------

asfgit closed pull request #6419: [FLINK-9949][tests] Kill Flink processes in 
DB/teardown!
URL: https://github.com/apache/flink/pull/6419
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/flink-jepsen/src/jepsen/flink/db.clj 
b/flink-jepsen/src/jepsen/flink/db.clj
index 857e1d37787..9a725d7149a 100644
--- a/flink-jepsen/src/jepsen/flink/db.clj
+++ b/flink-jepsen/src/jepsen/flink/db.clj
@@ -88,6 +88,7 @@
 (defn teardown-flink!
   []
   (info "Tearing down Flink")
+  (cu/grepkill! "flink")
   (meh (c/exec :rm :-rf install-dir))
   (meh (c/exec :rm :-rf (c/lit "/tmp/.yarn-properties*"))))
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Jepsen: Kill Flink processes when tearing down cluster
> ------------------------------------------------------
>
>                 Key: FLINK-9949
>                 URL: https://issues.apache.org/jira/browse/FLINK-9949
>             Project: Flink
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.6.0
>            Reporter: Gary Yao
>            Assignee: Gary Yao
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 1.6.0
>
>
> Because Flink processes are not killed at the end of the tests, it can happen 
> that surviving instances create znodes in the ZooKeeper ensemble of the next 
> test run. This creates ambiguity when we retrieve the address of the leading 
> REST server from ZooKeeper.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to