Re: Question on On-Heap Caching

2017-11-09 Thread colinc
With Ignite 2+, I have found that the on-heap option makes only modest improvements to performance in most cases. Likewise for copyOnRead=false, which works in conjunction with on-heap. These options work best in the case where you have a small number of cache entries that are read many times. In

Re: Renentrant Lock & deadlock

2017-11-09 Thread Andrey Mashenkov
Hi, ignite.reentrantLock() creates a cache for datastructures dynamically if is not exists yet. So, both it is same issue. On Tue, Oct 31, 2017 at 7:15 PM, rajivgandhi wrote: > That one was with ignite.getOrCreate > This one is with ignite.reentractLock. > > Are the

Cache Mode = LOCAL throwing exception while initialisation

2017-11-09 Thread Ankit Singhai
Hi, I am trying to create an Ignite cache with cacheMode="LOCAL" and on initialisation it is throwing NPE. localCache XML http://www.springframework.org/schema/beans; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="

Re: Ignite web console and we agent are running not able to see clusters

2017-11-09 Thread Alexey Kuznetsov
Hi, gkiran292! Did you managed to start web agent and connect cluster to Web console? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: ComputeGrid API in C++

2017-11-09 Thread Igor Sapego
Yes, this will do. Best Regards, Igor On Fri, Oct 27, 2017 at 5:49 PM, asingh wrote: > Ok, so, i first need to wrap ignite within an application that will > register > my user functions and start ignite. > I launch that application on every machine that I have. > Then, I

Re: Ignite Nodes not connecting to cluster in docker swam mode

2017-11-09 Thread Andrey Mashenkov
Hi, How many nodes you have? For large grids, there is a recommendation to prestart one node and then start others. Would you please share grid configuration and thread dumps from stucked nodes? On Thu, Nov 2, 2017 at 11:52 AM, rishi007bansod wrote: > Hi, >

Re: Ignite/Cassandra failing to use supplied value for where clause

2017-11-09 Thread Kenan Dalley
I don't see how because this is what's in the table. And the code specifically sets the "myId" to a value before it runs. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

RE: Node failed to startup due to deadlock

2017-11-09 Thread Alexey Popov
Hi Naresh, Unfortunately I don’t see any attachment, please send them again. Can you clarify your node startup activity. 1) How do you lock the caches? IgniteCache.lock() or IgniteCache.lockAll() locks only a one or batch of cache entries, not the whole Cache. 2) Do you really need some locks

Re: Re: When client node query a cache with JDBC storage, report miss the dataSourceBean

2017-11-09 Thread Ilya Kasnacheev
Hello Aaron! You can use thin JDBC driver for query only without the need to instantiate cacheStoreFactory on client. Regards, -- Ilya Kasnacheev 2017-11-09 4:34 GMT+03:00 aa...@tophold.com : > Got it thanks Ilya! > > So if we try to totally isolate the client from server,

Re: Using event to reconnect spring created cache client to server

2017-11-09 Thread guillMelo
Hello, I am sorry If I am not being clear, my goal is that, once the client cannot reconect to the cluster as the EVT_CLIENT_NODE_RECONNECTED event is triggered, I want to get a IgniteCache instance so I can re-register a continuous query. however, after the event is trigger if I do a

RE: Node failed to startup due to deadlock

2017-11-09 Thread naresh.goty
Hi Alexey, Please find the attached sample code to reproduce the deadlock (App should be started first, then wait till cache is locked, then start the App2. App2 will fail to start Ignite) App.java App2.java

Re: Deadlock detected while accessing caches

2017-11-09 Thread Andrey Mashenkov
Hi dark, It is known issue. The only workaround here is to presort keys before getAll \ putAll. On Fri, Nov 3, 2017 at 10:05 PM, dark wrote: > I also experienced a deadlock while attempting putAll using a HashMap. > I used AtomicityMode as ATOMIC. > If you are like me,

Re: Deadlock detected while accessing caches

2017-11-09 Thread Andrey Mashenkov
Hi Amit, Transactions on unsorted keysets also can cause a deadlock. However, unlikely to getAll on Atimoc cache, Ignite should detect deadlock in transactions. On Thu, Nov 9, 2017 at 3:31 PM, Andrey Mashenkov wrote: > Hi dark, > > It is known issue. The only

ΑΠ: Failed to parse query - Table not found

2017-11-09 Thread KLEARCHOU Klearchos
Hi, I found the issue. I have added this to the XML configuration: java.lang.Long org.apache.ignite.examples.model.Person And it worked! Thank you

Re: Out of memory in client node freezes complete cluster

2017-11-09 Thread ilya.kasnacheev
Hello! I would recommend using 2.2 or 2.3 and not 2.0. Having said that, it makes sense to avoid OOM because in many places behavior is undefined once you hit OOM. It should not be hard to avoid. It should not cause cluster to hang, but without logs from server nodes it's hard to understand

