Tried with the latest version 1.7-SNAPSHOT today with the same results .. orientdb-community-1.7-20140404.193056-97-distribution.tar.gz<https://oss.sonatype.org/content/repositories/snapshots/com/orientechnologies/orientdb-community/1.7-SNAPSHOT/orientdb-community-1.7-20140404.193056-97-distribution.tar.gz>
On Friday, April 4, 2014 2:30:39 PM UTC-4, Dodong Juan wrote: > > This time , it looks like the cast exception is gone .. but it is still > not able to route the replication to the other node :-( > > > 2014-04-04 14:27:00:156 INFO [node1396635379646]->[node1396635387475] - > transferring chunk #1 offset=0 size=42791... [ODeployDatabaseTask] > > 2014-04-04 14:27:00:160 INFO [node1396635379646] received updated status > node1396635379646.inventorydb=ONLINE [OHazelcastPlugin] > > 2014-04-04 14:27:00:937 INFO [node1396635379646]<-[node1396635387475] > received updated status node1396635387475.inventorydb=ONLINE > [OHazelcastPlugin] > > 2014-04-04 14:27:19:992 WARN [node1396635379646] detected 1 node(s) in > timeout or in conflict and quorum (2) has not been reached, rolling back > changes for request: id=6 from=node1396635379646 task=record_update(#27:0 > v.1) [ODistributedResponseManager] > > 2014-04-04 14:27:19:993 WARN [node1396635379646] sending undo message for > request=id=6 from=node1396635379646 task=record_update(#27:0 v.1) to server > node1396635379646 [ODistributedResponseManager] > > 2014-04-04 14:27:20:007 WARN [node1396635379646] sending undo message for > request=id=6 from=node1396635379646 task=record_update(#27:0 v.1) to server > node1396635387475 [ODistributedResponseManager]Cannot route UPDATE_RECORD > operation against #27:0 to the distributed node > > Error on sending distributed request against database 'inventorydb:os' to > nodes [node1396635379646, node1396635387475] > > -> > com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.send2Nodes(OHazelcastDistributedDatabase.java:164) > > -> > com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.send(OHazelcastDistributedDatabase.java:180) > > -> > com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.sendRequest(OHazelcastPlugin.java:360) > > -> > com.orientechnologies.orient.server.distributed.ODistributedStorage.sendRequest(ODistributedStorage.java:777) > > -> > com.orientechnologies.orient.server.distributed.ODistributedStorage.updateRecord(ODistributedStorage.java:304) > > -> > com.orientechnologies.orient.core.db.raw.ODatabaseRaw.save(ODatabaseRaw.java:274) > > -> > com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.executeSaveRecord(ODatabaseRecordAbstract.java:1019) > > -> > com.orientechnologies.orient.core.tx.OTransactionNoTx.saveRecord(OTransactionNoTx.java:79) > > -> > com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.save(ODatabaseRecordTx.java:319) > > -> > com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.save(ODatabaseRecordTx.java:306) > > -> > com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.save(ODatabaseRecordTx.java:40) > > -> > com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerCSVAbstract.linkToStream(ORecordSerializerCSVAbstract.java:819) > > -> > com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerCSVAbstract.fieldToStream(ORecordSerializerCSVAbstract.java:277) > > -> > com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerSchemaAware2CSV.toString(ORecordSerializerSchemaAware2CSV.java:290) > > -> > com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerStringAbstract.toStream(ORecordSerializerStringAbstract.java:92) > > > > > On Friday, April 4, 2014 1:48:07 PM UTC-4, Dodong Juan wrote: >> >> thanks .. waiting for it in the repo .. >> >> On Friday, April 4, 2014 1:38:32 PM UTC-4, Lvc@ wrote: >>> >>> Hi, >>> fixed in "develop" branch -> 1.7-SNAPSHOT. >>> >>> Lvc@ >>> >>> >>> >>> On 4 April 2014 19:11, Dodong Juan <[email protected]> wrote: >>> >>>> Maybe this is the cause ..? >>>> >>>> com.orientechnologies.orient.core.db.record.OPlaceholder cannot be >>>> cast to com.orientechnologies.orient.core.version.ORecordVersion >>>> >>>> >>>> On Friday, April 4, 2014 1:11:05 PM UTC-4, Dodong Juan wrote: >>>>> >>>>> No Joy .. Here is the first exception when it happened : >>>>> >>>>> >>>>> 2014-04-04 13:07:01:995 INFO - Compressing file NIC.masterIndex.sbt... >>>>> [ODeployDatabaseTask] >>>>> >>>>> 2014-04-04 13:07:01:995 INFO ok size=65.00Kb compressedSize=126 >>>>> ratio=100% elapsed=1ms [ODeployDatabaseTask] >>>>> >>>>> 2014-04-04 13:07:02:070 INFO [node1396629248110]->[node1396629292027] >>>>> sending the compressed database 'inventorydb' over the NETWORK to node >>>>> 'node1396629292027', size=41.72Kb, lastOperationId=0... >>>>> [ODeployDatabaseTask] >>>>> >>>>> 2014-04-04 13:07:02:071 INFO [node1396629248110]->[node1396629292027] >>>>> - transferring chunk #1 offset=0 size=42721... [ODeployDatabaseTask] >>>>> >>>>> 2014-04-04 13:07:02:075 INFO [node1396629248110] received updated >>>>> status node1396629248110.inventorydb=ONLINE [OHazelcastPlugin] >>>>> >>>>> 2014-04-04 13:07:02:864 INFO [node1396629248110]<-[node1396629292027] >>>>> received updated status node1396629292027.inventorydb=ONLINE >>>>> [OHazelcastPlugin]Cannot route TX operation against distributed node >>>>> >>>>> com.orientechnologies.orient.core.db.record.OPlaceholder cannot be >>>>> cast to com.orientechnologies.orient.core.version.ORecordVersion >>>>> >>>>> -> com.orientechnologies.orient.server.distributed. >>>>> ODistributedStorage.commit(ODistributedStorage.java:495) >>>>> >>>>> -> com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit( >>>>> OTransactionOptimistic.java:105) >>>>> >>>>> -> 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.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph. >>>>> commit(OrientTransactionalGraph.java:101) >>>>> >>>>> -> com.orientechnologies.orient.graph.sql. >>>>> OGraphCommandExecutorSQLFactory.runInTx(OGraphCommandExecutorSQLFactor >>>>> y.java:102) >>>>> >>>>> -> com.orientechnologies.orient.graph.sql. >>>>> OGraphCommandExecutorSQLFactory.runInTx(OGraphCommandExecutorSQLFactor >>>>> y.java:114) >>>>> >>>>> -> com.orientechnologies.orient.graph.sql. >>>>> OCommandExecutorSQLCreateEdge.execute(OCommandExecutorSQLCreateEdge. >>>>> java:119) >>>>> >>>>> -> com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate. >>>>> execute(OCommandExecutorSQLDelegate.java:57) >>>>> >>>>> -> com.orientechnologies.orient.core.storage.OStorageEmbedded. >>>>> executeCommand(OStorageEmbedded.java:96) >>>>> >>>>> -> com.orientechnologies.orient.server.distributed. >>>>> ODistributedStorage.command(ODistributedStorage.java:168) >>>>> >>>>> -> com.orientechnologies.orient.core.command. >>>>> OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract. >>>>> java:59) >>>>> >>>>> -> com.orientechnologies.orient.server.network.protocol. >>>>> binary.ONetworkProtocolBinary.command(ONetworkProtocolBinary.java: >>>>> 1094) >>>>> >>>>> -> com.orientechnologies.orient.server.network.protocol. >>>>> binary.ONetworkProtocolBinary.executeRequest( >>>>> ONetworkProtocolBinary.java:349) >>>>> >>>>> -> com.orientechnologies.orient.server.network.protocol.binary. >>>>> OBinaryNetworkProtocolAbstract.execute(OBinaryNetworkProtocolAbstract >>>>> .java:126) >>>>> >>>>> -> >>>>> com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:45)Cannot >>>>> >>>>> route TX operation against distributed node >>>>> >>>>> com.orientechnologies.orient.core.db.record.OPlaceholder cannot be >>>>> cast to com.orientechnologies.orient.core.version.ORecordVersion >>>>> >>>>> -> com.orientechnologies.orient.server.distributed. >>>>> ODistributedStorage.commit(ODistributedStorage.java:495) >>>>> >>>>> -> com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit( >>>>> OTransactionOptimistic.java:105) >>>>> >>>>> -> 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.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph. >>>>> commit(OrientTransactionalGraph.java:101) >>>>> >>>>> -> com.orientechnologies.orient.graph.sql. >>>>> OGraphCommandExecutorSQLFactory.runInTx(OGraphCommandExecutorSQLFactor >>>>> y.java:102) >>>>> >>>>> -> com.orientechnologies.orient.graph.sql. >>>>> OGraphCommandExecutorSQLFactory.runInTx(OGraphCommandExecutorSQLFactor >>>>> y.java:114) >>>>> >>>>> -> com.orientechnologies.orient.graph.sql. >>>>> OCommandExecutorSQLDeleteEdge.execute(OCommandExecutorSQLDeleteEdge. >>>>> java:151) >>>>> >>>>> -> com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate. >>>>> execute(OCommandExecutorSQLDelegate.java:57) >>>>> >>>>> -> com.orientechnologies.orient.core.storage.OStorageEmbedded. >>>>> executeCommand(OStorageEmbedded.java:96) >>>>> >>>>> -> com.orientechnologies.orient.server.distributed. >>>>> ODistributedStorage.command(ODistributedStorage.java:168) >>>>> >>>>> -> com.orientechnologies.orient.core.command. >>>>> OCommandRequestTextAbstract.execute(OCommandRequestText >>>>> >>>>> >>>>> >>>>> On Friday, April 4, 2014 1:01:01 PM UTC-4, Dodong Juan wrote: >>>>>> >>>>>> In fact when I killed the other node, I saw this exception from the >>>>>> first node . But let me clear everything again and restart .. >>>>>> >>>>>> >>>>>> >>>>>> 014-04-04 12:53:54:183 INFO [host1]:2434 [orientdb] Connection >>>>>> [Address[host2]:2434] lost. Reason: java.io.EOFException[Remote socket >>>>>> closed!] [TcpIpConnection] >>>>>> >>>>>> 2014-04-04 12:53:54:184 WARN [host1]:2434 [orientdb] >>>>>> hz._hzInstance_1_orientdb.IO.thread-in-0 Closing socket to endpoint >>>>>> Address[host2]:2434, Cause:java.io.EOFException: Remote socket closed! >>>>>> [ReadHandler] >>>>>> >>>>>> 2014-04-04 12:53:54:609 INFO [host1]:2434 [orientdb] Connecting to >>>>>> host2/165.37.131.160:2434, timeout: 0, bind-any: true >>>>>> [SocketConnector] >>>>>> >>>>>> 2014-04-04 12:53:54:611 INFO [host1]:2434 [orientdb] Could not >>>>>> connect to: host2/165.37.131.160:2434. Reason: >>>>>> SocketException[Connection refused to address host2/ >>>>>> 165.37.131.160:2434] [SocketConnector] >>>>>> >>>>>> 2014-04-04 12:53:55:599 INFO [host1]:2434 [orientdb] Connecting to >>>>>> host2/165.37.131.160:2434, timeout: 0, bind-any: true >>>>>> [SocketConnector] >>>>>> >>>>>> 2014-04-04 12:53:55:601 INFO [host1]:2434 [orientdb] Could not >>>>>> connect to: host2/165.37.131.160:2434. Reason: >>>>>> SocketException[Connection refused to address host2/ >>>>>> 165.37.131.160:2434] [SocketConnector] >>>>>> >>>>>> 2014-04-04 12:53:56:598 INFO [host1]:2434 [orientdb] Connecting to >>>>>> host2/165.37.131.160:2434, timeout: 0, bind-any: true >>>>>> [SocketConnector] >>>>>> >>>>>> 2014-04-04 12:53:56:601 INFO [host1]:2434 [orientdb] Could not >>>>>> connect to: host2/165.37.131.160:2434. Reason: >>>>>> SocketException[Connection refused to address host2/ >>>>>> 165.37.131.160:2434] [SocketConnector] >>>>>> >>>>>> 2014-04-04 12:53:56:601 WARN [host1]:2434 [orientdb] Removing >>>>>> connection to endpoint Address[host2]:2434 Cause => >>>>>> java.net.SocketException {Connection refused to address host2/ >>>>>> 165.37.131.160:2434}, Error-Count: 5 [ConnectionMonitor]2014-04-04 >>>>>> 12:53:56:603 INFO [host1]:2434 [orientdb] Removing Member [host2]:2434 >>>>>> [ClusterService] >>>>>> >>>>>> 2014-04-04 12:53:56:607 INFO [host1]:2434 [orientdb] >>>>>> >>>>>> >>>>>> >>>>>> Members [1] { >>>>>> >>>>>> Member [host1]:2434 this >>>>>> >>>>>> } >>>>>> >>>>>> [ClusterService] >>>>>> >>>>>> 2014-04-04 12:53:56:608 WARN [node1396629248110] node removed >>>>>> id=Member [host2]:2434 name=node1396629292027 [OHazelcastPlugin] >>>>>> >>>>>> 2014-04-04 12:53:59:710 INFO [host1]:2434 [orientdb] Partition >>>>>> balance is ok, no need to re-partition cluster data... >>>>>> [PartitionService] >>>>>> >>>>>> >>>>>> >>>>>> On Friday, April 4, 2014 12:52:55 PM UTC-4, Dodong Juan wrote: >>>>>>> >>>>>>> It is actually up and no exceptions there .. Let me restart it again >>>>>>> .. >>>>>>> >>>>>>> On Friday, April 4, 2014 12:50:17 PM UTC-4, Lvc@ wrote: >>>>>>>> >>>>>>>> Hi, >>>>>>>> it's not clear what is the exception. Seems node node1396629292027 >>>>>>>> is always in timeout (offline?) >>>>>>>> >>>>>>>> Lvc@ >>>>>>>> >>>>>>>> >>>>>>>> -- >>>> >>>> --- >>>> 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.
