Something's not right. I'm seeing this as 100% reproducible on two different OSes.
Are you running "mvn package" on both testIgnite1 and testIgnite2 and then starting the shaded JARs simultaneously from two different shell windows using "java-jar ignite?...-standalone.jar"? Matt > On Feb 27, 2017, at 8:58 AM, Nikolai Tikhonov <[email protected]> wrote: > > I was not able reproduce it. Could you share full logs and thread dumps from > all nodes? > >> On Mon, Feb 27, 2017 at 7:45 PM, Matt Warner <[email protected]> >> wrote: >> Using the test code I sent previously, I changed the ports to be a range but >> both clients still deadlock on getOrCreateCache. >> >> Are you able to reproduce this using the test code I sent? >> >> Matt >> >> >>> On Mon, Feb 27, 2017 at 3:02 AM, Nikolai Tikhonov <[email protected]> >>> wrote: >>> Hi Matt! >>> >>> Try to change ipFinder.setAddresses(Arrays.asList("127.0.0.1:47500")); to >>> ipFinder.setAddresses(Arrays.asList("127.0.0.1:47500..47505")); >>> >>>> On Fri, Feb 24, 2017 at 4:00 PM, Matt Warner <[email protected]> >>>> wrote: >>>> Hi Nikolai. >>>> >>>> I discovered the reason the two applications weren't seeing each other was >>>> resolved by adding an explicit port number >>>> (Arrays.asList("127.0.0.1:47500")). However, the two still deadlock when >>>> running concurrently. >>>> >>>> The latest test shows one application blocked in getOrCreateCache, the >>>> other blocked in Ignition.start. As soon as I kill the process stuck in >>>> Iginition.start the other process continues successfully. I've attached >>>> the latest test code. >>>> >>>> Any ideas? >>>> >>>> Matt >>>> >>>>> On Wed, Feb 22, 2017 at 10:30 AM, Matt Warner [via Apache Ignite Users] >>>>> <[hidden email]> wrote: >>>>> One other observation: with the third application acting as just the >>>>> server, and just one of the clients running, there is no issue. Only when >>>>> there are multiple clients do I get the deadlock on getOrCreateCache. >>>>> >>>>> Matt >>>>> >>>>> 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-tp10737p10811.html >>>>> To unsubscribe from getOrCreateCache hang, click here. >>>>> NAML >>>> >>>> >>>> testIgnite.tar.gz (14K) Download Attachment >>>> >>>> View this message in context: Re: getOrCreateCache hang >>>> >>>> Sent from the Apache Ignite Users mailing list archive at Nabble.com. >>> >> >