Re: Multiple Cluster and Cache Joins

2017-11-09 Thread StartCoding
Hi Val, Thanks for the quick response. The reason for separate clusters is separation of duties and maintenance perspective. Thanks Saji -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

JDBC Driver

2017-11-09 Thread kenn_thomp...@qat.com
Just started playing with ignite, trying to put it thru its paces. After successfully starting a cluster node, I started the web agent and headed out to the gridgrain web console host and could see the agent talking to the host. Awesome. Next step was to look at integrating with an existing

Re: JDBC Driver

2017-11-09 Thread Ilya Kasnacheev
Hello! What is the database that you want to integrate with? JDBC driver is a part of database code (sometimes as a separate package). -- Ilya Kasnacheev 2017-11-09 18:46 GMT+03:00 kenn_thomp...@qat.com : > Just started playing with ignite, trying to put it thru its

Re: Ignite-cassandra module issue

2017-11-09 Thread Michael Cherkasov
Hi Dmitriy, I created a ticket for this: https://issues.apache.org/jira/browse/IGNITE-6853 it will be fixed in 2.4. Thanks, Mike. 2017-11-09 2:35 GMT+03:00 Dmitriy Setrakyan : > Hi Michael, do you have any update for the issue? > > On Thu, Nov 2, 2017 at 5:14 PM, Michael

Re: Using event to reconnect spring created cache client to server

2017-11-09 Thread Evgenii Zhuravlev
Hey, Which exception threw there? Could you share stacktrace? Does here really client reconnects to the same cluster, or it was after the server node was restarted? Evgenii 2017-11-09 18:34 GMT+03:00 guillMelo : > Hello, > I am sorry If I am not being clear, my goal is

Re: Ignite/Cassandra failing to use supplied value for where clause

2017-11-09 Thread Andrey Mashenkov
Why Test1Key.id field is transient? Will it works if you remove transient modifier? Also, please check if you get value for key with 'null' id field. On Thu, Nov 9, 2017 at 5:49 PM, Kenan Dalley wrote: > I don't see how because this is what's in the table. And the code >

Re: Grid freezing

2017-11-09 Thread ezhuravlev
Is it possible that in dequeuePortionIds you will have the same keys(at least one the same key) for scanCache in different threads? If it's possible, I think it's pretty easy to face a deadlock here with _getCurrentMax(customerMaxCache, queryScan), while I suppose 2 different Scans could have the

Re: JDBC Driver

2017-11-09 Thread Denis Magda
Ignite Web Console - RDBMS integration series might be useful for you: https://ignite.apache.org/screencasts.html — Denis > On Nov 9, 2017, at 8:24 AM, Ilya Kasnacheev wrote: > > Hello! > > What is the database that you

Re: Ignite Affinity Latency

2017-11-09 Thread Denis Magda
Hi, What kind of logic you run inside of the affinity-based computation and how many computations do you have running in parallel? — Denis > On Nov 7, 2017, at 10:04 PM, rajivgandhi wrote: > > Hi, > We are seeing higher latency form ignite affinity (single

Re: getAverageGetTime/getAveragePutTime APIs of CacheMetrics always return 0

2017-11-09 Thread Denis Magda
Hi, In addition to that you need to enable cache metrics calculation: To enable cache metrics gathering: Set CacheConfiguration.setStatisticsEnabled(boolean) to true for every cache you want to collect the metrics for. Pass a particular EventStorageSpi interface implementation into

Re: Benchmark results questions

2017-11-09 Thread dkarachentsev
Hi Ray, I've finally got results of query benchmarks: 4s1c 80725.80 80725.80 4s2c 78797.90 157595.80 4s4c 54029.70 216118.80 8s1c 64185.60 64185.60 8s2c 61058.10 122116.20 8s4c 34792.70 139170.80 First column - cluster configuration (in 8 server variant 2 nodes per machine), second - average

Re: Using event to reconnect spring created cache client to server

2017-11-09 Thread Guilherme Melo
That's the problem, after the call to cache ("my-cache") it just holds, which is quite odd, because the call to get all cache names works normally, but attempting to get the instance fails. I can see from the topology that it connects to the correct cluster. Thanks On 9 Nov 2017 11:55 p.m.,

Re: How can I get Ignite security plugin to work with JDBC thin client?

2017-11-09 Thread Vladimir Ozerov
Hi Caleb, This appears to be a problem with our query execution engine, rather than with thin JDBC driver. I created a ticket to fix it [1]. [1] https://issues.apache.org/jira/browse/IGNITE-6856 On Tue, Oct 31, 2017 at 4:49 PM, Andrey Mashenkov < andrey.mashen...@gmail.com> wrote: > Caleb, > >