Can't start distributed configuration

45 views
Skip to first unread message

André Toscano

unread,
Nov 1, 2016, 10:09:23 PM11/1/16
to orient-...@googlegroups.com
Hi guys, 
I'm using community version 2.2.11.

Any hint about the error below:

============================
...
Members [2] {
Member [192.168.30.91]:2434
Member [192.168.30.92]:2434 this
}
 [ClusterService]
2016-11-02 00:00:13:598 INFO  [192.168.30.92]:2434 [orientdb] [3.6.5] Address[192.168.30.92]:2434 is STARTED [LifecycleService]
2016-11-02 00:00:13:598 INFO  Starting distributed server 'odb-node2' (hzID=33db0e9a-5839-4072-ad11-1ca6f934cba1)... [OHazelcastPlugin]
2016-11-02 00:00:13:693 WARNI [odb-node2] Servers in cluster: [odb-node2, odb-node1] [OHazelcastPlugin]
2016-11-02 00:00:13:955 INFO  [odb-node2] Current node is a MASTER for database 'bid-monitor' [OHazelcastPlugin]
2016-11-02 00:00:13:976 INFO  [odb-node2] New distributed configuration for database: bid-monitor (version=1)

CLUSTER CONFIGURATION (LEGEND: X = Owner, o = Copy)
+--------+-----------+----------+---------+-------------+-------------+
|        |           |          | MASTER  |   MASTER    |   MASTER    |
|        |           |          | ONLINE  |NOT_AVAILABLE|NOT_AVAILABLE|
+--------+-----------+----------+---------+-------------+-------------+
|CLUSTER |writeQuorum|readQuorum|odb-node1|  odb-node2  |  odb-node3  |
+--------+-----------+----------+---------+-------------+-------------+
|*       |     1     |    1     |    X    |      o      |      o      |
|internal|     1     |    1     |         |             |             |
+--------+-----------+----------+---------+-------------+-------------+

 [OHazelcastPlugin]
2016-11-02 00:00:13:977 INFO  [odb-node2] Saving distributed configuration file for database 'bid-monitor' to: /orientdb/databases/bid-monitor/distributed-config.json [OHazelcastPlugin]
2016-11-02 00:00:14:070 INFO  [odb-node2] Distributed servers status:

+----------+--------+---------------------------+-----+-----------------------+------------------+------------------+------------------------+
|Name      |Status  |Databases                  |Conns|StartedOn              |Binary            |HTTP              |UsedMemory              |
+----------+--------+---------------------------+-----+-----------------------+------------------+------------------+------------------------+
|odb-node2*|STARTING|                           |0    |2016-11-01 23:59:59.383|192.168.30.92:2424|192.168.30.92:2480|56.19MB/3.56GB (1.54%)  |
|odb-node1 |ONLINE  |bid-monitor=ONLINE (MASTER)|1    |2016-11-01 23:58:23.890|192.168.30.91:2424|192.168.30.91:2480|776.88MB/3.56GB (21.34%)|
+----------+--------+---------------------------+-----+-----------------------+------------------+------------------+------------------------+
 [OHazelcastPlugin]
