Re: How to start Ignite with a jar built from the source code

2018-04-19 Thread Naveen
Hi Andrei I have been using this way with ignite.sh by passing a config XML However, going forward I wanted to build the jar from source and run the jar with the config file (similar to starting with ignite.sh) instead of ignite.sh Reason being, every time there is a version upgrade or newer

Re: Ignite thread state Waiting/blocked

2018-04-19 Thread vkulichenko
Prasad, Probably "inherit" term is not a correct one here, and in general I'm not the biggest Spring expert, sorry :) What I meant is that if Ignite is declared as a bean, there can be another bean that depends on Ignite (IgniteAtomicSequence in this case), right? If Ignite is declared as a

Re: Ignite thread state Waiting/blocked

2018-04-19 Thread Prasad Bhalerao
Hi, 1) I will send the complete thread dump. 2) I am using IngiteSpringBean to initialize ingite. What I saw is ignite spring bean wraps ignite instance in it. So I autowired ignite instead of ingnite spring bean to create atomic sequence. But still I did understand your second point "and then

Re: Customized affinity function

2018-04-19 Thread vkulichenko
Statistically it's very unlikely that all big subscriptions (or many of them) will end up together. So I would check if there is an issue first and go from there. Technically you can implement your own AffinityFunction to customize distribution. But that's not a trivial task as you will have to

Re: Reclaim memory from off-heap

2018-04-19 Thread vkulichenko
Deepesh, Memory is allocated by a data region, not by a particular cache. So yes, you can destroy and create caches in a region to reuse its memory. -Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Which ports does ignite cluster need to run normally?

2018-04-19 Thread vkulichenko
Most of these seem to ephemeral ports assigned to discovery and communication clients when they connect to well known configured ports on server side. That would always happen for any TCP connection. -Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Slow invoke call

2018-04-19 Thread vkulichenko
Sam, Entry processor is indeed executed within a lock, this is required to achieve atomicity. So if there is high contention on a single key, requests will wait for each other. And this is yet another reason to make entry processor implementation as lightweight as possible so that it does not

Re: Ignite thread state Waiting/blocked

2018-04-19 Thread vkulichenko
1. Can you show full thread dump, not only the thread that creates atomic sequence? Also are there any exception on server nodes? 2. You can use IgniteSpringBean to initialize Ignite as a bean, and then inherit other stuff from it. -Val -- Sent from:

Re: Inconsistency reading cache from code and via REST?

2018-04-19 Thread aealexsandrov
Hi Michael, I reproduced your problem. It's a known issue. Please take a look at this responce to find the workaround: http://apache-ignite-users.70518.x6.nabble.com/How-to-use-rest-api-to-put-an-object-into-cache-td5897.html#a5955 Looks like this problem will be solved for basic types at next

Re: Issue IGNITE-3471

2018-04-19 Thread Prasad Bhalerao
Hi, Wrapping executeEntryProcessorTransaction() method in affinity run will help if the whole data is collocated on same node. But In my case data is distributed across cluster and I want to update whole data in single distributed transaction. If I collocate data on single node then cluster will

Ignite thread state Waiting/blocked

2018-04-19 Thread Prasad Bhalerao
1) As per this link https://www.gridgain.com/sdk/pe/latest/javadoc/org/apache/ignite/IgniteSpringBean.html I used ContextRefreshedEvent to initialize atomic ignite sequence as a spring bean. But when I do this the thread creating atomic sequence is getting hunup. Please check the thread dump as

Roadmap, especially TensorFlow integration

2018-04-19 Thread DLin5
Hi All, I've got a question about the roadmap: when I can expect a tensor flow integration? I've read it in a dev article but i've got no further information about it. Thank in advance, Dennis -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Running Ignite as Windows service

2018-04-19 Thread Oleks K
Yeah, I saw that post. Ideally I'd like to run java Ignite as all other processes in our system are java ones. We are using the same approach for monitoring (JMX), etc -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Running Ignite as Windows service

2018-04-19 Thread Roman Guseinov
Hi Oleksandr, It looks like you are able to install Ignite.NET node as a Windows Service using the following command [1]: Apache.Ignite.exe /install Best Regards, Roman [1] https://stackoverflow.com/questions/39360311/how-to-run-apache-ignite-as-daemon-on-windows -- Sent from:

Re: Inconsistency reading cache from code and via REST?

2018-04-19 Thread michael
Hi Andrei 1. Ignite version is 2.3.0 2. xml config - attached. Actually example-ignite.xml and imported resource example-default.xml. N.B. this is the deafult xml I got from install but with peerClassLoadingEnabled set to true since I was also testing the broadcast functionality. 3.

Running Ignite as Windows service

2018-04-19 Thread Oleks K
Hi Team, We are deploying Ignite as part of distributed system on Windows 2012 R2 servers. We are going to start all processes as Windows services. What is a recommended approach to do this for Ignite? Should we use some service wrapper? Ignite.NET? (All our clients are java processes) Do you

Re: Which ports does ignite cluster need to run normally?

2018-04-19 Thread Oleks K
Hi Team, Coming back to this question with Ignite 2.4.0 Here is what I see in Resource monitor (Windows Server 2012 R2) Can you comment on these unknown-purpose ports please? Image PID Address PortProtocol java.exe3892IPv6 unspecified10800