Re: Cache Indexes not getting created Ignite v2.1

2017-10-02 Thread iostream
Hi, any update on this? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Question about number of total onheap and offheap cache entries.

2017-10-02 Thread Ray
Hi Alexey My cache configuration is as follows. cacheConfig.setName("DailyAggData") cacheConfig.setIndexedTypes(classOf[A], classOf[B]) cacheConfig.setSqlSchema("PUBLIC") aggredCacheConfig.setBackups(2) cacheConfig.setQueryParallelism(8) I didn't explicitly set "onHeapEnabled=true". So what will

Re: Question about number of total onheap and offheap cache entries.

2017-10-02 Thread Alexey Kuznetsov
Hi Ray! Could you show your cache configuration? In case if you set "onHeapEnabled=true" Ignite will "cache" values in heap during get & sql operations. And heap metric will be > 0. As for 2.3 - it will be released by the end of October. You can always try to build from sources from master.

Cache size in Memory

2017-10-02 Thread pradeepchanumolu
Hi , Can someone let me know how to get the stats of the cache like how large (like how many MB/GB) is the cache in memory (both on and off heap)? Currently, I can only get number of entries in the cache using the cache.size(CachePeekMode.ONHEAP), cache.size(CachePeekMode.OFFHEAP).

Re: How do I support schema change in Ignite as well as addition of new Cache?

2017-10-02 Thread Sumit Sethia
Hi, Thanks for the suggestion. I used BinaryObjectBuilder and then create/drop cache at runtime in case schema changes. I would like to understand more about the underlying implementations and also want to contribute. Can you point me to some documentation which talks about the design and the

Re: How do I support schema change in Ignite as well as addition of new Cache?

2017-10-02 Thread Denis Magda
Hi Sumit, In addition to the approach suggested by Nick you can go for DDL way: https://apacheignite.readme.io/docs#section-create-table You can create tables (and underlying caches), indexes in runtime. To tie such a table up with a MySQL layer you need to register a template with your

Re: Trouble to connect to ignite cluster on kubernetes

2017-10-02 Thread Denis Magda
Anton, In general, the application has to be in the same network where the cluster nodes are. Otherwise you might face various network related issues due to the specificity on how Kubernetes manages the network. There is a ticket to cover your use case. A new IP finder should be created for

Re: Question about number of total onheap and offheap cache entries.

2017-10-02 Thread Ray
Thank you Vasiliy for your answer. In the ticket, it looks like the problem is with the off-heap entry count. But my question is why the on-heap entry count is always the same as the off-heap entry count? Ignite stores the cache off-heap by default, so in design there will be zero on-heap entry

Re: Cache Destroy - Space reclaim

2017-10-02 Thread pradeepchanumolu
Thanks Val !! -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Trouble to connect to ignite cluster on kubernetes

2017-10-02 Thread Nikolai Tikhonov
Hi Anton! For work Apache Ignite cluster requires that all nodes are able to communicate to each other directly. If I understood correctly kubernete starts up internal network interfaces and this environment looks similar that Apache Ignite works behind proxy. In this case you need to configure

Re: computation on view

2017-10-02 Thread James
Nikolai, What is "describe on update events and update the cache"? Can you describe them in detail or provide a url? For question 3, can I use grid service to do some computation? Which one has a better performance - SQL or grid service? Thanks, James. -- Sent from:

Re: Question about number of total onheap and offheap cache entries.

2017-10-02 Thread Vasiliy Sisko
Hello @Ray You problem is already fixed in issue https://issues.apache.org/jira/browse/IGNITE-6422. On Sat, Sep 30, 2017 at 7:26 PM, Ray wrote: > I have a cache with 1 million entries. > This cache is set up with partitioned cache mode and two backup. > So Ignite will

Re: computation on view

2017-10-02 Thread Nikolai Tikhonov
Hi, 1. The better way load data to Apache Ignite via DataStreamer. [1] Also hight reccomend configure properly data colloacation. In this case employees for one organization will be placed on the node that allows to improve join performance. [2] 2. You can create a separate cache which will

Re: How do I support schema change in Ignite as well as addition of new Cache?

2017-10-02 Thread Nikolai Tikhonov
Hi, You can create/drop caches (hence tables) in runtime. If we don't have classes in runtime then you can configure via QueryEntitry. Refere the following page https://apacheignite.readme.io/docs/indexes section *QueryEntity Based Configuration*. In the next 2.3 release (which community plan to

Trouble to connect to ignite cluster on kubernetes

2017-10-02 Thread Anton Mushin
Hi everyone! Could you say what way for correct connect to ignite cluster on kubernetes? I'm using ignite version 2.2.0 and try connect to cluster from my local machine with next configuration private IgniteConfiguration getConfig(){ TcpDiscoveryVmIpFinder ipFinder = new