Hello,

I have a 3-node cluster running 2.0 final. Java is 1.7.0_71. OS is CentOS 7 
with SELINUX and firewall disabled.

When I try to create a database and insert data I get this exception:

com.orientechnologies.common.exception.OException: *Cannot find best 
> cluster for class 'Company' on server* 'vm5.domain.com'. 
> ClusterStrategy=local
> at 
> com.orientechnologies.orient.server.hazelcast.OLocalClusterStrategy.readConfiguration(
> OLocalClusterStrategy.java:92) ~[na:na]
> at 
> com.orientechnologies.orient.server.hazelcast.OLocalClusterStrategy.getCluster(
> OLocalClusterStrategy.java:62) ~[na:na]
> at 
> com.orientechnologies.orient.core.metadata.schema.OImmutableClass.getClusterForNewInstance(
> OImmutableClass.java:273) ~[orientdb-core-2.0.jar:2.0]
> at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(
> ODatabaseDocumentTx.java:2234) ~[orientdb-core-2.0.jar:2.0]
> at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(
> ODatabaseDocumentTx.java:2108) ~[orientdb-core-2.0.jar:2.0]
> at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(
> ODatabaseDocumentTx.java:117) ~[orientdb-core-2.0.jar:2.0]
> at 
> com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.createRecord(
> OBinaryNetworkProtocolAbstract.java:349) ~[orientdb-server-2.0.jar:2.0]
> at 
> com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.createRecord(
> ONetworkProtocolBinary.java:1375) ~[orientdb-server-2.0.jar:2.0]
> at 
> com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(
> ONetworkProtocolBinary.java:350) ~[orientdb-server-2.0.jar:2.0]
> at 
> com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.execute(
> OBinaryNetworkProtocolAbstract.java:216) ~[orientdb-server-2.0.jar:2.0]
> at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:65) 
> ~[orientdb-core-2.0.jar:2.0]



The only other thing I can find in the log is this exception prior to above 
problem:

2015-01-28 18:31:51:796 INFO  [vm5.domain.com] Saving distributed 
> configuration file for database 'umom_graphdb' to: 
> /opt/orientdb-databases/umom_graphdb/distributed-config.json 
> [OHazelcastPlugin][10.0.0.116]:2434 
> [orientdb] [3.3] hz._hzInstance_1_orientdb.event-5 caught an exception 
> while processing 
> task:com.hazelcast.spi.impl.EventServiceImpl$LocalEventDispatcher@b11fcc2
> *java.lang.NullPointerException*
> at 
> com.orientechnologies.orient.server.OClientConnectionManager.pushDistribCfg2Clients(OClientConnectionManager.java:303)
> at 
> com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.entryUpdated(OHazelcastPlugin.java:633)
> at 
> com.hazelcast.map.MapEventPublishingService.dispatch0(MapEventPublishingService.java:91)
> at 
> com.hazelcast.map.MapEventPublishingService.dispatchEntryEventData(MapEventPublishingService.java:64)
> at 
> com.hazelcast.map.MapEventPublishingService.dispatchEvent(MapEventPublishingService.java:39)
> at 
> com.hazelcast.map.MapEventPublishingService.dispatchEvent(MapEventPublishingService.java:17)
> at com.hazelcast.map.MapService.dispatchEvent(MapService.java:76)
> at com.hazelcast.map.MapService.dispatchEvent(MapService.java:51)
> at 
> com.hazelcast.spi.impl.EventServiceImpl$LocalEventDispatcher.run(EventServiceImpl.java:658)
> at 
> com.hazelcast.util.executor.StripedExecutor$Worker.process(StripedExecutor.java:189)
> at 
> com.hazelcast.util.executor.StripedExecutor$Worker.run(StripedExecutor.java:173)


I think I looked everywhere but can't find the problem. Any help is much 
appreciated.



 

-- 

--- 
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.

Reply via email to