ok. the connection is okay now ... But a few testing that I did caused some problems on the remote node. Basically what happens is that a vertex is persisted in node1 but will not be present in node2. This happens when we get the following errors:
2014-04-03 14:19:46:463 INFO [node1396543687897] installed database 'inventorydb' [OHazelcastPlugin] 2014-04-03 14:19:46:489 WARN Can not restore 1 WAL master record for storage inventorydb [OWriteAheadLog] 2014-04-03 14:19:46:995 INFO [node1396543687897] Publishing online status for database node1396543687897.inventorydb... [OHazelcastDistributedDatabase] 2014-04-03 14:19:46:998 INFO [node1396543687897] Database node1396543687897.inventorydb is online, waking up listeners on local node... [OHazelcastDistributedDatabase] 2014-04-03 14:19:46:998 WARN [node1396543687897] database 'inventorydb' is online [OHazelcastPlugin] 2014-04-03 14:19:46:998 INFO [node1396543687897] received updated status node1396543687897.inventorydb=ONLINE [OHazelcastPlugin] 2014-04-03 14:19:46:998 WARN [node1396543687897] updated node status to 'ONLINE' [OHazelcastPlugin] 2014-04-03 14:19:47:006 INFO Mail plugin installed and active. Loaded 1 profile(s): [default] [OMailPlugin] 2014-04-03 14:19:47:006 INFO OrientDB Server v1.7-SNAPSHOT is active. [OServer]Error on distributed transaction commit Error during transaction commit. -> com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.commit(OLocalPaginatedStorage.java:1064) -> com.orientechnologies.orient.server.distributed.ODistributedStorage.commit(ODistributedStorage.java:440) -> com.orientechnologies.orient.core.tx.OTransactionOptimistic$3.call(OTransactionOptimistic.java:210) -> com.orientechnologies.orient.core.storage.OStorageAbstract.callInLock(OStorageAbstract.java:189) -> com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.callInLock(OLocalPaginatedStorage.java:921) -> com.orientechnologies.orient.server.distributed.ODistributedStorage.callInLock(ODistributedStorage.java:650) -> com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:207) -> com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.commit(ODatabaseRecordTx.java:142) -> com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:440) -> com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:435) -> com.orientechnologies.orient.server.distributed.task.OTxTask.execute(OTxTask.java:71) -> com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.executeOnLocalNode(OHazelcastPlugin.java:646) -> com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.onMessage(OHazelcastDistributedDatabase.java:404) -> com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase$1.run(OHazelcastDistributedDatabase.java:282) -> java.lang.Thread.run(Thread.java:680) null -> com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.commit(OLocalPaginatedStorage.java:1064) -> com.orientechnologies.orient.server.distributed.ODistributedStorage.commit(ODistributedStorage.java:440) -> com.orientechnologies.orient.core.tx.OTransactionOptimistic$3.call(OTransactionOptimistic.java:210) -> com.orientechnologies.orient.core.storage.OStorageAbstract.callInLock(OStorageAbstract.java:189) -> com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.callInLock(OLocalPaginatedStorage.java:921) -> com.orientechnologies.orient.server.distributed.ODistributedStorage.callInLock(ODistributedStorage.java:650) -> com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:207) On Thursday, April 3, 2014 11:30:26 AM UTC-4, Dodong Juan wrote: > > will wait .. and test it when it is there .. > > thanks .. > > > On Thursday, April 3, 2014 11:21:45 AM UTC-4, Lvc@ wrote: >> >> Hi guys, >> sorry for such delay. Fixed in "develop" branch and in 10 minutes >> available also as 1.7-SNAPSHOT on sonatype repositories. >> >> Lvc@ >> >> >> >> On 3 April 2014 16:53, Dodong Juan <[email protected]> wrote: >> >>> I am waiting on this too .. >>> >>> >>> On Thursday, April 3, 2014 8:36:45 AM UTC-4, Lvc@ wrote: >>> >>>> I'm on this. Hope to say something in the next 2 hours. >>>> >>>> Lvc@ >>>> >>>> >>>> >>>> On 3 April 2014 13:59, madhu <[email protected]> wrote: >>>> >>>>> Issue with getting connection is still exist in version 1.7-SNAPSHOT >>>>> (orientdb-community-1.7-20140403.094034-87-distribution) >>>>> *Code:* >>>>> OrientGraph graph = new OrientGraph("remote:localhost:2430/GraphDB", >>>>> "admin", "admin"); >>>>> >>>>> *Exception:* >>>>> >>>>> com.orientechnologies.orient.core.exception.OSerializationException: >>>>> Error on unmarshalling field 'members' in record #-1:-1 with value: >>>>> >>>>> Thanks, >>>>> Madhu >>>>> >>>>> >>>>> On Friday, March 28, 2014 4:44:12 PM UTC+5:30, madhu wrote: >>>>>> >>>>>> Yes Lvc@, >>>>>> >>>>>> I tried in the latest snapshot >>>>>> *orientdb-community-1.7-20140328.101842-61-distribution*. >>>>>> But still issue exist. >>>>>> >>>>>> *Console Output:* >>>>>> OrientDB console v.1.7-SNAPSHOT (build UNKNOWN@r${buildNumber}; >>>>>> 2014-03-28 11:11:00+0100) www.orientechnologies.com >>>>>> Type 'help' to display all the commands supported. >>>>>> Installing extensions for GREMLIN language v.2.5.0-SNAPSHOT >>>>>> orientdb>* connect remote:localhost:2430/GraphDB admin admin;* >>>>>> Connecting to database [remote:localhost:2430/AOEGraphDB] with user >>>>>> 'admin'... >>>>>> Error: >>>>>> com.orientechnologies.orient.core.exception.OSerializationException: >>>>>> Error on unmarshalling field 'members' in record #-1:-1 with value: >>>>>> Error: java.lang.NullPointerException >>>>>> orientdb> >>>>>> >>>>>> Thanks, >>>>>> Madhu >>>>>> >>>>>> On Friday, March 28, 2014 3:55:17 PM UTC+5:30, Lvc@ wrote: >>>>>>> >>>>>>> Hi guys, >>>>>>> I fixed a small bug that caused this NPE. May you try last >>>>>>> 1.7-snapshot? >>>>>>> >>>>>>> Lvc@ >>>>>>> >>>>>>> >>>>>>> On 28 March 2014 07:17, madhu <[email protected]> wrote: >>>>>>> >>>>>>>> I am seeing this issue in distributed environment still in >>>>>>>> *orientdb-community-1.7-rc2* version also. >>>>>>>> Is there any solution on this? >>>>>>>> >>>>>>>> Thanks, >>>>>>>> Madhu >>>>>>>> >>>>>>>> >>>>>>>> On Wednesday, March 5, 2014 9:38:05 PM UTC+5:30, Dodong Juan wrote: >>>>>>>>> >>>>>>>>> Same issue with : >>>>>>>>> >>>>>>>>> orientdb-community-1.7-rc2-20140305.152006-77-distribution.tar >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Wednesday, March 5, 2014 10:17:38 AM UTC-5, Dodong Juan wrote: >>>>>>>>>> >>>>>>>>>> Event tested this with : >>>>>>>>>> >>>>>>>>>> orientdb-community-1.7-rc2-20140305.133034-76-distribution.tar.gz<https://oss.sonatype.org/content/repositories/snapshots/com/orientechnologies/orientdb-community/1.7-rc2-SNAPSHOT/orientdb-community-1.7-rc2-20140305.133034-76-distribution.tar.gz> >>>>>>>>>> >>>>>>>>>> Same issue .. >>>>>>>>>> >>>>>>>>>> On Wednesday, March 5, 2014 9:42:17 AM UTC-5, Dodong Juan wrote: >>>>>>>>>>> >>>>>>>>>>> Experiencing same problem here ..? >>>>>>>>>>> >>>>>>>>>>> I have a question though, I am seeing some test results on >>>>>>>>>>> 1.7rc2 .. How is that being done if this is not working ..? >>>>>>>>>>> >>>>>>>>>>> On Monday, March 3, 2014 12:35:56 PM UTC-5, Shishya wrote: >>>>>>>>>>>> >>>>>>>>>>>> Any solutions please pals... >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Regards >>>>>>>>>>>> >>>>>>>>>>>> On Thursday, February 27, 2014 4:45:04 PM UTC+5:30, madhu wrote: >>>>>>>>>>>>> >>>>>>>>>>>>> Hi, >>>>>>>>>>>>> >>>>>>>>>>>>> I started orientdb distributed server. And when I try to get >>>>>>>>>>>>> connection from DB, it is giving following exception. >>>>>>>>>>>>> >>>>>>>>>>>>> *Version: >>>>>>>>>>>>> orientdb-community-1.7-rc2-20140227.020256-62-distribution* >>>>>>>>>>>>> >>>>>>>>>>>>> OrientGraph graph = new OrientGraph("remote:172.20.36. >>>>>>>>>>>>> 88:2430/GraphDB", "admin", "admin"); >>>>>>>>>>>>> >>>>>>>>>>>>> com.orientechnologies.orient.core.exception.OSerializationException: >>>>>>>>>>>>> >>>>>>>>>>>>> Error on unmarshalling field 'members' in record #-1:-1 with >>>>>>>>>>>>> value: >>>>>>>>>>>>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0( >>>>>>>>>>>>> Native Method) >>>>>>>>>>>>> at sun.reflect.NativeConstructorAccessorImpl.newInstance( >>>>>>>>>>>>> Unknown Source) >>>>>>>>>>>>> at sun.reflect.DelegatingConstructorAccessorI >>>>>>>>>>>>> mpl.newInstance(Unknown Source) >>>>>>>>>>>>> at java.lang.reflect.Constructor.newInstance(Unknown >>>>>>>>>>>>> Source) >>>>>>>>>>>>> at com.orientechnologies.common.log.OLogManager.exception( >>>>>>>>>>>>> OLogManager.java:162) >>>>>>>>>>>>> at com.orientechnologies.orient.c >>>>>>>>>>>>> ore.serialization.serializer.record.string.ORecordSerializer >>>>>>>>>>>>> SchemaAware2CSV.fromString(ORecordSerializerSchemaAware2CSV. >>>>>>>>>>>>> java:543) >>>>>>>>>>>>> at com.orientechnologies.orient.c >>>>>>>>>>>>> ore.serialization.serializer.record.string.ORecordSerializer >>>>>>>>>>>>> StringAbstract.fromStream(ORecordSerializerStringAbstract.ja >>>>>>>>>>>>> va:80) >>>>>>>>>>>>> at com.orientechnologies.orient.core.record. >>>>>>>>>>>>> ORecordSchemaAwareAbstract.deserializeFields(ORec >>>>>>>>>>>>> ordSchemaAwareAbstract.java:178) >>>>>>>>>>>>> at com.orientechnologies.orient.c >>>>>>>>>>>>> ore.record.impl.ODocument.deserializeFields(ODocument.java:1 >>>>>>>>>>>>> 413) >>>>>>>>>>>>> at com.orientechnologies.orient.c >>>>>>>>>>>>> ore.record.impl.ODocument.checkForFields(ODocument.java:1303) >>>>>>>>>>>>> at com.orientechnologies.orient.c >>>>>>>>>>>>> ore.record.impl.ODocument.rawField(ODocument.java:493) >>>>>>>>>>>>> at com.orientechnologies.orient.c >>>>>>>>>>>>> ore.record.impl.ODocument.field(ODocument.java:513) >>>>>>>>>>>>> at com.orientechnologies.orient.c >>>>>>>>>>>>> lient.remote.OStorageRemote.updateClusterConfiguration(OStor >>>>>>>>>>>>> ageRemote.java:1982) >>>>>>>>>>>>> at com.orientechnologies.orient.c >>>>>>>>>>>>> lient.remote.OStorageRemote.openRemoteDatabase(OStorageRemot >>>>>>>>>>>>> e.java:1605) >>>>>>>>>>>>> at com.orientechnologies.orient.c >>>>>>>>>>>>> lient.remote.OStorageRemote.open(OStorageRemote.java:201) >>>>>>>>>>>>> at com.orientechnologies.orient.client.remote. >>>>>>>>>>>>> OStorageRemoteThread.open(OStorageRemoteThread.java:80) >>>>>>>>>>>>> at com.orientechnologies.orient.c >>>>>>>>>>>>> ore.db.raw.ODatabaseRaw.open(ODatabaseRaw.java:101) >>>>>>>>>>>>> at com.orientechnologies.orient.core.db. >>>>>>>>>>>>> ODatabaseWrapperAbstract.open(ODatabaseWrapperAbstract.java: >>>>>>>>>>>>> 54) >>>>>>>>>>>>> at com.orientechnologies.orient.core.db.record. >>>>>>>>>>>>> ODatabaseRecordAbstract.open(ODatabaseRecordAbstract.java:131) >>>>>>>>>>>>> at com.orientechnologies.orient.core.db. >>>>>>>>>>>>> ODatabaseWrapperAbstract.open(ODatabaseWrapperAbstract.java: >>>>>>>>>>>>> 54) >>>>>>>>>>>>> at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph. >>>>>>>>>>>>> openOrCreate(OrientBaseGraph.java:881) >>>>>>>>>>>>> at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.< >>>>>>>>>>>>> init>(OrientBaseGraph.java:134) >>>>>>>>>>>>> at com.tinkerpop.blueprints.impls.orient. >>>>>>>>>>>>> OrientTransactionalGraph.<init>(OrientTransactionalGraph.java: >>>>>>>>>>>>> 58) >>>>>>>>>>>>> at com.tinkerpop.blueprints.impls.orient. >>>>>>>>>>>>> OrientTransactionalGraph.<init>(OrientTransactionalGraph.java: >>>>>>>>>>>>> 54) >>>>>>>>>>>>> at com.tinkerpop.blueprints.impls.orient.OrientGraph.< >>>>>>>>>>>>> init>(OrientGraph.java:44) >>>>>>>>>>>>> at SolarisTest.main(SolarisTest.java:36) >>>>>>>>>>>>> Caused by: java.lang.NullPointerException >>>>>>>>>>>>> at com.orientechnologies.orient.core.record. >>>>>>>>>>>>> ORecordSchemaAwareAbstract.getSchemaClass(ORecord >>>>>>>>>>>>> SchemaAwareAbstract.java:82) >>>>>>>>>>>>> at com.orientechnologies.orient.c >>>>>>>>>>>>> ore.serialization.serializer.record.string.ORecordSerializer >>>>>>>>>>>>> SchemaAware2CSV.fromString(ORecordSerializerSchemaAware2CSV. >>>>>>>>>>>>> java:445) >>>>>>>>>>>>> ... 20 more >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> Can someone explain why this is happening? >>>>>>>>>>>>> >>>>>>>>>>>>> Thanks, >>>>>>>>>>>>> Madhu >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>> >>>>>>>> --- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups "OrientDB" group. >>>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>>> send an email to [email protected]. >>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>> >>>>>>> >>>>>>> -- >>>>> >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "OrientDB" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>> >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "OrientDB" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
