-
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
Distributed 1.7 : create edge with property fails with NPE #2292
Comments
What release are you using? 1.7-SNAPSHOT? |
yes. to be precise, 1.7-20140423.005209 |
Please may you try with last 1.7-SNAPSHOT? We changed distributed cfg (http://www.orientechnologies.com/distributed-architecture-sharding/) so please update it. |
Same result with latest SNAPSHOT (20140430.233656-172) orientdb {GratefulDeadConcerts}> create vertex V orientdb {GratefulDeadConcerts}> create edge E from #9:809 to #9:810 set p=0 Error: com.orientechnologies.orient.server.distributed.ODistributedException: Quorum 2 not reached for request=id=3 from=dev1 task=command_sql(create edge E from #9:809 to #9:810 set p=0). Servers in timeout/conflict are: no server in conflictReceived: {dev1=waiting-for-response, dev02=waiting-for-response} orientdb {GratefulDeadConcerts}> create edge E from #9:809 to #9:810 Created edge '[E{in:#9:810,out:#9:809}]' in 0.020000 sec(s). ..... Server error message: 2014-05-01 11:35:22:227 INFO OrientDB Server v1.7-SNAPSHOT is active. [OServer][dev1] error on reading distributed request: command_sql(create edge E from #9:809 to #9:810 set p=0) |
still error on 1.7.3. create edge with property is necessary because if you use the blueprint addEdge() API the number of edges are somehow limited to 80 only |
Please can you try with 1.7.4? We fixed an issue not related to the Distributed part, but on the edge limit of 80. |
Same error in 1.7.7 |
Also related to #2389 |
Can you try with las 1.7.7-SNAPSHOT? |
create 2 vertices, then create edge with set property option:
Eg;
create class city extends V
create class distance extends E
create vertex city set name='milan' (#21:0)
create vertex city set name='new york' (#21:1)
create edge distance from #21:0 to #21:1 set miles='3922'
Error to console:
com.orientechnologies.orient.server.distributed.ODistributedException: Quorum 2 not reached for request=id=1386118 from=server1 task=command_sql(create edge distance from #21:0 to #21:1 set miles='3922'). Servers in timeout/conflict are: no server in conflict. Received: {server2=waiting-for-response, server1=waiting-for-response}
Errors from server log:
java.lang.NullPointerException
-> com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.onMessage(OHazelcastDistributedDatabase.java:476)
-> com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase$1.run(OHazelcastDistributedDatabase.java:248)
-> java.lang.Thread.run(Thread.java:680)
The text was updated successfully, but these errors were encountered: