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

Till Rohrmann commented on FLINK-11850:
---------------------------------------

The problem seems to be that 
{{client.delete().deletingChildrenIfNeeded().forPath("/");}} can fail if there 
is a concurrent delete operation. We need to be able to tolerate this situation 
since this can happen, e.g. if a leader utility has been closed. 
{{ZKPaths#deleteChildren}} seems to handle this situation properly. Hence, I 
will replace the current code with this call.

> ZooKeeperHaServicesTest#testSimpleCloseAndCleanupAllData fails on Travis
> ------------------------------------------------------------------------
>
>                 Key: FLINK-11850
>                 URL: https://issues.apache.org/jira/browse/FLINK-11850
>             Project: Flink
>          Issue Type: Test
>          Components: Runtime / Coordination, Tests
>            Reporter: Congxian Qiu(klion26)
>            Assignee: Till Rohrmann
>            Priority: Critical
>              Labels: test-stability
>
> org.apache.flink.runtime.highavailability.zookeeper.ZooKeeperHaServicesTest
> 08:20:01.694 [ERROR] 
> testSimpleCloseAndCleanupAllData(org.apache.flink.runtime.highavailability.zookeeper.ZooKeeperHaServicesTest)
>  Time elapsed: 0.076 s <<< ERROR!
> org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = 
> NoNode for 
> /foo/bar/flink/default/leaderlatch/resource_manager_lock/_c_477d0124-92f3-4069-98aa-a71b8243250c-latch-0000000000
>  at 
> org.apache.flink.runtime.highavailability.zookeeper.ZooKeeperHaServicesTest.runCleanupTest(ZooKeeperHaServicesTest.java:203)
>  at 
> org.apache.flink.runtime.highavailability.zookeeper.ZooKeeperHaServicesTest.testSimpleCloseAndCleanupAllData(ZooKeeperHaServicesTest.java:128)
>  
> Travis links: https://travis-ci.org/apache/flink/jobs/502960186



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

Reply via email to