neo4j ha сбой кластера при запуске узла
Я следовал этому руководству https://neo4j.com/docs/operations-manual/current/tutorial/highly-available-cluster/ чтобы установить кластер с 3 узлами на 3 разных виртуальных машинах на vsphere, и я испытываю некоторые проблема, когда дело доходит до запуска узла. (./bin/neo4j начало) Я проверяю журнал, и я получил что-то вроде этого
2018-02-28 16:57:17.117+0000 INFO ======== Neo4j 3.2.9 ========
2018-02-28 16:57:17.188+0000 INFO Starting...
2018-02-28 16:57:18.629+0000 INFO Write transactions to database disabled
2018-02-28 16:57:19.054+0000 INFO Bolt enabled on 127.0.0.1:7687.
2018-02-28 16:57:19.084+0000 INFO Initiating metrics...
2018-02-28 16:57:20.539+0000 INFO Attempting to join cluster of [10.2.48.87:5001, 10.2.48.88:5001, 10.2.48.89:5001]
2018-02-28 16:57:50.665+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@52405ea8' was successfully initialized, but failed to start. Please see the attached cause exception "Conversation-response mapping:
{1/13#=ResponseFuture{conversationId='1/13#', initiatedByMessageType=join, response=null}}". Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@52405ea8' was successfully initialized, but failed to start. Please see the attached cause exception "Conversation-response mapping:
{1/13#=ResponseFuture{conversationId='1/13#', initiatedByMessageType=join, response=null}}".
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@52405ea8' was successfully initialized, but failed to start. Please see the attached cause exception "Conversation-response mapping:
{1/13#=ResponseFuture{conversationId='1/13#', initiatedByMessageType=join, response=null}}".
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:215)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:107)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:80)
at org.neo4j.server.enterprise.EnterpriseEntryPoint.main(EnterpriseEntryPoint.java:32)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase@52405ea8' was successfully initialized, but failed to start. Please see the attached cause exception "Conversation-response mapping:
{1/13#=ResponseFuture{conversationId='1/13#', initiatedByMessageType=join, response=null}}".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:444)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:207)
... 3 more
Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory, /opt/neo4j-enterprise-3.2.9/data/databases/graph.db
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:209)
at org.neo4j.kernel.ha.HighlyAvailableGraphDatabase.<init>(HighlyAvailableGraphDatabase.java:50)
at org.neo4j.server.enterprise.EnterpriseNeoServer.lambda$static$0(EnterpriseNeoServer.java:68)
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:89)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434)
... 5 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.cluster.client.ClusterJoin@5210d51b' was successfully initialized, but failed to start. Please see the attached cause exception "Conversation-response mapping:
{1/13#=ResponseFuture{conversationId='1/13#', initiatedByMessageType=join, response=null}}".
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:444)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:205)
... 9 more
Caused by: java.util.concurrent.TimeoutException: Conversation-response mapping:
{1/13#=ResponseFuture{conversationId='1/13#', initiatedByMessageType=join, response=null}}
at org.neo4j.cluster.statemachine.StateMachineProxyFactory$ResponseFuture.get(StateMachineProxyFactory.java:315)
at org.neo4j.cluster.client.ClusterJoin.joinByConfig(ClusterJoin.java:143)
at org.neo4j.cluster.client.ClusterJoin.start(ClusterJoin.java:82)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434)
... 13 more
2018-02-28 16:57:50.666+0000 INFO Neo4j Server shutdown initiated by request
Я не понимаю, может кто-нибудь рассказать мне больше об этом. Как вы можете видеть, я работаю с Neo4j 3.2.9, и он работает нормально, когда я запускаю его в автономном режиме на каждой машине.
1 ответ
"Запись транзакций в базу данных отключена" МОЖЕТ означать, что МАСТЕР не может быть выбран. Может ли каждый экземпляр достичь других? Отличаются ли идентификаторы (в neo4j.conf)?