Re: Quick questions on Evictions

2018-06-18 Thread the_palakkaran
Hi, DataPageEvictionMode is deprecated now, right? What should I do to evict my off heap entries? Also, can I limit off heap memory usage? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cache Configuration for a data region

2018-06-18 Thread the_palakkaran
Do I need to configure something else for off heap eviction? I have on heap enabled and set eviction policy(LRU). Max size of 1MB also provided. I have 1.5million data, so obviously it some entries loaded in the start should be evicted. Still when I try to get those entries, I get performance

Re: monitoring function of web console

2018-06-18 Thread Hu Hailin
Hi, Thank you for your information. It's very helpful. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: A bug in SQL "CREATE TABLE" and its underlying Ignite cache

2018-06-18 Thread Вячеслав Коптилин
Hello, It seems that the root cause of the issue is wrong values of 'KEY_TYPE' and 'VALUE_TYPE' parameters. In your case, there is no need to specify 'KEY_TYPE' at all, and 'VALUE_TYPE' should Person.class.getName() I think. Please try the following: String createTableSQL = "CREATE TABLE

RE: SQL cannot find data of new class definition

2018-06-18 Thread Cong Guo
Can I add fields without restarting the cluster? My requirement is to do rolling upgrade. From: Вячеслав Коптилин [mailto:slava.kopti...@gmail.com] Sent: 2018年6月18日 17:35 To: user@ignite.apache.org Subject: Re: SQL cannot find data of new class definition Hello, > I use BinaryObject in the

Re: SQL cannot find data of new class definition

2018-06-18 Thread Вячеслав Коптилин
Hello, > I use BinaryObject in the first place because the document says BinaryObject “enables you to add and remove fields from objects of the same type” Yes, you can dynamically add fields to BinaryObject using BinaryObjecyBuilder, but fields that you want to query have to be specified on node

Re: Distributed Database as best choice for persistence

2018-06-18 Thread Denis Magda
No, you can't make Cassandra transactional by glueing it with Ignite. If you'd like to have transactions, then a strongly consistent store has to be used instead (like RDBMS or Ignite persistence). May I ask why don't you want to go for Ignite persistence? -- Denis On Mon, Jun 18, 2018 at 2:09

Re: A bug in SQL "CREATE TABLE" and its underlying Ignite cache

2018-06-18 Thread Denis Magda
Hi, Check out this code samples that suggest best practices on sticking together SQL + k/v if the structure is defined by CREATE TABLE. https://github.com/dmagda/ignite_world_demo -- Denis On Mon, Jun 18, 2018 at 11:50 AM Cong Guo wrote: > Hi, > > > > I need to use both SQL and non-SQL APIs

A bug in SQL "CREATE TABLE" and its underlying Ignite cache

2018-06-18 Thread Cong Guo
Hi, I need to use both SQL and non-SQL APIs (key-value) on a single cache. I follow the document in: https://apacheignite-sql.readme.io/docs/create-table I use "CREATE TABLE" to create the table and its underlying cache. I can use both SQL "INSERT" and put to add data to the cache. However,

RE: Ignite Node failure - Node out of topology (SEGMENTED)

2018-06-18 Thread naresh.goty
Thanks Dmitry -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cache Configuration for a data region

2018-06-18 Thread slava.koptilin
> I guess durable memory is pure RAM based and native persistence is combination of both RAM and disk. Durable memory is a memory architecture that allows processing and storing data both in memory and on disk. In other words, Ignite native persistence is a feature(add-on) provided by Durable

Re: Ignite docker container not able to join in cluster

2018-06-18 Thread dkarachentsev
Hi, You configured external public EC interface address (34.241...), but it should be internal: 172... Thanks! -Dmitry -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Error while Starting Grid: javax.management.InstanceAlreadyExistsException: (LruEvictionPolicy)

2018-06-18 Thread Andrey Mashenkov
Possibly, it is already fixed. Please, try to upgrade to the latest version. On Fri, Jun 8, 2018 at 5:25 PM HEWA WIDANA GAMAGE, SUBASH < subash.hewawidanagam...@fmr.com> wrote: > Hi Andrey, > > Thank you very much for the prompt response. > > > > We have only one node in a JVM. > > > > > > This

Re: Deleting a ticket from https://issues.apache.org/jira/projects/IGNITE/issues

2018-06-18 Thread Raghav
Hi Dkarachentsev, Thanks for your comments. I have closed the ticket but the ticket is still accessible with the URL. It would be helpful if we could delete the JIRA so that the ticket is not accessible over internet. Kindly let us know the team to contact to deleting the ticket. Thanks!!!

RE: High cpu on ignite server nodes

