Tried this on 1.7rc1.
The other node does create database folder under {ORIENTDB_HOME}/database 
and put file distributed-config.json in it. But still there is no DB 
replication.
Is it ok?

On Wednesday, February 5, 2014 10:36:39 AM UTC-5, Andrey Yesyev wrote:
>
> Hi,
>
> I tried to create a new DB on one of the nodes in distributed mode, I've 
> got this exception on the other one
>
> 2014-02-05 10:28:54:367 INFO updated distributed configuration for 
>>> database: test:
>>
>> ----------
>>
>> {
>>
>>   "replication":true,
>>
>>   "autoDeploy":true,
>>
>>   "hotAlignment":true,
>>
>>   "resyncEvery":15,"clusters":{
>>
>>     "internal":{
>>
>>   "replication":false
>>
>> },
>>
>>     "index":{
>>
>>   "replication":false
>>
>> },
>>
>>     "*":{
>>
>>   "replication":true,
>>
>>   "readQuorum":1,
>>
>>   "writeQuorum":2,
>>
>>   "failureAvailableNodesLessQuorum":false,
>>
>>   "readYourWrites":true,"partitioning":{
>>
>>     "strategy":"round-robin",
>>
>>     "default":0,
>>
>>     "partitions":[["<NEW_NODE>","LENOVO_2"]]
>>
>>     }
>>
>> }
>>
>>     },
>>
>>   "version":1
>>
>> }
>>
>> ---------- [OHazelcastPlugin]Error on saving distributed configuration 
>>> file
>>
>> C:\orientdb-community-1.6.4\databases\test\distributed-config.json (The 
>>> system cannot find the path specified)
>>
>> -> java.io.FileOutputStream.open(Native Method)
>>
>> -> java.io.FileOutputStream.<init>(FileOutputStream.java:221)
>>
>> -> java.io.FileOutputStream.<init>(FileOutputStream.java:171)
>>
>> -> 
>>> com.orientechnologies.orient.server.distributed.ODistributedAbstractPlugin.saveDatabaseConfiguration(ODistributedAbstractPlugin.java:260)
>>
>> -> 
>>> com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.entryAdded(OHazelcastPlugin.java:471)
>>
>> -> com.hazelcast.map.MapService.dispatchEvent(MapService.java:684)
>>
>> -> com.hazelcast.map.MapService.dispatchEvent(MapService.java:65)
>>
>> -> 
>>> com.hazelcast.spi.impl.EventServiceImpl$LocalEventDispatcher.run(EventServiceImpl.java:529)
>>
>> -> 
>>> com.hazelcast.util.executor.StripedExecutor$Worker.run(StripedExecutor.java:142)
>>
>> -> 
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>
>> -> 
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>
>> -> java.lang.Thread.run(Thread.java:744)
>>
>> -> 
>>> com.hazelcast.util.executor.PoolExecutorThreadFactory$ManagedThread.run(PoolExecutorThreadFactory.java:59)
>>
>>

-- 

--- 
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/groups/opt_out.

Reply via email to