Size of Data(Keys) are doubled when using CACHE in REPLICATED mode

2020-08-13 Thread Ali Bagewadi
Hello, 1-I have two servers one on local and other on remote host. Both nodes are added to Baseline Topology. 2-I have started the cache in replicated mode on both the server nodes. The data is replicated on both nodes properly however when both nodes are running the size of data in node shown is d

Re: 2.8.1 - Loading Plugin Provider - Conflicting documentation

2020-08-13 Thread Denis Magda
Veena, thanks for the ticket! We’ll take care of it. On Thursday, August 13, 2020, VeenaMithare wrote: > HI , > > Raised a Documentation Improvement jira : > IGNITE-13356 > Documentation Change needed: PluginProvider loading changed from 2.8.1 > regards, > Veena. > > > > -- > Sent from: http://

Re: Enabling swapPath causes invoking shutdown hook

2020-08-13 Thread Denis Magda
If Ignite can hold all the records in memory it won't be reading pages from disk (the page replacement). Thus, it's expected that the 12GB performs better than the 5GB case. Btw, are you planning to reload the whole data set into Ignite on potential cluster restarts? Each node loses a subset of th

Service request distribution not happening if initiated through server node

2020-08-13 Thread satyan
Hi, I am new to ignite. I have a requirement and I don't know how to achieve it through Ignite. My usecase: Suppose if I have 3 servers, one among them will act as a leader and will co-ordinate all the internal service requests. The requests should get executed either in the same server(leader) o

Re: Enabling swapPath causes invoking shutdown hook

2020-08-13 Thread 38797715
Hi Denis, We did a test, in the same environment (8G RAM, 10G swap partition) and the same configuration (2G Heap, enable persistence, data volume is about 6G), the only difference is that the maxSize size is different, which is configured as 5G and 12G respectively. We found that the perform

Re: Operation block on Cluster recovery/rebalance.

2020-08-13 Thread John Smith
No I, reuse the instance. The cache instance is created once at startup of the application and I pass it to my "repository" class public abstract class AbstractIgniteRepository implements CacheRepository { public final long DEFAULT_OPERATION_TIMEOUT = 2000; private Vertx vertx; privat

Re: Enabling swapPath causes invoking shutdown hook

2020-08-13 Thread Denis Magda
Ignite swapping is based on the swapping mechanism of the OS. So, you shouldn’t see any difference if enable the OS one directly some way. Generally, you should not use swapping of any form as a permanent persistence layer due to the performance penalty. Once the swapping kicks in, you should scal

[Apache Ignite Virtual Meetup] Building a Blockchain Network with Apache Ignite

2020-08-13 Thread Branimir Angelov
Hello Igniters, I would like to share with you the video recording[1] of our presentation from the last Ignite Virtual Meetup. Although our use case might sound a bit extraordinary, we are extremely satisfied with our decision to use Ignite for it. Thanks, Branimir [1] https://youtu.be/lCiZ3x8IRv

Re: Operation block on Cluster recovery/rebalance.

2020-08-13 Thread Denis Magda
I've created a simple test and always getting the exception below on an attempt to get a reference to an IgniteCache instance in cases when the cluster is not activated: *Exception in thread "main" class org.apache.ignite.IgniteException: Can not perform the operation because the cluster is inacti

Re: How can I find out if indexes are used in a query?

2020-08-13 Thread Axel Luft
I can't see any difference with or without an index. with 1.000.000 rows it is between 4-5 secs, 2.000.000 rows between 6-7, 3.000.000 between 10-12 seconds. Our target size will be 300.000.000 rows easily. AL -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Change Data Capture Feature

2020-08-13 Thread Pavel Strashkin
Hello, Is there a Change Data Capture (CDC) feature in plans to make it possible to stream cache updates to Kafka for example? I've found the Continuous Queries feature, but it's not clear to me whether it's possible to use it for implementation. What's missing it seems is ability to start from t

Re: IpFinder with domain

2020-08-13 Thread kay
Hello, In my case, 'cache.ignite.com' is a L4 and the port is 80. cache.ignite.com(ex. 41.1.166.123) will be connect Ignite Server.(ex. 42.1.129.123:47500, 42.1.129.123:47501 ...) Is it possible? or should I define port for connect to Ignite Server. I will waiting for reply! Thank u so much!

Re: Operation block on Cluster recovery/rebalance.

2020-08-13 Thread John Smith
The cache.query() starts to block when ignite server nodes are being restarted and there's no baseline topology yet. The server nodes do not block. It's the client that blocks. The dumpfiles are of the server nodes. The screen shot is from the client app using your kit profiler on the client side

2.7.0 -> 2.8.1 Upgrade warnings and issues

2020-08-13 Thread bhlewka
Hello all, I'm trying to upgrade an existing cluster from 2.7.0 to 2.8.1, and am following the upgrade procedure outlined in the Ignite documentation. I'm noticing new warnings I haven't seen before from my 2.8.1 clients, and am not sure how to get rid of them, or how important they are to fix. *

Re: Enabling swapPath causes invoking shutdown hook

2020-08-13 Thread 38797715
Hi, We retested and found that if we configured swapPath, as the amount of data increased, the write speed was actually slower and slower. If the amount of data is large, on average, it is much slower than the scenario where native persistence is enabled and wal is disabled. In this way, the

Re: Local node is not added in baseline topology

2020-08-13 Thread Ali Bagewadi
Hello, Thanks for the response. However m requirements are 1)I don't want to add the nodes manually using control script as it is not feasible to get the node id at runtime on hardware as per my requirements. 2)I have used the auto adjust command but its unable to add the local node to baseline top

