You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Mark Payne (JIRA)" <ji...@apache.org> on 2016/05/13 18:06:12 UTC
[jira] [Updated] (NIFI-1872) ZooKeeper State Provider unit tests
failing
[ https://issues.apache.org/jira/browse/NIFI-1872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Payne updated NIFI-1872:
-----------------------------
Fix Version/s: 1.0.0
> 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: 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)