2016-11-02 00:00:14:087 WARNI [odb-node2]->[[odb-node1]] Requesting deploy of database 'bid-monitor' on local server... [OHazelcastPlugin]
2016-11-02 00:00:18:482 WARNI [odb-node2] Moving existent database 'bid-monitor' in '/orientdb/databases/bid-monitor' to '/orientdb/databases//../backup/databases/bid-monitor' and get a fresh copy from a remote node... [OHazelcastPlugin]
2016-11-02 00:00:18:483 INFO  [odb-node2]<-[odb-node1] Copying remote database 'bid-monitor' to: /tmp/orientdb/install_bid-monitor.zip [OHazelcastPlugin]
2016-11-02 00:00:18:486 INFO  [odb-node2]<-[odb-node1] Installing database 'bid-monitor' to: /orientdb/databases/bid-monitor... [OHazelcastPlugin]
2016-11-02 00:00:18:488 INFO  [odb-node2] - writing chunk #1 offset=0 size=8.00MB [OHazelcastPlugin]
2016-11-02 00:00:19:470 INFO  [odb-node2] - writing chunk #2 offset=8388589 size=19b [OHazelcastPlugin]
2016-11-02 00:00:19:486 INFO  [odb-node2] - writing chunk #3 offset=8388608 size=3.18MB [OHazelcastPlugin]
2016-11-02 00:00:19:518 INFO  [odb-node2] - writing chunk #4 offset=11718656 size=4.82MB [OHazelcastPlugin]
2016-11-02 00:00:20:806 INFO  [odb-node2] - writing chunk #5 offset=16777135 size=81b [OHazelcastPlugin]
2016-11-02 00:00:20:820 INFO  [odb-node2] - writing chunk #6 offset=16777216 size=2.52MB [OHazelcastPlugin]
2016-11-02 00:00:20:848 INFO  [odb-node2] - writing chunk #7 offset=19415040 size=5.48MB [OHazelcastPlugin]
2016-11-02 00:00:22:370 INFO  [odb-node2] - writing chunk #8 offset=25165254 size=570b [OHazelcastPlugin]
2016-11-02 00:00:22:389 INFO  [odb-node2] - writing chunk #9 offset=25165824 size=2.98MB [OHazelcastPlugin]
2016-11-02 00:00:22:418 INFO  [odb-node2] - writing chunk #10 offset=28286976 size=5.02MB [OHazelcastPlugin]
2016-11-02 00:00:23:764 INFO  [odb-node2] - writing chunk #11 offset=33553780 size=652b [OHazelcastPlugin]
2016-11-02 00:00:23:774 INFO  [odb-node2] - writing chunk #12 offset=33554432 size=2.25MB [OHazelcastPlugin]
2016-11-02 00:00:23:804 INFO  [odb-node2] - writing chunk #13 offset=35913728 size=5.75MB [OHazelcastPlugin]
2016-11-02 00:00:25:080 INFO  [odb-node2] - writing chunk #14 offset=41942271 size=769b [OHazelcastPlugin]
2016-11-02 00:00:25:090 INFO  [odb-node2] - writing chunk #15 offset=41943040 size=2.34MB [OHazelcastPlugin]
2016-11-02 00:00:25:121 INFO  [odb-node2] - writing chunk #16 offset=44400640 size=5.66MB [OHazelcastPlugin]
2016-11-02 00:00:26:406 INFO  [odb-node2] - writing chunk #17 offset=50330715 size=933b [OHazelcastPlugin]
2016-11-02 00:00:26:626 INFO  [odb-node2] - writing chunk #18 offset=50331648 size=3.03MB [OHazelcastPlugin]
2016-11-02 00:00:26:654 INFO  [odb-node2] - writing chunk #19 offset=53510144 size=4.97MB [OHazelcastPlugin]
2016-11-02 00:00:29:340 INFO  [odb-node2] - writing chunk #20 offset=58719004 size=1.22KB [OHazelcastPlugin]
2016-11-02 00:00:29:357 INFO  [odb-node2] - writing chunk #21 offset=58720256 size=3.02MB [OHazelcastPlugin]
2016-11-02 00:00:29:393 INFO  [odb-node2] - writing chunk #22 offset=61890560 size=4.97MB [OHazelcastPlugin]
2016-11-02 00:00:36:060 INFO  [odb-node2] - writing chunk #23 offset=67107172 size=1.65KB [OHazelcastPlugin]
2016-11-02 00:00:36:091 INFO  [odb-node2] - writing chunk #24 offset=67108864 size=6.18MB [OHazelcastPlugin]
2016-11-02 00:00:36:126 INFO  [odb-node2] - writing chunk #25 offset=73584640 size=1.82MB [OHazelcastPlugin]
2016-11-02 00:00:42:942 INFO  [odb-node2] - writing chunk #26 offset=75495426 size=2.00KB [OHazelcastPlugin]
2016-11-02 00:00:42:960 INFO  [odb-node2] - writing chunk #27 offset=75497472 size=1.86MB [OHazelcastPlugin]
2016-11-02 00:00:42:979 INFO  [odb-node2] - writing chunk #28 offset=77447168 size=6.14MB [OHazelcastPlugin][odb-node2] Error on transferring database 'bid-monitor' to '/tmp/orientdb/install_bid-monitor.zip'
com.orientechnologies.orient.server.distributed.task.ODistributedOperationException: No response received from any of nodes [odb-node1] for request id=1.28 task=copy_db_chunk after 15000ms
at com.orientechnologies.orient.server.distributed.ODistributedResponseManager.getFinalResponse(ODistributedResponseManager.java:344)
at com.orientechnologies.orient.server.distributed.impl.ODistributedDatabaseImpl.waitForResponse(ODistributedDatabaseImpl.java:807)
at com.orientechnologies.orient.server.distributed.impl.ODistributedDatabaseImpl.send2Nodes(ODistributedDatabaseImpl.java:434)
at com.orientechnologies.orient.server.distributed.impl.ODistributedAbstractPlugin.sendRequest(ODistributedAbstractPlugin.java:619)
at com.orientechnologies.orient.server.distributed.impl.ODistributedAbstractPlugin$3.run(ODistributedAbstractPlugin.java:1279)
at java.lang.Thread.run(Thread.java:745)
Exception in thread "OrientDB installDatabase node=odb-node2 db=bid-monitor" com.orientechnologies.orient.server.distributed.task.ODistributedOperationException: No response received from any of nodes [odb-node1] for request id=1.28 task=copy_db_chunk after 15000ms
at com.orientechnologies.orient.server.distributed.ODistributedResponseManager.getFinalResponse(ODistributedResponseManager.java:344)
at com.orientechnologies.orient.server.distributed.impl.ODistributedDatabaseImpl.waitForResponse(ODistributedDatabaseImpl.java:807)
at com.orientechnologies.orient.server.distributed.impl.ODistributedDatabaseImpl.send2Nodes(ODistributedDatabaseImpl.java:434)
at com.orientechnologies.orient.server.distributed.impl.ODistributedAbstractPlugin.sendRequest(ODistributedAbstractPlugin.java:619)
at com.orientechnologies.orient.server.distributed.impl.ODistributedAbstractPlugin$3.run(ODistributedAbstractPlugin.java:1279)
at java.lang.Thread.run(Thread.java:745)

============================

Thanks in advance!

André Emilio Toscano

Oleksandr Gubchenko

unread,
Nov 1, 2016, 10:29:34 PM11/1/16
to OrientDB
Are you getting the same exception on 2.2.12 version?

André Toscano

unread,
Nov 2, 2016, 8:54:11 PM11/2/16
to OrientDB
Ok, I deleted the  "databases/*" and the server starts and got status on-line.
I was copying everything from the first node, that was the problem.
Thanks for the answer Oleksandr
André
Reply all
Reply to author
Forward
0 new messages