Re: Ignite thin client add column and index dynamically

2020-08-13 Thread Ilya Kasnacheev
Hello! It should work. Do you have a reproducer? Thanks, -- Ilya Kasnacheev чт, 13 авг. 2020 г. в 15:06, Hemambara : > I have seen that if I provide query entities in cache configuration I am > able > to query by column. But when I execute ALTER TABLE ADD COLUMN > programmatically its not wo

Re: Local node is not added in baseline topology

2020-08-13 Thread Ilya Kasnacheev
Hello! You can use control.sh. It can look up nodes as well as add them to baseline. Unfortunately I did not see your commands so I can't know for sure. I'm not sure that auto-adjust will work for nodes added prior to enabling it. Regards, -- Ilya Kasnacheev чт, 13 авг. 2020 г. в 10:17, raks

Ignite thin client add column and index dynamically

2020-08-13 Thread Hemambara
I have seen that if I provide query entities in cache configuration I am able to query by column. But when I execute ALTER TABLE ADD COLUMN programmatically its not working with java thin clients where its working fine with thick clients. Java Thin clients supports sqlfieldquery then why not alter

Re: Java Heap

2020-08-13 Thread Ilya Kasnacheev
Hello! It is showing available heap of 2 nodes (combined) because that's what it is showing. It is not utilization, but merely total available value. Regards, -- Ilya Kasnacheev чт, 13 авг. 2020 г. в 10:16, rakshita04 : > But we are creating cache node in off heap memory right? > Then why is

Re: How to remove IgniteAtomicLong using REST API?

2020-08-13 Thread Ilya Kasnacheev
Hello! No, it's not there. You will need to do that in Java. Regards, -- Ilya Kasnacheev ср, 12 авг. 2020 г. в 17:16, Pavel Strashkin : > I don't see it being part of REST API - is it missing indeed or my eyes > aren't that good anymore? :) > > (clients aren't Java-based - mostly node.js). >

Re: IpFinder with domain

2020-08-13 Thread Ilya Kasnacheev
Hello! It should work. If port is not specified, discoveryPort or default port (47500) will be used. Hostnames are supported all right. Regards, -- Ilya Kasnacheev чт, 13 авг. 2020 г. в 13:53, kay : > Hello I have 8nodes, and using java thin client. > > I know set Ip:port List at config file

IpFinder with domain

2020-08-13 Thread kay
Hello I have 8nodes, and using java thin client. I know set Ip:port List at config file ex) ip:port ... I'm curious is it possible to set only url? not using port. for example) cache.ignite.com I already set that url(L4) but is not response(timeout also) Our Project using L4 for l

Re: 2.8.1 - Loading Plugin Provider - Conflicting documentation

2020-08-13 Thread VeenaMithare
HI , Raised a Documentation Improvement jira : IGNITE-13356 Documentation Change needed: PluginProvider loading changed from 2.8.1 regards, Veena. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Local node is not added in baseline topology

2020-08-13 Thread rakshita04
How to achieve the same using C++? Are there any cluster APIs for C++? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Java Heap

2020-08-13 Thread rakshita04
But we are creating cache node in off heap memory right? Then why is it showing double value in "On heap"? Is it only showing double size as On heap or it will actually allocate that much memory? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/