[ https://issues.apache.org/jira/browse/NIFI-1872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15282967#comment-15282967 ]
Joseph Witt commented on NIFI-1872: ----------------------------------- +1 for pr440. Pushed to master. Checking 0.x now > 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 > Assignee: Mark Payne > Fix For: 1.0.0, 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)