RE: Information regarding Ignite Web Console

2018-07-09 Thread Sriveena Mattaparthi
Hi Denis, Does ignite support oracle/RDBMS VIEWS without loading all the underlying tables that produced the view on to ignite cache? Thanks & Regards, Sriveena From: Denis Mekhanikov [mailto:dmekhani...@gmail.com] Sent: Wednesday, June 27, 2018 4:02 PM To: user@ignite.apache.org Subject: Re:

apache ignite atomicLong.incrementAndGet() is causing starvation in striped pool

2018-07-09 Thread Vadym Vasiuk
Hi All, I have Ignite cluster which consists of two nodes. Each node after start creates a continuous query which calls atomicLong.incrementAndGet() in "onUpdated" method: continuousQuery.setLocalListener(new CacheEntryUpdatedListener() { @Override public void

Re: apache ignite atomicLong.incrementAndGet() is causing starvation in striped pool

2018-07-09 Thread Вячеслав Коптилин
Hello Vadym, The root cause of the behavior is that you are trying to use `IgniteAtomicLong` instance within `ContinuousQuery` local listener. In general, you should avoid using cache operations in that listener ( `IgniteAtomicLong` uses IgniteCache under the hood), because this callback is

Ignite has the most active dev and user communities

2018-07-09 Thread Denis Magda
Igniters, Let me share some great news with you. ASF shared annual report [1] for 2018: - Top 5 Apache developer email lists: *Ignite (1st!)*, Kafka, Tomcat, Beam, and James - Top 5 Apache user email lists: Lucene/Solr, *Ignite (2nd!)*, Flink, Kafka, and Cassandra - Top 5 Apache

Re: Does Ignite support something like "database" from mysql?

2018-07-09 Thread Denis Magda
Multi-tenancy is provided as an extra feature for Ignite by GridGain. Talk to them. -- Denis On Wed, Jul 4, 2018 at 4:23 AM Maxim Malygin wrote: > Hi Guys, > > I 'd like to have isolated caches/tables for multiple tenants. In mysql I > can do it by creating databases per tenant. Is it possible

RE: OptimizedMarshaller instead of BinaryMarshaller is used forScanQuery

2018-07-09 Thread Calvin KL Wong, CLSA
Hi Stan, Thanks for your response. >> How did you check which marshaller is used in each case? i)from stack trace ii) step with a debugger >> Can you share the code of your POJO? Attached pojo.zip contains skeleton of the POJO. The object that was passed

OOME causing caches to be removed

2018-07-09 Thread djax
Ignite version: 2.5 This is on a 2 node cluster in AWS with 32GB RAM and 8 cores each. When executing the following SQL query, the query fills the JVM heap of each node (specified at 10 GB each node) and exits afterwards. On restart, the USER cache is removed from persistence (the cache on which

Re: When to use Ignite.Net Tansactions ?

2018-07-09 Thread Jörn Franke
Maybe you can elaborate more on your use case, because usually it is not a technical decision , but driven by user requirements. > On 9. Jul 2018, at 10:01, Mahesh Talreja wrote: > > Hi Team, > I am working on Dot Net project and trying to implement > Ignite.Net. > Being new to

Re: When to use Ignite.Net Tansactions ?

2018-07-09 Thread Mahesh Talreja
Hi Team, Thanks for replying! I hope you might have got some bit of the background of the requirement from my previous mail. If not, below is the example of the class that will be consumed by a microservice (A console app/background service). And using docker there will be multiple

RE: OptimizedMarshaller instead of BinaryMarshaller is used for ScanQuery

2018-07-09 Thread Calvin KL Wong, CLSA
Ok, I found that I can use binaryObject.deserialize() to get back the POJO. So, the only remaining question is: When a cache does not have 'withKeepBinary' set, why ContinuousQuery can handle class versioning fine whereas ScanQuery cannot? Is that an expected behaviour? Thanks, Calvin From:

Can we start an ignite node by passing ignite configuations in json file in case on Dot net Core

2018-07-09 Thread Mahesh Talreja
Hi Team, I am developing a project on DotNet Core , Since dot net core no longer supports app.config files, so is there a way where we can start an ignite node by passing ignite configurations in JSON file. If yes can you please share an example? -- *Thanking you,* *Regards,* *Mahesh Talreja*

How to create/ define a user defined cache while starting a standalone ignite node

2018-07-09 Thread Mahesh Talreja
Hi Team, I am trying to start an Ignite node in Standalone mode by just passing app.config file, I have set all ignite and ignite cache configuration in the file. but how to i specify a user defined type of cache to be created in app.config file in cache config section ? For example,

When to use Ignite.Net Tansactions ?

2018-07-09 Thread Mahesh Talreja
Hi Team, I am working on Dot Net project and trying to implement Ignite.Net. Being new to the world of ignite, and after having a read above transactions on ( https://apacheignite-net.readme.io/docs/transactions#atomicity-mode ) I am a bit confused with ignite transaction

Re: Affinity calls in stream receiver

2018-07-09 Thread David Harvey
We are testing whether removing the nested classes helps things, and if so, will create a reproducer. 1. IGNITE-7905 is the issue where ignite.active(true) fails from a client if userVersion is non-zero, which seems to be due to nested

Re: cache configuration FULL_SYNC

2018-07-09 Thread Prasad Bhalerao
I understand that FULL_SYNC is required to keep the consistency between primary data node and backup data node and not between the cache and 3rd party data. Sorry for asking the incorrect question. 1) Does ignite supports write through updates to 3rd party store when using update or delete sql?

RE: OptimizedMarshaller instead of BinaryMarshaller is used forScanQuery

2018-07-09 Thread Stanislav Lukyanov
Hi Calvin, It should work the same for all queries. Ideally OptimizedMarshaller shouldn’t even be used (except for JDK classes). How did you check which marshaller is used in each case? Can you share the code of your POJO? Or perhaps a runnable reproducer? Can you also share the logs/check

Re: Can we start an ignite node by passing ignite configuations in json file in case on Dot net Core

2018-07-09 Thread Вячеслав Коптилин
Hello, You can use Spring XML in order to configure Ignite instance. Spring config file can be provided via Ignition.Start(string) method and IgniteConfiguration.SpringConfigUrl property. Please take a look at this page: https://apacheignite-net.readme.io/docs/configuration#section-spring-xml

Does ignite support Read-consistent queries?

2018-07-09 Thread Prasad Bhalerao
Read-consistent queries: Queries that produce consistent results with respect to a point in time. Please check this article. I am speaking w.r.t. this article. https://asktom.oracle.com/pls/apex/f?p=100:11:0P11_QUESTION_ID:27330770500351 Oracle uses the information stored in rollback

cache configuration FULL_SYNC

2018-07-09 Thread Prasad Bhalerao
Hi, I am using FULL_SYNC cache write synchronization mode. 1) Does FULL_SYNC mode guarantees 100% consistency between ignite in memory cache and 3rd party data store (oracle in my case)? 2) Does FULL_SYNC mode requires to do the cache updates in ignite transaction?( I am using write through

Re: cache configuration FULL_SYNC

2018-07-09 Thread Evgenii Zhuravlev
Hi, 1. Cache write synchronization mode is not about 3rd party store, it's about waiting for write replies from other nodes. But Ignite with enabled 3rd party store guarantees consistency itself. 2. Ignite creates implicit transactions for atomic updates to guarantee consistency between nodes.

Re: cache configuration FULL_SYNC

2018-07-09 Thread Prasad Bhalerao
Resending my last mail ... I understand that FULL_SYNC is required to keep the consistency between primary data node and backup data node and not between the cache and 3rd party data. Sorry for asking the incorrect question. 1) Does ignite supports write through updates to 3rd party store when

