[
https://issues.apache.org/jira/browse/NIFI-1678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15266595#comment-15266595
]
Pierre Villard commented on NIFI-1678:
--------------------------------------
I am not sure if I should open a new JIRA but when building with:
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
2015-11-10T17:41:47+01:00)
Maven home: D:\Dev\apache-maven-3.3.9\bin\..
Java version: 1.8.0_74, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_74\jre
Default locale: fr_FR, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"
I have the following test errors:
{noformat}
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running TestSuite
Tests run: 45, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 19.919 sec <<<
FAILURE! - in TestSuite
testDisconnectedHeartbeatOnStartup on
testDisconnectedHeartbeatOnStartup(org.apache.nifi.cluster.coordination.heartbeat.TestAbstractHeartbeatMonitor)(org.apache.nifi.cluster.coordi
nation.heartbeat.TestAbstractHeartbeatMonitor) Time elapsed: 2.117 sec <<<
FAILURE!
java.lang.NullPointerException: null
at
org.apache.zookeeper.server.ZooKeeperServerMain.shutdown(ZooKeeperServerMain.java:132)
at
org.apache.curator.test.TestingZooKeeperMain.close(TestingZooKeeperMain.java:122)
at
org.apache.curator.test.TestingZooKeeperServer.stop(TestingZooKeeperServer.java:110)
at org.apache.curator.test.TestingServer.stop(TestingServer.java:161)
at
org.apache.nifi.cluster.coordination.heartbeat.TestAbstractHeartbeatMonitor.clear(TestAbstractHeartbeatMonitor.java:62)
testConnectingNodeMarkedConnectedWhenHeartbeatReceived on
testConnectingNodeMarkedConnectedWhenHeartbeatReceived(org.apache.nifi.cluster.coordination.heartbeat.TestAbstractHeartbea
tMonitor)(org.apache.nifi.cluster.coordination.heartbeat.TestAbstractHeartbeatMonitor)
Time elapsed: 2.013 sec <<< FAILURE!
java.lang.NullPointerException: null
at
org.apache.zookeeper.server.ZooKeeperServerMain.shutdown(ZooKeeperServerMain.java:132)
at
org.apache.curator.test.TestingZooKeeperMain.close(TestingZooKeeperMain.java:122)
at
org.apache.curator.test.TestingZooKeeperServer.stop(TestingZooKeeperServer.java:110)
at org.apache.curator.test.TestingServer.stop(TestingServer.java:161)
at
org.apache.nifi.cluster.coordination.heartbeat.TestAbstractHeartbeatMonitor.clear(TestAbstractHeartbeatMonitor.java:62)
Results :
Failed tests:
TestAbstractHeartbeatMonitor.clear:62 » NullPointer
TestAbstractHeartbeatMonitor.clear:62 » NullPointer
{noformat}
Not sure why this is happening. When running in Eclipse, tests are OK.
> Nodes in cluster should use ZooKeeper to store heartbeat messages instead of
> sending to NCM
> -------------------------------------------------------------------------------------------
>
> Key: NIFI-1678
> URL: https://issues.apache.org/jira/browse/NIFI-1678
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Reporter: Mark Payne
> Assignee: Mark Payne
> Fix For: 1.0.0
>
>
> Currently, nodes send heartbeats to the NCM periodically in order to indicate
> that they are actively participating in the cluster. As we move away from
> using an NCM, we need these heartbeats to go somewhere else. ZooKeeper is a
> reasonable location to push the heartbeats to, as it provides the HA that we
> need
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)