Re: Very high memory consumption in apache ignite

2016-11-16 Thread rishi007bansod
I did memory analysis following is result I got in eclipse MAT. What further memory tuning can I apply? -- View this message in context:

Restarting Tomcat container and Rebalancing

2016-11-16 Thread styriver
We are running ignite inside a tomcat container. We have two tomcat instances on two different servers each tomcat instance is a server node. In our corporate turnover workflow we stop and restart each tomcat instance in sequence. Example: Deploy new war restart tomcat instance on server A

Re: Order of transaction commit, cache update and event listener notification

2016-11-16 Thread vkulichenko
Hi, I'm not sure I understand why REPEATABLE_READ doesn't work for you. What do you mean by "we cannot know all keys that will be read in the readonly transaction"? How do you read them then? -Val -- View this message in context:

Re: How fit Apache Ignite Distributed Cron job currently alike Quartz Scheduler

2016-11-16 Thread vkulichenko
Hi, Can you give more details on the use case? What is the problem you're trying to solve? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-fit-Apache-Ignite-Distributed-Cron-job-currently-alike-Quartz-Scheduler-tp9017p9030.html Sent from the Apache

Re: Can java code look up cache in server without Ignition.start(cfg)

2016-11-16 Thread vkulichenko
Saji, Ignition.ignite() is used to get the already started Ignite instance. There is also Ignition.getOrStart() method that actually implements the logic you described, so you can just use it. -Val -- View this message in context:

Re: Apache Spark & Ignite Integration

2016-11-16 Thread vkulichenko
a. Data is stored in Ignite and Spark will fetch data for a particular partition when you execute something. It will be done lazily page by page while iteration is happening. Specifically, IgniteRDD overrides compute() method where it gets a scan query iterator over a partition. b. When you

Re: Failed to send message to remote node error when remote node has been terminated

2016-11-16 Thread vkulichenko
Hi, If one of the nodes (client or server) leaves or fails, discovery component will notify everyone else about this. However, this is not happening momentarily, so there is a time gap between actual failure and discovery notification. If a message is sent within this gap, it will end up with

Re: Cluster hung after a node killed

2016-11-16 Thread javastuff....@gmail.com
Could you please elaborate your suspicion? addRoleDelegationToCache and addDocument calls were made after killing node3, these calls trying to push data into cache and we are not using any transaction API to start or commit transaction on cache explicitly while pushing data to cache. And these

Re: Problem with v for listening updates

2016-11-16 Thread dkarachentsev
Hi Andry! Continuous query for performance reasons tries to avoid deserialization of binary values and reads cached data. Each time when you invoke CacheEntryEvent.getOldValue() you read just the same instance that was last deserialized, and it's actually returned by get() operation. So why it

Failed to send message to remote node error when remote node has been terminated

2016-11-16 Thread hartst
Hi, We are using remote messaging to implement a pub/sub mechanism between clients in c# // done in class constructor _ignite.SetClientMode(true); var _remoteMessaging = _ignite.GetCluster().ForRemotes().GetMessaging(); ... // done when we publish to topic so interested clients can pick up

Re: Apache Spark & Ignite Integration

2016-11-16 Thread pragmaticbigdata
Ok. a. From your comments I understand that there is only one copy of the data which resides on the ignite cluster. The data is not copied on the spark nodes while executing the lineage graph consisting of transformations & actions. If my understanding is correct what happens when a

Order of transaction commit, cache update and event listener notification

2016-11-16 Thread newbie
Hi, We have a replicated, transactional cache with writeThrough and readThrough. Some of our transactions are readonly and require snapshot isolation i.e., any updates to any of the keys by other concurrent transaction commits are not visible until the end of the read transaction. I understand

How fit Apache Ignite Distributed Cron job currently alike Quartz Scheduler

2016-11-16 Thread Navneet Kumar
Hi All, Case1: I can use quartz frmaework cron job scheduler which has JobStore as Apache Ignite. How well be it recommended. Because I have to write my IgniteJobStore by implementing the Quart JobStore interface. Is there any code reference for ApacheIgniteJobStore? Case2: Could I use the Apache