Re: cache configuration FULL_SYNC

2018-07-09 Thread Evgenii Zhuravlev
1. As this doc says: https://apacheignite.readme.io/docs/3rd-party-store: Ignite writes through results of its SQL INSERT, UPDATE and MERGE queries. 2. Transaction in Ignite means absolutely the same as in another systems. If you want two or more changes to be in one transaction(i.e., classic

Re: How to create/ define a user defined cache while starting a standalone ignite node

2018-07-09 Thread Ilya Kasnacheev
Hello! I'm afraid it's not possible to do that via app.config. You will have to write Ignite XML config. As per https://apacheignite-net.readme.io/docs/configuration#section-spring-xml Regards, -- Ilya Kasnacheev 2018-07-09 11:36 GMT+03:00 Mahesh Talreja : > Hi Team, > I am

Re: cache configuration FULL_SYNC

2018-07-09 Thread Evgenii Zhuravlev
No, you're not correct, each insert/update will be consistent between cache and DB, transactions are not about consistency between cache and oracle database here, it's about more than one operation, as in an example I've shared in my previous message. Evgenii 2018-07-09 17:24 GMT+03:00 Prasad

Re: cache configuration FULL_SYNC

2018-07-09 Thread Prasad Bhalerao
Thank you for the clarification. Ignite does not support transactions with jdbc updates. So if I use delete/update SQL to delete/update the multiple cache entries, ignite will not provide strong consistency between cache and oracle database. Am I correct? On Mon, Jul 9, 2018 at 7:43 PM Evgenii

Register now for ApacheCon and save $250

2018-07-09 Thread Rich Bowen
Greetings, Apache software enthusiasts! (You’re getting this because you’re on one or more dev@ or users@ lists for some Apache Software Foundation project.) ApacheCon North America, in Montreal, is now just 80 days away, and early bird prices end in just two weeks - on July 21. Prices will

Re: cache configuration FULL_SYNC

2018-07-09 Thread Prasad Bhalerao
When you have multiple data sources (cache and oracle in this case) which should be updated in single transaction we use JTA. But with ignite transaction and ignite write through approach I don't have to use JTA. To keep the cache and oracle consistent one needs transaction. In this case one

Re: cache configuration FULL_SYNC

2018-07-09 Thread Evgenii Zhuravlev
Ignite internally guarantees that write through to the 3rd party cache store will be consistent with the update of the cache. Evgenii 2018-07-09 17:50 GMT+03:00 Prasad Bhalerao : > When you have multiple data sources (cache and oracle in this case) which > should be updated in single

Re: Apache Ignite Install As Service error

2018-07-09 Thread ApacheUser
the service is running but cant access, full message below []# systemctl status apache-ign...@default-config.xml ● apache-ign...@default-config.xml.service - Apache Ignite In-Memory Computing Platform Service Loaded: loaded (/etc/systemd/system/apache-ignite@.service; enabled; vendor preset:

Re: When to use Ignite.Net Tansactions ?

2018-07-09 Thread Ilya Kasnacheev
Hello! No, you don't need transactions with just one statement in them, as per your example code. If you have multiple statements, many things can happen between those 2 statements, such as entries updated and deleted, which might affect your computations in undesirable way. It's up to you to

Re: Can we start an ignite node by passing ignite configuations in json file in case on Dot net Core

2018-07-09 Thread slava.koptilin
Hello, Please take a look at Pavel's answer at stackoverflow: https://stackoverflow.com/questions/51245698/can-we-start-an-ignite-node-by-passing-ignite-configurations-in-json-file-in-cas It seems that it's the best option. Thanks. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: OOME causing caches to be removed

2018-07-09 Thread akurbanov
Hi, How do you create USER cache? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/