-
Notifications
You must be signed in to change notification settings - Fork 871
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
1.7: issues with create edge or create class on distributed configuration #2389
Comments
Hello, can we have an approximate ETA for the fix of this error? We plan to roll out an application based on OrientDB in production in about one week but this error makes OrientDB Graph Database unusable in distributed mode since there's a huge timeout at each named Edge creation. Thanks in advance. |
The line you report the NPE is: com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.onMessage(OHazelcastDistributedDatabase.java:500) But I see this line, where it's impossible iRequest is null: throw new ODistributedException("Cannot dispatch response to the thread queue " + iRequest.getSenderNodeName(), e); So, please can you repeat the test with last 1.7.1-SNAPSHOT? |
Hi Luca, where can I find 1.7.1-SNAPSHOT? Thanks |
Hi Tanji, Sorry, we have not reconfigured a build server to new branching model yet. To get 1.7.1-SNAPSHOT you can get a 1.7.1 branch with git and execute `ant Best regards,
2014-05-28 13:26 GMT+03:00 tanji notifications@github.com:
|
Waiting for Jenkins I've deployed it manually, so now it's available. |
Thanks guys. Anyway I've tested with the latest 1.7.1 branch and the error is similar. I don't know why the exception gives out a NPE itself, anyway the problem seems located elsewhere. This is quite a blocker because distributed mode is totally broken when using graph schemas. Note that creating edges without properties (aka lightweight edges) doesn't break the server. |
Without the stack trace we can't help you. Please can you provide it? |
I think the issue is easy enough to reproduce on your own. Just start 2 servers in distributed mode, create edge will property and you will get the error. I have supplied the full stack trace output above in the initial issue. |
Hello, have you been able to reproduce the issue? |
@tanji We fixed similar issues. Please can you retry with 1.7.7-SNAPSHOT? |
I'm closing it, in case the error exists with 1.7.7, please comment this to reopen. |
@lvca There's no more NPE, but the edge is not correctly created: it is not referenced correctly in the Vertex.
Should be
Please reopen the issue. |
Hello,
on latest 1.7, CREATE EDGE on Graph schema causes a timeout and several warnings. Even though creation succeeds in the end it will timeout first (10 seconds).
Server version: OrientDB Server v1.7-SNAPSHOT (build UNKNOWN@r; 2014-05-26 13:56:37-0400)
Ubuntu 14.04 64-bit, with OpenJDK 7
Default Hazelcast configuration, two nodes
Simple test case following.
orientdb {test}> create class Person extends V
Class created successfully. Total classes in database now: 13
orientdb {test}> create class Loves extends E
Class created successfully. Total classes in database now: 14
orientdb {test}> create vertex Person set name = 'xiaodu'
Created vertex 'Person#11:0{name:xiaodu} v1' in 0.029000 sec(s).
orientdb {test}> create vertex Person set name = 'xiaohu'
Created vertex 'Person#11:1{name:xiaohu} v1' in 0.026000 sec(s).
orientdb {test}> create edge Loves from #11:0 to #11:1 set created = sysdate()
On server 2:
The text was updated successfully, but these errors were encountered: