BTW, using version 1.7-SNAPSHOT -Thanks
On Monday, April 7, 2014 10:58:36 AM UTC+5:30, Manju Kt wrote: > > Hi, > I'm new to OrientDB. I ran into the following issue yesterday while trying > the perform replication test. Please help! Thanks in Advance. > Using all default configurations... > Here are the steps that I'm following for testing > 1. Start Node1 and Node2(Different VM) > 2. Connect to Node1 and Node2 using console on respective VMs > 3. Shut down Node 2 and in console of Node1, create a vertex(using default > GratefulDeadConcerts db) > 4. Start the Node 2 and the following issue comes up and the replication > of newly created vertex is not happening > Here is the log... > > ---------- [OHazelcastPlugin] > 2014-04-07 10:50:17:450 WARN [node150] found 1 previous messages in queue > orientdb.node.node150.GratefulDeadConcerts.request, aligning the > database... [OHazelcastDistributedMessageService] > 2014-04-07 10:50:21:178 WARN segment file 'database.ocf' was not closed > correctly last time [OSingleFileSegment]Exception in thread "OrientDB Node > Request orientdb.node.node150.GratefulDeadConcerts.request" > com.orientechnologies.common.exception.OException: File flush was > abnormally terminated > at > com.orientechnologies.orient.core.index.hashindex.local.cache.OWOWCache.flush(OWOWCache.java:356) > at > com.orientechnologies.orient.core.index.hashindex.local.cache.OReadWriteDiskCache.flushFile(OReadWriteDiskCache.java:218) > at > com.orientechnologies.orient.core.storage.impl.local.paginated.OClusterPositionMap.flush(OClusterPositionMap.java:90) > at > com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.synch(OPaginatedCluster.java:1450) > at > com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.close(OPaginatedCluster.java:219) > at > com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.doClose(OLocalPaginatedStorage.java:1926) > at > com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.close(OLocalPaginatedStorage.java:275) > at > com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.open(OLocalPaginatedStorage.java:203) > at > com.orientechnologies.orient.core.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:265) > at > com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.open(ODatabaseWrapperAbstract.java:54) > at > com.orientechnologies.orient.server.OServer.openDatabase(OServer.java:543) > at > com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.initDatabaseInstance(OHazelcastDistributedDatabase.java:310) > at > com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.setOnline(OHazelcastDistributedDatabase.java:317) > at > com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase$1.run(OHazelcastDistributedDatabase.java:269) > at java.lang.Thread.run(Thread.java:662) > Caused by: java.util.concurrent.ExecutionException: > java.lang.NullPointerException > at > java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) > at java.util.concurrent.FutureTask.get(FutureTask.java:83) > at > com.orientechnologies.orient.core.index.hashindex.local.cache.OWOWCache.flush(OWOWCache.java:351) > ... 16 more > Caused by: java.lang.NullPointerException > at > com.orientechnologies.orient.core.index.hashindex.local.cache.OWOWCache$FileFlushTask.call(OWOWCache.java:976) > at > com.orientechnologies.orient.core.index.hashindex.local.cache.OWOWCache$FileFlushTask.call(OWOWCache.java:925) > at > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > at java.util.concurrent.FutureTask.run(FutureTask.java:138) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > ... 1 more > Exception in thread "main" > com.orientechnologies.orient.core.exception.OStorageException: Storage > GratefulDeadConcerts is not opened. > at > com.orientechnologies.orient.core.storage.OStorageEmbedded.checkOpeness(OStorageEmbedded.java:242) > at > com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.getClusterIdByName(OLocalPaginatedStorage.java:979) > at > com.orientechnologies.orient.server.distributed.ODistributedStorage.getClusterIdByName(ODistributedStorage.java:602) > at > com.orientechnologies.orient.core.db.raw.ODatabaseRaw.getClusterIdByName(ODatabaseRaw.java:388) > at > com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.getClusterIdByName(ODatabaseWrapperAbstract.java:190) > at > com.orientechnologies.orient.core.metadata.OMetadataDefault.init(OMetadataDefault.java:108) > at > com.orientechnologies.orient.core.metadata.OMetadataDefault.load(OMetadataDefault.java:68) > at > com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.open(ODatabaseRecordAbstract.java:288) > at > com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.open(ODatabaseWrapperAbstract.java:54) > at > com.orientechnologies.orient.server.OServer.openDatabase(OServer.java:543) > at > com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.initDatabaseInstance(OHazelcastDistributedDatabase.java:310) > at > com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.loadDistributedDatabases(OHazelcastPlugin.java:687) > at > com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.startup(OHazelcastPlugin.java:196) > at > com.orientechnologies.orient.server.OServer.registerPlugins(OServer.java:702) > at > com.orientechnologies.orient.server.OServer.activate(OServer.java:228) > at > com.orientechnologies.orient.server.OServerMain.main(OServerMain.java:32) > > > -Manju > -- --- 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.
