ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Warner <m...@warnertechnology.com>
Subject Re: getOrCreateCache hang
Date Wed, 22 Feb 2017 14:21:34 GMT
I will try this in about 2 hours and let you know. 

> On Feb 22, 2017, at 5:43 AM, Nikolai Tikhonov <ntikhonov@apache.org> wrote:
> 
> Could you try start to server from java code and look at results?
> 
> Thanks,
> Nikolay
> 
>> On Wed, Feb 22, 2017 at 4:36 PM, Matt Warner <matt@warnertechnology.com> wrote:
>> I am using the default configuration for the server and starting it with ignite.sh.
>> 
>> Yes, the Store classes are being deployed into the Ignite libs directory as well
as part of the both testIgnite1 and testIgnite2.
>> 
>> I feel like I'm missing something?
>> 
>> Matt
>> 
>>> On Wed, Feb 22, 2017 at 4:50 AM, Nikolai Tikhonov-2 [via Apache Ignite Users]
<[hidden email]> wrote:
>>> Hi Matt!
>>> 
>>> I've run your test and didn't faced with the issue. I used the following code
for start server node (placed in your project):
>>> 
>>> public class Server {
>>>    public static void main(String[] args) throws Exception {
>>>       TcpDiscoverySpi spi = new TcpDiscoverySpi();
>>>       TcpDiscoveryVmIpFinder ipFinder = new TcpDiscoveryVmIpFinder();
>>>       ipFinder.setAddresses(Arrays.asList("127.0.0.1"));
>>>       spi.setIpFinder(ipFinder);
>>>       IgniteConfiguration cfg = new IgniteConfiguration();
>>>       cfg.setDiscoverySpi(spi);
>>> 
>>>       Ignition.start(cfg);
>>>    }
>>> }
>>> Which configuration you used for start server node? For your case you should
deploy Store classes on all nodes in cluster.
>>> 
>>> Thanks,
>>> Nikolay
>>> 
>>>> On Wed, Feb 22, 2017 at 1:27 AM, Matt Warner <[hidden email]> wrote:
>>>> There were some coding errors in the previous attachment. The previous code
>>>> still illustrates the deadlock, but the attached correctly stores data in
>>>> tables.
>>>> 
>>>> I've also included the test input file, for completeness. testCode.gz
>>>> <http://apache-ignite-users.70518.x6.nabble.com/file/n10770/testCode.gz>
>>>> 
>>>> 
>>>> 
>>>> --
>>>> View this message in context: http://apache-ignite-users.70518.x6.nabble.com/getOrCreateCache-hang-tp10737p10770.html
>>>> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>>> 
>>> 
>>> 
>>> If you reply to this email, your message will be added to the discussion below:
>>> http://apache-ignite-users.70518.x6.nabble.com/getOrCreateCache-hang-tp10737p10795.html
>>> To unsubscribe from getOrCreateCache hang, click here.
>>> NAML
>> 
>> 
>> View this message in context: Re: getOrCreateCache hang
>> 
>> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
> 

Mime
View raw message