2018-06-18 Thread Stanislav Lukyanov
There is no default expiry policy, and no default eviction policy for the on-heap caches (just in case: expiry and eviction are not the same thing, see https://apacheignite.readme.io/docs/evictions and https://apacheignite.readme.io/docs/expiry-policies). I see that most of the threads in the

Re: Cache Configuration for a data region

2018-06-18 Thread the_palakkaran
Thanks, every thing other than native vs durable is now clear for me. I guess durable memory is pure RAM based and native persistence is combination of both RAM and disk. How to manipulate durable memory? Can I configure it? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cache Configuration for a data region

2018-06-18 Thread slava.koptilin
Hi, > 1. I have set setOnheapCacheEnabled(true) for every cache. > This means they will go into java heap right? As of AI 2.x Java heap is no longer treated as a data storage and might be used as an extra caching layer for entries you have in the off-heap. > 2. I don't clearly understand the

RE: SQL cannot find data of new class definition

2018-06-18 Thread Cong Guo
Hi, Does anyone have experience using both Cache and SQL interfaces at the same time? How do you solve the possible upgrade? Is my problem a bug for BinaryObject? Should I debug the ignite source code? From: Cong Guo Sent: 2018年6月15日 10:12 To: 'user@ignite.apache.org' Subject: RE: SQL cannot

Re: Unsubscribe me from mailing list

2018-06-18 Thread slava.koptilin
Hello, To unsubscribe from the user mailing list send a letter to user-unsubscr...@ignite.apache.org with a word "Unsubscribe" without quotes as a subject. If you have a mailing client, follow an unsubscribe link here: https://ignite.apache.org/community/resources.html#mail-lists Thanks, S.

Re: Cache Configuration for a data region

2018-06-18 Thread the_palakkaran
Hi, 1. I have set setOnheapCacheEnabled(true) for every cache. This means they will go into java heap right? 2. Is it possible for me to take control of this durable memory? What should essentially be kept there? How to do that? I don't clearly understand the difference between durable memory

Re: monitoring function of web console

2018-06-18 Thread dkarachentsev
Hi, AFAIK, you cannot download plugin separately, it's commercial product. You can use it for free from here [1] or purchase a payed version for internal use. [1] http://console.gridgain.com/ Thanks! -Dmitry -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

RE: monitoring function of web console

2018-06-18 Thread Stanislav Lukyanov
The plugin is shipped as a part of the GridGain Enterprise and Ultimate editions (which is basically Apache Ignite + GridGain plugins). The download links are here: https://www.gridgain.com/resources/download. The description of the GridGain WebConsole is here:

Re: Cache Configuration for a data region

2018-06-18 Thread slava.koptilin
Hello, As of Apache Ignite 2.x, all data are stored into off-heap memory [1]. On-heap memory is used only for temporary operations, buffers etc. > Also, I have my own cache store implementations. I hope this is only used > for read through and > write through from and to database and not for

monitoring function of web console

2018-06-18 Thread 胡海麟
Hello, The docs says: https://apacheignite-tools.readme.io/docs/ignite-web-console The web console also features cluster monitoring functionality (available separately as GridGain plugin) that shows various cache and node metrics as well as CPU and heap usage. I googled and failed to find

Re: Deleting a ticket from https://issues.apache.org/jira/projects/IGNITE/issues

2018-06-18 Thread dkarachentsev
Hi, Not sure if it's possible to remove the ticket. Just close it with won't fix status, it would be enough. Thanks! -Dmitry -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

If a lock is held by another node IgniteCache.isLocalLocked() appears to return incorrect results.

2018-06-18 Thread Jon Tricker
Additionally if a lock is held by another thread lock.tryLock() appears to block. Demonstrated by the following code. See header comment for a full description. The error at line 85 should not be printed. Found on Ignite 2.5.0. Reproducible on Windows and RHL. Note : The test is technically

Deleting a ticket from https://issues.apache.org/jira/projects/IGNITE/issues

2018-06-18 Thread Raghav
Hello Team, This is not regarding Ignite issue. Am in a situation to delete a ticket created in https://issues.apache.org/jira/projects/IGNITE/issues. As I do not have Admin rights am not able to delete the ticket. Could you please let me know whom should I contact for deletion of Ignite Tickets

Cache Configuration for a data region

2018-06-18 Thread the_palakkaran
Hi, I have multiple on heap caches attached to a data region of maximum 1GB size durable memory. I have 512MB heap memory specified also. Is it possible for me to set the size of this cache to take maximum of 100MB and store the remaining in durable memory? Otherwise, won't it be using the

Unsubscribe me from mailing list

2018-06-18 Thread Harsh Mishra
-- Regards, *Harsh Mishra** | Solution Architect* Quovantis Technologies Mobile: +91-9958311308 Skype ID: harshmishra1984 www.quovantis.com

Re: Distributed Database as best choice for persistence

2018-06-18 Thread piyush
cool. Does it maintain transactions ? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Distributed Database as best choice for persistence

2018-06-18 Thread dkarachentsev
Hi, Probably the best choice would be Cassandra as Ignite has out of the box integration with it [1]. [1] https://apacheignite-mix.readme.io/v2.5/docs/ignite-with-apache-cassandra Thanks! -Dmitry -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Distributed Database as best choice for persistence

2018-06-18 Thread piyush
which is best choice of distributed persistence for Ignite if we dont want to use native persistence ? Riak ? Cassandra ? Dynamo DB ? Has anyone tried this ? what was the experience ? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/