[
https://issues.apache.org/jira/browse/NIFI-1872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15282789#comment-15282789
]
Joseph Witt commented on NIFI-1872:
-----------------------------------
and also this
Tests run: 171, Failures: 1, Errors: 0, Skipped: 2, Time elapsed: 204.917 sec
<<< FAILURE! - in TestSuite
testStateTooLargeExceptionThrownOnSetState on
testStateTooLargeExceptionThrownOnSetState(org.apache.nifi.controller.state.providers.zookeeper.TestZooKeeperStateProvider)(org.apache.nifi.controller.state.providers.zookeeper.TestZooKeeperStateProvider)
Time elapsed: 6.199 sec <<< FAILURE!
java.io.IOException: Unable to remove state for component with ID
'111111111-1111-1111-1111-111111111111 with exception code CONNECTIONLOSS
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1472)
at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1500)
at org.apache.zookeeper.ZKUtil.listSubTreeBFS(ZKUtil.java:114)
at org.apache.zookeeper.ZKUtil.deleteRecursive(ZKUtil.java:49)
at
org.apache.nifi.controller.state.providers.zookeeper.ZooKeeperStateProvider.onComponentRemoved(ZooKeeperStateProvider.java:201)
at
org.apache.nifi.controller.state.providers.zookeeper.TestZooKeeperStateProvider.clear(TestZooKeeperStateProvider.java:102)
> ZooKeeper State Provider unit tests failing
> -------------------------------------------
>
> Key: NIFI-1872
> URL: https://issues.apache.org/jira/browse/NIFI-1872
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Mark Payne
> Fix For: 0.7.0
>
>
> There appears to be an issue with the unit tests for the ZooKeeper State
> Provider. The client intermittently receives a ConnectionLossException when
> attempting to fetch the state from ZK. We need to properly address the unit
> test, but i propose that we should immediately mark the unit test as ignored
> until we have a chance to properly fix the test, as it is currently
> preventing master from building. We end up with the following stack trace:
> Tests run: 171, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 153.028 sec
> <<< FAILURE! - in TestSuite
> testStateTooLargeExceptionThrownOnReplace on
> testStateTooLargeExceptionThrownOnReplace(org.apache.nifi.controller.state.providers.zookeeper.TestZooKeeperStateProvider)(org.apache.nifi.controller.state.providers.zookeeper.TestZooKeeperStateProvider)
> Time elapsed: 5.841 sec <<< FAILURE!
> java.io.IOException: Failed to set cluster-wide state in ZooKeeper for
> component with ID 111111111-1111-1111-1111-111111111111
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
> at org.apache.zookeeper.ZooKeeper.setData(ZooKeeper.java:1270)
> at
> org.apache.nifi.controller.state.providers.zookeeper.ZooKeeperStateProvider.setState(ZooKeeperStateProvider.java:318)
> at
> org.apache.nifi.controller.state.providers.zookeeper.ZooKeeperStateProvider.setState(ZooKeeperStateProvider.java:283)
> at
> org.apache.nifi.controller.state.providers.zookeeper.ZooKeeperStateProvider.setState(ZooKeeperStateProvider.java:228)
> at
> org.apache.nifi.controller.state.providers.zookeeper.TestZooKeeperStateProvider.testStateTooLargeExceptionThrownOnReplace(TestZooKeeperStateProvider.java:163)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)