-
Notifications
You must be signed in to change notification settings - Fork 872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error creating a new database in a cluster with one node (orientdb version 2.1.6) #5375
Comments
we are able to reproduced same error on windows 7 also. |
Steps to Reproduce: 1.Start node#1,node#2 & node#3 using dserver.sh Error stacktrace in one node: 2015-11-25 17:23:36:914 INFO [node1448375802075] class 'ORole', creation of new local cluster 'orole_node1448375802075' (id=-1) [OHazelcastPlugin] |
Having writeQuorum=2 and readQuorum=2 has no sense, because with writeQuorum you already guarantee consistency on write. Could you please try setting readQuorum=1 and retry? |
Hi Ivca I am working on the same issue mentioned above, by a team member of mine. orientdb/distributed/src/main/java/com/orientechnologies/orient/server/hazelcast/OHazelcastDistributedMessageService.java:236: error: cannot find symbol BUILD FAILED |
Don't us ANT, but MAVEN:
|
We have tested with provided solutions on Version: 2.1.7 and it works. |
Cool, closing it. |
Hi, we intend to setup orientdb cluster (3 nodes) running on Docker containers , on three different VM(multi-host orientdb cluster with docker). But we are facing issues while creating a new database even with a single node. Its a critical issue for us, as we are very close to our first Beta release of our product.
Error Occurs in version : 2.1.6
Docker Container OS : ubuntu 14.04
Steps to reproduce:
Error stacktrace:
Received: {node1448441646293=waiting-for-response} [ODistributedResponseManager]
2015-11-25 08:54:57:864 WARNI [node1448441646293] Quorum 1 not reached for request (id=0 from=node1448441646293 task=record_read(#5:1) user=#5:0). Elapsed=15027ms No server in conflict. Received: {node1448441646293=waiting-for-response} [ODistributedResponseManager]
2015-11-25 08:54:57:864 SEVER failed to convert to OUser Error on retrieving record #5:0 (cluster: ouser) [ODistributedWorker]Error on fetching record during browsing. The record has been skipped
com.orientechnologies.orient.core.exception.ODatabaseException: Error on retrieving record #5:1 (cluster: ouser)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeReadRecord(ODatabaseDocumentTx.java:1849)
at com.orientechnologies.orient.core.tx.OTransactionNoTx.loadRecord(OTransactionNoTx.java:92)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.load(ODatabaseDocumentTx.java:1592)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.load(ODatabaseDocumentTx.java:121)
at com.orientechnologies.orient.core.iterator.OIdentifiableIterator.readCurrentRecord(OIdentifiableIterator.java:287)
at com.orientechnologies.orient.core.iterator.ORecordIteratorClusters.hasNext(ORecordIteratorClusters.java:160)
at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.fetchFromTarget(OCommandExecutorSQLSelect.java:1422)
at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.executeSearch(OCommandExecutorSQLSelect.java:469)
at com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.execute(OCommandExecutorSQLSelect.java:427)
at com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:90)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.executeCommand(OAbstractPaginatedStorage.java:1538)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.command(OAbstractPaginatedStorage.java:1519)
at com.orientechnologies.orient.server.distributed.ODistributedStorage.command(ODistributedStorage.java:268)
at com.orientechnologies.orient.core.sql.query.OSQLQuery.run(OSQLQuery.java:72)
at com.orientechnologies.orient.core.sql.query.OSQLSynchQuery.run(OSQLSynchQuery.java:85)
at com.orientechnologies.orient.core.query.OQueryAbstract.execute(OQueryAbstract.java:33)
at com.orientechnologies.orient.core.metadata.security.OSecurityShared.getAllUsers(OSecurityShared.java:300)
at com.orientechnologies.orient.core.metadata.security.OSecurityProxy.getAllUsers(OSecurityProxy.java:127)
at com.orientechnologies.orient.server.network.protocol.http.command.post.OServerCommandPostDatabase.sendDatabaseInfo(OServerCommandPostDatabase.java:155)
at com.orientechnologies.orient.server.network.protocol.http.command.post.OServerCommandPostDatabase.execute(OServerCommandPostDatabase.java:83)
at com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpAbstract.service(ONetworkProtocolHttpAbstract.java:180)
at com.orientechnologies.orient.server.network.protocol.http.ONetworkProtocolHttpAbstract.execute(ONetworkProtocolHttpAbstract.java:627)
at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:77)
Caused by: com.orientechnologies.orient.server.distributed.ODistributedException: Error on executing distributed request (id=0 from=node1448441646293 task=record_read(#5:1) user=#5:0) against database 'Test1.[ouser]' to nodes [node1448441646293]
at com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.send2Nodes(OHazelcastDistributedDatabase.java:189)
at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.sendRequest(OHazelcastPlugin.java:359)
at com.orientechnologies.orient.server.distributed.ODistributedStorage.readRecord(ODistributedStorage.java:592)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx$SimpleRecordReader.readRecord(ODatabaseDocumentTx.java:3193)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeReadRecord(ODatabaseDocumentTx.java:1816)
... 22 more
Caused by: com.orientechnologies.orient.server.distributed.ODistributedException: Quorum 1 not reached for request (id=0 from=node1448441646293 task=record_read(#5:1) user=#5:0). Elapsed=15027ms No server in conflict. Received: {node1448441646293=waiting-for-response}
at com.orientechnologies.orient.server.distributed.ODistributedResponseManager.manageConflicts(ODistributedResponseManager.java:585)
at com.orientechnologies.orient.server.distributed.ODistributedResponseManager.getFinalResponse(ODistributedResponseManager.java:349)
at com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.waitForResponse(OHazelcastDistributedDatabase.java:423)
at com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.send2Nodes(OHazelcastDistributedDatabase.java:186)
... 26 more
2015-11-25 08:55:00:867 WARNI [node1448441646293] timeout (3000ms) on waiting for synchronous responses from nodes=[node1448441646293] responsesSoFar=[] request=id=2 from=node1448441646293 task=record_read(#5:1) [OHazelcastDistributedDatabase]
2015-11-25 08:55:00:867 WARNI [node1448441646293] no response received from local node about request id=2 from=node1448441646293 task=record_read(#5:1) [ODistributedResponseManager]
2015-11-25 08:55:00:868 WARNI [node1448441646293] detected 1 node(s) in timeout or in conflict and quorum (1) has not been reached, rolling back changes for request (id=2 from=node1448441646293 task=record_read(#5:1)) [ODistributedResponseManager]
Our configuration files are as below:
Hazelcast Configuration file:
[
16 ]orientdb
orientdb
2434
235.1.1.1
2434
192.168.134.79:2434
192.168.134.81:2434
192.168.135.25:2434
192.168.134.81
default-distributed-db-config.json
[
{
"autoDeploy": true,
"hotAlignment": true,
"executionMode": "asynchronous",
"readQuorum": 2,
"writeQuorum": 2,
"failureAvailableNodesLessQuorum": false,
"readYourWrites": true,
"servers": {
"": "master"
},
"clusters": {
"internal": {
},
"index": {
},
"": {
"servers": ["<NEW_NODE>"]
}
}
}
]
The text was updated successfully, but these errors were encountered: