Re: Error of start with multiple data regions

2018-01-15 Thread slava.koptilin
Hi,

I've created JIRA ticket https://issues.apache.org/jira/browse/IGNITE-7414
As a temporary workaround, I'd suggest deactivating the cluster before
closing.

Thanks!



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: Error of start with multiple data regions

2017-12-26 Thread slava.koptilin
Hi,

I have reproduced the problem you described.
I will investigate this issue and file JIRA ticket in order to track this.

Thanks!



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: Error of start with multiple data regions

2017-12-26 Thread huangyuanqiang
CacheConfiguration cacheCfg = new CacheConfiguration();
cacheCfg.setName(CACHE_SERVER_INFO);
cacheCfg.setDataRegionName("memory");
cacheCfg.setAtomicityMode(CacheAtomicityMode.ATOMIC);
cacheCfg.setCacheMode(CacheMode.PARTITIONED);
cacheCfg.setCopyOnRead(false);
cacheCfg.setIndexedTypes(String.class, byte[].class);
this.server.getOrCreateCache(cacheCfg);



  And


CacheConfiguration cacheCfg = new CacheConfiguration(COMMIT_LOG_PRE_NAME + 
groupid);
cacheCfg.setAtomicityMode(CacheAtomicityMode.ATOMIC);
cacheCfg.setCacheMode(CacheMode.LOCAL);
cacheCfg.setIndexedTypes(Long.class, byte[].class);
this.server.getOrCreateCache(cacheCfg);





huangyuanqiang
huangyuanqi...@elex-tech.com



> 在 2017年12月26日,下午8:43,slava.koptilin  写道:
> 
> Hello,
> 
> Data region configurations look good to me. I've just tried this config and
> it works.
> Could you provide more details? cache configurations etc
> 
> Thanks!
> 
> 
> 
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/



Re: Error of start with multiple data regions

2017-12-26 Thread slava.koptilin
Hello,

Data region configurations look good to me. I've just tried this config and
it works.
Could you provide more details? cache configurations etc

Thanks!



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


RE: Error of start with multiple data regions

2017-12-26 Thread Alexey Popov
Sorry. Please ignore my response ). I just misread you message. 

Thank you,
Alexey

From: Alexey Popov
Sent: 26 декабря 2017 г. 12:05
To: user@ignite.apache.org
Subject: Re: Error of start with multiple data regions

Hi,

Apache Ignite does not have this functionality out of the box and the
community could not help with your question. 
You should ask this question directly to the company who provides a multiple
data regions solution.

Thank you,
Alexey





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/



Re: Error of start with multiple data regions

2017-12-26 Thread Alexey Popov
Hi,

Apache Ignite does not have this functionality out of the box and the
community could not help with your question. 
You should ask this question directly to the company who provides a multiple
data regions solution.

Thank you,
Alexey





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/