Re: Failed to process selector key frequently at client side

2020-10-09 Thread Ilya Kasnacheev
Hello! It seems that the network that you are using will close idle connections. You can try sidestepping it by specifying TcpCommunicationSpi.idleConnectionTimeout to some value such as 25000 ms. In this case Ignite will be first to close these connections explicitly. Regards, -- Ilya

Re: Binary memory restoration

2020-10-08 Thread Ilya Kasnacheev
Hello! I think the real saver is in decreasing amount of time between checkpoints. Regards, -- Ilya Kasnacheev вт, 6 окт. 2020 г. в 02:10, Raymond Wilson : > Thanks for the thoughts Ilya and Vladimir. > > We'll do a comparison with 2.9 when it releases to see if that makes any >

Re: Ignite 2.8.1 ContinuousQueryWithTransformer: ClassCastException on PME

2020-10-08 Thread Ilya Kasnacheev
Hello! You can do either one, I'll take it from there. Regards, -- Ilya Kasnacheev вт, 6 окт. 2020 г. в 17:26, : > Could you please guide be through the process? Should I create just a > simple project anywhere and share it here or I should create a test case in > the Ignit

Re: Ignite 2.8.1 ContinuousQueryWithTransformer: ClassCastException on PME

2020-10-06 Thread Ilya Kasnacheev
Hello! Do you have a reproducer for this issue? I think I could validate it and create an issue if you do. Can you please also check if it works or not on e.g. Apache Ignite 2.9RC2? Regards, -- Ilya Kasnacheev вт, 6 окт. 2020 г. в 14:30, : > Hi everyone! > > I a

Re: Continuous Query

2020-10-05 Thread Ilya Kasnacheev
Please send an empty message to: user-unsubscr...@ignite.apache.org to unsubscribe yourself from the list. Regards, -- Ilya Kasnacheev пн, 5 окт. 2020 г. в 07:35, Priya Yadav : > unsubscribe > -- > *From:* narges saleh > *Sent:* Sunday, 4 October

Re: unsubscribe

2020-10-05 Thread Ilya Kasnacheev
Hello! Please send an empty message to: user-unsubscr...@ignite.apache.org to unsubscribe yourself from the list. Regards, -- Ilya Kasnacheev вс, 4 окт. 2020 г. в 22:36, Celes : > unsubscribe >

Re: 2.8.1 : INFO org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi [] - Accepted incoming communication connection

2020-10-02 Thread Ilya Kasnacheev
Hello! Can you please perhaps share a reproducer project? Regards, -- Ilya Kasnacheev вт, 29 сент. 2020 г. в 19:34, VeenaMithare : > HI Anton, > > The setup I am working on is as below : > server nodes : 3 > client : 1 > > I get these logs when I start the clien

Re: IgniteCache.size() is hanging

2020-10-02 Thread Ilya Kasnacheev
Hello! Can you please share a reproducer project which highlights the issue? Thanks, -- Ilya Kasnacheev вт, 29 сент. 2020 г. в 18:58, Alan Ward : > Sorry, meant 2.7.6, not 2.7.3 > > On Tue, Sep 29, 2020 at 7:40 AM Alan Ward wrote: > >> I wish I could -- this

Re: Query execution time is growing!

2020-10-01 Thread Ilya Kasnacheev
to 100, restart and re-run. Regards, -- Ilya Kasnacheev ср, 30 сент. 2020 г. в 21:18, Vasily Laktionov : > Hello, Igniters. > We see some strange things happening: execution time is growing if we > execute same query concurrently in multiple threads. > And it doesn't matter if we qu

Re: Delete query results in application crash

2020-09-30 Thread Ilya Kasnacheev
for calcite-based engine, which will include memory rationing by SQL. Regards, -- Ilya Kasnacheev ср, 30 сент. 2020 г. в 14:05, ashishb888 : > I am performing a delete query on a cache which has large data. When query > start application CPU utilization goes around 2000, and application c

Re: Purging a partition

2020-09-30 Thread Ilya Kasnacheev
Hello! Why would you want to do this? Try removing part-NNN.bin from your persistence to achieve this. Be sure to check in on testing first. Regards, -- Ilya Kasnacheev ср, 30 сент. 2020 г. в 13:47, ashishb888 : > Is is possible to purge a Ignite partition? If yes, how can we achi

Re: Binary memory restoration

2020-09-29 Thread Ilya Kasnacheev
Hello! I guess it is the time to iterate WAL after the last checkpoint to make sure all operations prior to node stop are accounted for. Every DB will do that and the time of 76 seconds seems reasonable. Regards, -- Ilya Kasnacheev вт, 29 сент. 2020 г. в 02:00, Raymond Wilson

Re: High number of Exception Unexpected response ID with setTimeout

2020-09-29 Thread Ilya Kasnacheev
Hello! I have filed a ticket: https://issues.apache.org/jira/browse/IGNITE-13498 Regards, -- Ilya Kasnacheev пн, 28 сент. 2020 г. в 12:02, AravindJP : > We are seeing high number of exceptions after setting setTimeout() in > ClientConfiguration > any idea what's t

Re: not able to change keyspace name when Using 3rd Party Persistence (Cassandra) Together with Ignite Native Persistence

2020-09-28 Thread Ilya Kasnacheev
Hello! I'm afraid that you may need to drop and recreate these caches to change their configuration, including Cache Store config. Regards, -- Ilya Kasnacheev пн, 28 сент. 2020 г. в 00:27, xmw45688 : > I'm able to use Cassandra Together with Ignite Persistence (see the example >

Re: Issue while deploying the Ignite application in Wildfly Server

2020-09-28 Thread Ilya Kasnacheev
Hello! Unfortunately, we have this bug, which was never fixed: https://issues.apache.org/jira/browse/IGNITE-12483 You will have to apply solution from this SO answer: https://stackoverflow.com/a/59453413/36498 Regards, -- Ilya Kasnacheev пн, 28 сент. 2020 г. в 17:08, DEEPTHI KOLLIPARA

Re: Issue while deploying the Ignite application in Wildfly Server

2020-09-28 Thread Ilya Kasnacheev
Hello! You also need to add ignite-spring 2.7.0 dependency. ** Regards, -- Ilya Kasnacheev вс, 27 сент. 2020 г. в 15:17, DEEPTHI KOLLIPARA : > Dear Team, > > > > I am trying to deploy a web application with ignite 2.7 version on > Wildfly server 20.0.

Re: [External]Re: how to achieve timeout for get/put/remove operations

2020-09-28 Thread Ilya Kasnacheev
Hello! You can use it if you're using thin client, sure. I was writing on the thick client operation. Regards, -- Ilya Kasnacheev пн, 28 сент. 2020 г. в 16:07, AravindJP : > We are also facing a similar issue where complete cluster behaves like > frozen > with cache get time

Re: Issue in Alter Table - Drop Column functionality

2020-09-24 Thread Ilya Kasnacheev
Hello! I think it will be in 2.10 or 2.9.1. Maybe early next year? Regards, -- Ilya Kasnacheev чт, 24 сент. 2020 г. в 14:04, Shravya Nethula < shravya.neth...@aline-consulting.com>: > Hi Ilya, > > Thank you for the confirmation and the workaround is working as expected. >

Re: Issue in Alter Table - Drop Column functionality

2020-09-24 Thread Ilya Kasnacheev
Hello! Thank you for this report, now I can indeed confirm I can see the issue! I have filed https://issues.apache.org/jira/browse/IGNITE-13482 on your behalf. As a workaround you can do SELECT * FROM tbl LIMIT 0; before issuing ALTER TABLE on that node. Regards, -- Ilya Kasnacheev чт, 24

Re: Planning to pick Ignite 13006

2020-09-23 Thread Ilya Kasnacheev
Hello! You can offer your pull requests against master branch. Once 2.10 is forked it will be included. Regards, -- Ilya Kasnacheev ср, 23 сент. 2020 г. в 14:08, Hemambara : > Hi, I am interested to pick > https://issues.apache.org/jira/browse/IGNITE-13006 and work on it. Please &g

Re: Ignite communicating with non ignite servers

2020-09-22 Thread Ilya Kasnacheev
in the logs of any network application. Regards, -- Ilya Kasnacheev вт, 22 сент. 2020 г. в 16:26, ignite_user2016 : > We have SSL enabled on all servers but some how it s trying to attempt > connection on SSL causing heap dumps. Is there a way to disable to external > server try connecting

Re: [External]Re: how to achieve timeout for get/put/remove operations

2020-09-22 Thread Ilya Kasnacheev
Hello! Futures will accept a timeout value in their get() method and will only wait for that timeout, you do not have to count milliseconds by hand. Regards, -- Ilya Kasnacheev вт, 22 сент. 2020 г. в 15:31, Kamlesh Joshi : > Thanks ilya. Does that mean, we have to specifically maint

Re: how to achieve timeout for get/put/remove operations

2020-09-22 Thread Ilya Kasnacheev
Hello! You can use e.g. putAsync() and then wait on the future for the specified time only. If it did not complete, take your actions. Regards, -- Ilya Kasnacheev вт, 22 сент. 2020 г. в 14:27, Kamlesh Joshi : > Hi Igniters, > > > > How to achieve/get timeout error for parti

Re: Ignite communicating with non ignite servers

2020-09-22 Thread Ilya Kasnacheev
Hello! Well, you could enable SSL on all ports, in this case you can block off the security scanner. Regards, -- Ilya Kasnacheev пн, 21 сент. 2020 г. в 19:03, ignite_user2016 : > Recently, we migrated ignite to JDK11, all works well except when we run > our > security scan, ignite n

Re: critical security vulnerability for /opt/ignite/apache-ignite/libs/optional/ignite-rest-http/log4j-1.2.17.jar

2020-09-21 Thread Ilya Kasnacheev
Hello! Good catch! I think you should file a critical level ticket about it. Regards, -- Ilya Kasnacheev пн, 21 сент. 2020 г. в 12:56, Stephen Darlington < stephen.darling...@gridgain.com>: > Actually, this is an interesting one: it’s not the top level ignite-log4j > module, but

Re: Ignite Thin Client - Compute Jobs

2020-09-21 Thread Ilya Kasnacheev
Hello! Adding to the previous answer: you can, however, use REST's `exe': https://apacheignite.readme.io/docs/rest-api#execute Regards, -- Ilya Kasnacheev пн, 21 сент. 2020 г. в 09:51, Mahesh Renduchintala < mahesh.renduchint...@aline-consulting.com>: > Hi, > > WIth a thi

Re: Issue in Alter Table - Drop Column functionality

2020-09-21 Thread Ilya Kasnacheev
uot;)).getAll()); } } gives [[1, Vassisualy]] Regards, -- Ilya Kasnacheev пн, 21 сент. 2020 г. в 10:27, Shravya Nethula < shravya.neth...@aline-consulting.com>: > Hi Ilya, > > sqlLine is also a thin client if I am not wrong! > From thin clients like GridGain and sqlLi

Re: Critical security vulnerability for /opt/ignite/apache-ignite/libs/optional/ignite-rest-http/jackson-databind-2.9.6.jar

2020-09-21 Thread Ilya Kasnacheev
Hello! Please file an issue against Apache Ignite JIRA: https://issues.apache.org/jira/browse/IGNITE Regards, -- Ilya Kasnacheev сб, 19 сент. 2020 г. в 02:22, Andrew Story : > Would it be possible in the next release of Ignite to upgrade the 3rd party > component > > /opt/i

Re: critical security vulnerability for /opt/ignite/apache-ignite/libs/optional/ignite-rest-http/log4j-1.2.17.jar

2020-09-21 Thread Ilya Kasnacheev
Hello! Log4J 1.x does not have any non-vulnerable releases, and Log4J2 is not binary compatible. You can sidestep this by not including ignite-log4j module and instead resorting to ignite-log4j2. Regards, -- Ilya Kasnacheev сб, 19 сент. 2020 г. в 01:47, Andrew Story : > Would it be possi

Re: Lag before records are visible after transaction commit

2020-09-18 Thread Ilya Kasnacheev
Hello! Unfortunately, I'm not aware of it. Please note that Ignite is strongly consistent so these B's should arrive, barring their subsequent modification or some other error. Regards, -- Ilya Kasnacheev чт, 17 сент. 2020 г. в 17:22, ssansoy : > Yeah sadly that is the only option we

Re: Ignite client node raises "Sequence was removed from cache" after Ignite Server node restarts

2020-09-18 Thread Ilya Kasnacheev
JIRA. Regards, -- Ilya Kasnacheev пт, 18 сент. 2020 г. в 02:48, xmw45688 : > Thanks. > We tried it outside the transaction when the ignite instance restarted with > EventType.EVT_CLIENT_NODE_RECONNECTED. However, it is hang at > igniteInstance.atomicLong(). > //

Re: Lag before records are visible after transaction commit

2020-09-17 Thread Ilya Kasnacheev
Hello! You can repeat SQL query until you see all of B. Regards, -- Ilya Kasnacheev чт, 17 сент. 2020 г. в 13:15, ssansoy : > Hi, thanks - that is broadly what we are doing: > > 1. A continuous query on A (annotated with @IgniteAsyncCallback). > 2. When an update comes i

Re: Lag before records are visible after transaction commit

2020-09-16 Thread Ilya Kasnacheev
callbacks. Regards, -- Ilya Kasnacheev ср, 16 сент. 2020 г. в 17:57, ssansoy : > Are there any other ways we can model this to make this problem easier to > solve with Ignite (95% of our other caches don't have this requirement, but > we need to solve the 5% to migrate to ignite from

Re: Getting NullPointerException during commit into cassandra, after reconnecting to ignite server

2020-09-16 Thread Ilya Kasnacheev
Hello! As far as my understanding goes, the workaround is as follows: - Declare all cassandra-backed caches on client nodes along with their cache store. - clientReconnectDisabled true. You can also track https://issues.apache.org/jira/browse/IGNITE-8788 Regards, -- Ilya Kasnacheev ср, 16

Re: Lag before records are visible after transaction commit

2020-09-15 Thread Ilya Kasnacheev
Hello! I think this suggests data model adjustment. Regards, -- Ilya Kasnacheev вт, 15 сент. 2020 г. в 17:46, Evgenii Zhuravlev : > Ilya, > > This won't help, since the problem here is that CQ doesn't return all > needed keys. > > Evgenii > > вт, 15 сент. 2020 г.

Re: Ignite Segmentation Behaviour

2020-09-15 Thread Ilya Kasnacheev
Hello! After all, it is only you who can decide whether your cluster has segmented or not. The traditional solution is "the largest one wins", but if the parts of cluster can't communicate, it becomes undecidable. Regards, -- Ilya Kasnacheev пн, 14 сент. 2020 г. в 12:01, sue :

Re: Ignite client node raises "Sequence was removed from cache" after Ignite Server node restarts

2020-09-15 Thread Ilya Kasnacheev
Hello! You need to do this outside of your transaction. Regards, Ilya. -- Ilya Kasnacheev сб, 12 сент. 2020 г. в 02:42, xmw45688 : > Hi Ilya, > > Tried your suggestion, removing the userSeq field from the class. It still > raise the same exception - > org.apache.ignite.

Re: How to persist data only on selected nodes but not all nodes in cluster

2020-09-15 Thread Ilya Kasnacheev
, why not just use client nodes in place of non-data-holding? Regards, -- Ilya Kasnacheev вт, 8 сент. 2020 г. в 05:59, xingjl6280 : > Hi Denis, > > thanks for your reply. > I did some experiment. Seems the non-BLT node only works for PARTITIONED > cache mode, but not

Re: Issue in Alter Table - Drop Column functionality

2020-09-15 Thread Ilya Kasnacheev
you have steps to reproduce? Regards, -- Ilya Kasnacheev чт, 3 сент. 2020 г. в 20:46, Shravya Nethula < shravya.neth...@aline-consulting.com>: > Hi, > > I have tried "ALTER TABLE PUBLIC.person DROP COLUMN (age)" query as well. > I am getting the same error message. &g

Re: Lag before records are visible after transaction commit

2020-09-15 Thread Ilya Kasnacheev
Hello! Maybe keys may be queued from the CQ to be revisited later with transaction per key approach. Regards, -- Ilya Kasnacheev пн, 14 сент. 2020 г. в 21:15, Evgenii Zhuravlev : > No, I don't see other ways to do this transactionally, as CQ itself is not > transactional. > > Ev

Re: Block until partition map exchange is complete

2020-09-11 Thread Ilya Kasnacheev
Hello! I think that you need to start a new isolated transaction from callback (possibly in another thread) to get proper isolation. Regards, -- Ilya Kasnacheev пт, 21 авг. 2020 г. в 18:34, ssansoy : > Still seeing the same issue in 2.8.1 unfortunately. > > I have a related questio

Re: [External]Re: unable to start node

2020-09-08 Thread Ilya Kasnacheev
Hello! I think it is possible that you have put a (String, CustomerChars) entry in this cache. Is this possible? Can you scan it to check? Regards, -- Ilya Kasnacheev пн, 7 сент. 2020 г. в 09:14, Kamlesh Joshi : > Denis, > > > > Did u got any chance to go through this? Pleas

Re: Problems with Apache Ignite and PHP PDO

2020-09-08 Thread Ilya Kasnacheev
Hello! It does indeed look like a bug. I have filed https://issues.apache.org/jira/browse/IGNITE-13413 Regards, -- Ilya Kasnacheev пт, 4 сент. 2020 г. в 18:47, manueltg89 : > Hi Igor! > > My Apache Ignite version is 2.8.1 and the PHP version is 7.3.21. I've > attached

Re: [External]Re: Private network setup for server nodes in ignite cluster

2020-09-08 Thread Ilya Kasnacheev
/Releases_NightlyRelease_RunApacheIgniteNightlyRelease?branch=ignite-2.9=overview=builds Regards, -- Ilya Kasnacheev вт, 8 сент. 2020 г. в 08:35, Kamlesh Joshi : > Thanks for the update Ilya. > > > > You mean in this scenario, thin clients will work properly (will be > connecting via public IP

Re: Ignite test takes several days

2020-09-08 Thread Ilya Kasnacheev
/IgniteTests24Java8_RunAll#all-projects This is the only meaningful way. Then you can use MTCGA to check your test results: https://mtcga.gridgain.com/ Obviously, you need to create account in Apache Ignite CI. Regards, -- Ilya Kasnacheev чт, 27 авг. 2020 г. в 16:33, Cong Guo : > Hi, > > I try to build t

Re: How to confirm that disk compression is in effect?

2020-09-08 Thread Ilya Kasnacheev
Hello! If your data does not compress at least 2x, then pageSize=8192 is useless. Frankly speaking I've never seen any beneficial deployments of page compression. I recommend turning it off and keeping WAL compression only. Regards, -- Ilya Kasnacheev вт, 8 сент. 2020 г. в 05:18, 38797715

Re: apache-ignite_2.8.0-1_all.deb package has older version of openjdk as dependency

2020-09-07 Thread Ilya Kasnacheev
Thank you for the fix! + alex I wonder if it can be included in 2.9. It's an one-liner in package build script. I'll do it if you acknowledge. Regards, -- Ilya Kasnacheev пн, 7 сент. 2020 г. в 17:29, Petr Ivanov : > Thanks! > > > Applied your suggestions. > > On 7 Sep 20

Re: Ignite 2.81. - NULL pointer exception

2020-09-07 Thread Ilya Kasnacheev
$Stripe.body(StripedExecutor.java:565) at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120) at java.lang.Thread.run(Thread.java:745) Regards, -- Ilya Kasnacheev ср, 2 сент. 2020 г. в 11:05, Mahesh Renduchintala < mahesh.renduchint...@aline-consulting.com>: > I sent

Re: [WARN] Failed to read magic header log

2020-09-07 Thread Ilya Kasnacheev
Hello! rmtAddr's client socket port is allocated by OS and it is randomized. "Bad magic" error suspects that something that is not Apache Ignite (or Ignite but with incorrect port configuration) have tried to connect to this port. Regards, -- Ilya Kasnacheev вт, 1 сент. 2020 г. в

Re: Item not found, B+Tree is corrupted and critical error detected after add nodes to baseline topology

2020-09-07 Thread Ilya Kasnacheev
Hello! This looks like a PDS corruption: an entry was expected to present in data page, but was not found. I recommend removing PDS files of that node and re-adding it to baseline topology, if you can survive the data loss. Regards, -- Ilya Kasnacheev ср, 26 авг. 2020 г. в 05:27, Steven

Re: [External]Re: Private network setup for server nodes in ignite cluster

2020-09-07 Thread Ilya Kasnacheev
all kinds of thin clients (REST, JDBC, etc) by using public addresses. Regards, -- Ilya Kasnacheev пн, 7 сент. 2020 г. в 17:06, Kamlesh Joshi : > Hi Ilya, > > > > Any updates on this please? > > > > *Thanks and Regards,* > > *Kamlesh Joshi* > > > >

Re: How to confirm that disk compression is in effect?

2020-09-07 Thread Ilya Kasnacheev
Hello! Did you add `ignite-compres` module to your classpath? Have you tried WAL compression instead? Please check https://apacheignite.readme.io/docs/write-ahead-log#section-wal-records-compression Regards, -- Ilya Kasnacheev пт, 28 авг. 2020 г. в 06:52, 38797715 <38797...@qq.com>:

Re: Ignite client node raises "Sequence was removed from cache" after Ignite Server node restarts

2020-09-07 Thread Ilya Kasnacheev
Hello! If this is not too much of a slowdown, you can just remove the userSeq field, and always use "igniteInstance.atomicLong("userSeq", maxId, true)" in its place, to make sure you always hold a fresh one. Regards, -- Ilya Kasnacheev пт, 28 авг. 2020 г. в 04:47, xmw

Re: apache-ignite_2.8.0-1_all.deb package has older version of openjdk as dependency

2020-09-07 Thread Ilya Kasnacheev
Hello! I have replied in the PR. Regards, -- Ilya Kasnacheev чт, 27 авг. 2020 г. в 17:26, Petr Ivanov : > https://issues.apache.org/jira/browse/IGNITE-13388 is ready for review. > Iliya, can you help with it? > > > > On 27 Aug 2020, at 12:26, Petr Ivanov wrote: > >

Re: Isolating IgniteCache instances across JVMs on same machine by id

2020-09-07 Thread Ilya Kasnacheev
Hello! Can you please elaborate what happens if you try to restart a node in just one cluster? How does it affect the other one? Thanks, -- Ilya Kasnacheev вт, 25 авг. 2020 г. в 18:06, Nagarjun Ayyagari < nagarjun.ayyag...@geodecapital.com>: > Hi, > Is there a solution

Re: Ignite 3rd party persistency DataSourceBean Config in Java

2020-09-07 Thread Ilya Kasnacheev
Hello! I think that you have skipped some "caused by" clauses here. Can you please the full exception trace? Thanks, -- Ilya Kasnacheev пн, 24 авг. 2020 г. в 13:41, marble.zh...@coinflex.com < marble.zh...@coinflex.com>: > More Exceptions here, thanks > > 06:2

Re: Uncommitted data within the scope of a transaction cannot be read within the same thread(2.8.1)

2020-08-20 Thread Ilya Kasnacheev
Hello! I think that cache.iterator() is basically a scan query, and queries (such as SqlFieldsQuery or ContinuousQuery) do not honor transaction guarantees. Regards, -- Ilya Kasnacheev чт, 20 авг. 2020 г. в 04:28, 38797715 <38797...@qq.com>: > Hi guys, > > If you execute the

Re: Visor configuration

2020-08-20 Thread Ilya Kasnacheev
Hello! I don't think it is a problem. Please provide actual logs from node failure. I recommend having failureDetectionTimeout configured as the same value on all server nodes. Regards, -- Ilya Kasnacheev ср, 19 авг. 2020 г. в 21:30, tschauenberg : > To use visor we typically ssh o

Re: Scala 2.12 with spark-ignite

2020-08-20 Thread Ilya Kasnacheev
Hello! I recommend filing a ticket against Apache Ignite JIRA with this feature request. Regards, -- Ilya Kasnacheev вт, 11 авг. 2020 г. в 08:31, boris : > > Spark 3.0 runs with scala 2.12. > Spark 2.12 can run with scala 2.12 as well. > > Did anyone migrate spark-ignite to sp

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

2020-08-20 Thread Ilya Kasnacheev
expect to have at the moment) have joined the cluster. Regards, -- Ilya Kasnacheev чт, 20 авг. 2020 г. в 14:45, rakshita04 : > What is auto-activate feature? > How does it work? > And for how long should we wait before calling setActive(true)? > Is there a way we can come to

Re: 2.7.0 -> 2.8.1 Upgrade warnings and issues

2020-08-20 Thread Ilya Kasnacheev
re outside the Ignite code. Regards, -- Ilya Kasnacheev чт, 13 авг. 2020 г. в 16:36, 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 ha

Re: Local node is not added in baseline topology

2020-08-19 Thread Ilya Kasnacheev
Hello! You can wait until your topology has a required number of nodes and then issue active(true), from one node (the oldest, for example). Regards, -- Ilya Kasnacheev ср, 19 авг. 2020 г. в 15:16, rakshita04 : > How can we do activation using C++ and not control.sh script? > Basical

Re: Lost node again.

2020-08-19 Thread Ilya Kasnacheev
Hello! Most of those questions are rhetorical, but I would say that 60s of failure detection timeout is not unheard of. For clients you can put smaller value (clientFailureDetectionTimeout) since losing a client is not as impactful. Regards, -- Ilya Kasnacheev вт, 18 авг. 2020 г. в 20:37

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

2020-08-19 Thread Ilya Kasnacheev
Hello! I do not recommend issuing setActive(true) after starting a node, this is an antipattern which can lead to problems. I recommend only activating the cluster when it is ready, or allowing it to auto-activate itself. Regards, -- Ilya Kasnacheev вт, 18 авг. 2020 г. в 19:56, Ali Bagewadi

Re: Service request distribution not happening if initiated through server node

2020-08-18 Thread Ilya Kasnacheev
is returned, otherwise, a remote proxy is dynamically * created and provided for the specified service. I guess you can try using ignite.services(random server node).serviceProxy()... Regards, -- Ilya Kasnacheev пт, 14 авг. 2020 г. в 02:44, satyan : > Hi, I am new to ignite. I have a requirem

Re: Ignite partitioned

2020-08-18 Thread Ilya Kasnacheev
Hello! Yes, this looks OK. Do you have persistence? If so, can you please also show your baseline topology? You can get it from log or via control.sh utility. Regards, -- Ilya Kasnacheev вт, 18 авг. 2020 г. в 14:05, itsmeravikiran.c : > My topology snap shot: > [06:46:33,961][INFO]

Re: Ignite Queue

2020-08-18 Thread Ilya Kasnacheev
Hello! I think that "could not be fetched or created" hints that some error should happen to get an exception. Returning null if an object does not exist is a common pattern in Ignite API so I suspect this is what is the norm here. Maybe I'm missing something? Regards, -- Ilya Kasna

Re: IpFinder with domain

2020-08-18 Thread Ilya Kasnacheev
oad balancer. In the latter case you can only access via REST. Regards, -- Ilya Kasnacheev вт, 18 авг. 2020 г. в 09:26, kay : > Hello! > > I use java thin client and put 80 port at clientConfiguration. > ex) ClientConfiguration.setAddresses("cache.ignite.com:80"); > > bu

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

2020-08-18 Thread Ilya Kasnacheev
Hello! How do you calculate the "size of the data"? Regards, -- Ilya Kasnacheev пт, 14 авг. 2020 г. в 09:06, 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 ca

Re: Consistently B+Tree is getting corrupted in a specific scenario

2020-08-18 Thread Ilya Kasnacheev
Hello! If there were any attachments with code/logs, they are not there. Please make sure to attach them. Preferably, provide a reproducer as a runnable project. Regards, -- Ilya Kasnacheev сб, 15 авг. 2020 г. в 14:32, p.srikanta : > I've been consistently getting a error &qu

Re: Lost node again.

2020-08-18 Thread Ilya Kasnacheev
Hello! [13:39:53,242][WARNING][jvm-pause-detector-worker][IgniteKernal%company] Possible too long JVM pause: 41779 milliseconds. It seems that you have too-long full GC. Either make sure it does not happen, or increase failureDetectionTimeout to be longer than any expected GC. Regards, -- Ilya

Re: Private network setup for server nodes in ignite cluster

2020-08-18 Thread Ilya Kasnacheev
Hello! You need to do setLocalHost(private IP) on all of your server nodes. Or use IGNITE_LOCAL_HOST system property/environment variable. For client connector/REST/etc, you can specify public IP explicitly. Regards, -- Ilya Kasnacheev вт, 18 авг. 2020 г. в 09:21, Trilok Joshi : >

Re: Cache Expiry policy not working..

2020-08-18 Thread Ilya Kasnacheev
Hello! Can you please share some reproducer code. How do you populate your caches? Regards, -- Ilya Kasnacheev пт, 14 авг. 2020 г. в 12:37, kay : > Hello, I'm using Apache Ignite 2.8.0. > > I have 7 nodes and put and get cache data with starting 8th node. > > The cach

Re: Local node is not added in baseline topology

2020-08-18 Thread Ilya Kasnacheev
Hello! I do not recommend doing activation right away after every node startup. It is a known anti-pattern. Please try removing this line, doing activation via control.sh. Regards, -- Ilya Kasnacheev вт, 18 авг. 2020 г. в 08:01, Ali Bagewadi : > Hello, > Yes the local node(joinin

Re: Cache configuration

2020-08-18 Thread Ilya Kasnacheev
to create a cache without code change. Regards. -- Ilya Kasnacheev вт, 18 авг. 2020 г. в 11:27, C Ravikiran : > Thank you for the replay. > Now my existing code, don't have ignite templates. > To add templates, need to modify the code, but we don't have access for > the code modification

Re: Severe performance impact to key-value API on an SQL-enabled cache (even with empty QueryEntity configuration)

2020-08-18 Thread Ilya Kasnacheev
time/op) is fast. Regards, -- Ilya Kasnacheev вт, 18 авг. 2020 г. в 11:43, max904 : > >> I'm not sure what this test doing > > The test is demonstrating significant reduction of the throughput when > empty > QueryEntity added to the cache config. > > >> ho

Re: Ignite partitioned

2020-08-18 Thread Ilya Kasnacheev
Hello! Do you have "Topology snapshot" messages in your nodes' output, can you share them? It is likely that your nodes did not form a cluster. Regards, -- Ilya Kasnacheev вт, 18 авг. 2020 г. в 13:17, itsmeravikiran.c : > Our application running with 2 ignite node,. > But d

Re: Ignite 3rd party persistency DataSourceBean Config in Java

2020-08-17 Thread Ilya Kasnacheev
Hello! In this case, you should be using setDataSourceFactory() instead of setDataSourceBean(). Regards, -- Ilya Kasnacheev пн, 17 авг. 2020 г. в 10:21, marble.zh...@coinflex.com < marble.zh...@coinflex.com>: > Thanks Srikanta, > > I'm using below code, with CacheJdbcP

Re: Pure memory mode error in Azure Kubernetes

2020-08-17 Thread Ilya Kasnacheev
size. Regards, -- Ilya Kasnacheev пн, 17 авг. 2020 г. в 12:10, xiaweidong <529566...@qq.com>: > Thank you for your reply > I'm pretty sure I didn't get more than 2g of memory. > > Roughly 7,000 or so pieces of data would fill up 2g of memory, and I'm > running o

Re: Local node is not added in baseline topology

2020-08-17 Thread Ilya Kasnacheev
Hello! Does it happen every time (adding local node not working)? If so, can you please share exact steps to reproduce? Regards, -- Ilya Kasnacheev чт, 13 авг. 2020 г. в 15:17, Ali Bagewadi : > Hello, > Thanks for the response. > However m requirements are > 1)I don't want to a

Re: IpFinder with domain

2020-08-17 Thread Ilya Kasnacheev
Hello! You cannot use load balancing with thick client nodes. They need to be able to connect to server nodes' discovery and communication ports via direct address. You can try load balancing with a thin client. Regards, -- Ilya Kasnacheev чт, 13 авг. 2020 г. в 17:26, kay : > He

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 > programm

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

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? > Th

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 - mo

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

Re: How to remove IgniteAtomicLong using REST API?

2020-08-12 Thread Ilya Kasnacheev
Hello! You need to issue atomicLong.close(). Regards, -- Ilya Kasnacheev ср, 12 авг. 2020 г. в 16:58, Pavel Strashkin : > There are “incr” and “decr” commands for atomics exposed via REST, but > what if I need to delete it? > > On Wed, Aug 12, 2020 at 6:42 AM Ilya Kasnach

Re: How to remove IgniteAtomicLong using REST API?

2020-08-12 Thread Ilya Kasnacheev
Hello! Please elaborate wrt "doesn't really remove the key". REST, etc, do not have access to system caches (where atomics are stored) neither do they have API to deal with atomics. Regards. -- Ilya Kasnacheev ср, 12 авг. 2020 г. в 08:12, Pavel Strashkin : > Hi there, > &

Re: I have an exception while trying to send the "evt=NODE_JOINED" message

2020-08-12 Thread Ilya Kasnacheev
Hello! I recommend setting the additional JVM arg -Djava.net.preferIPv4Stack=true on all nodes. You have IPv6 addresses there, which can cause issues in some cases. Regards, -- Ilya Kasnacheev вт, 11 авг. 2020 г. в 23:40, Homer Kommrad : > Thank you for the quick response. First of w

Re: Resource leak of ScanQueryIterator instances

2020-08-11 Thread Ilya Kasnacheev
Hello! I think you are correct. I have filed https://issues.apache.org/jira/browse/IGNITE-13352 Regards, -- Ilya Kasnacheev вт, 11 авг. 2020 г. в 13:35, kimec.ethome.sk : > Greetings, > > we have came across a resource leak involving ScanQueryIterator > instances. > The

Re: Severe performance impact to key-value API on an SQL-enabled cache (even with empty QueryEntity configuration)

2020-08-11 Thread Ilya Kasnacheev
CPU time, especially since there's nothing else to consume it. Regards, -- Ilya Kasnacheev чт, 30 июл. 2020 г. в 10:42, max904 : > Thank you, Anton! > > Please find the reproducer code attached. > employee_benchmark.zip > < > http://apache-ignite-users.70518.x6.

Re: Failed to find reentrant lock with given name

2020-08-11 Thread Ilya Kasnacheev
Hello! Can you please file a ticket against Apache Ignite JIRA? If you have a reproducer, please share it also. Thanks, -- Ilya Kasnacheev чт, 30 июл. 2020 г. в 20:55, scottmf : > Hi, I'm seeing errors associated with reentrant locks from time to time in > my ignite 2.8.1 cluster. They

Re: Local node is not included in Baseline Topology and will not be used for data storage. Use control.(sh|bat) script or IgniteCluster interface to include the node to Baseline Topology.

2020-08-11 Thread Ilya Kasnacheev
Hello! This happened because you activated the cluster before this server node was added to it. Once you do, you need to add nodes to baseline manually or use auto-adjust. I'm not sure there's a C++ API for activation/baseline changes. You can use control.sh for that. Regards, -- Ilya

Re: 2.8.1 - Loading Plugin Provider - Conflicting documentation

2020-08-11 Thread Ilya Kasnacheev
Hello! You may suggest edits to the documentation pages. Regards, -- Ilya Kasnacheev вт, 11 авг. 2020 г. в 14:58, VeenaMithare : > Hi Ilya, > > I have used the new style. > > It will also mean that this document is no longer the best way to load the > plugin

Re: 2.8.1 - Loading Plugin Provider - Conflicting documentation

2020-08-11 Thread Ilya Kasnacheev
Hello! I guess you may use the deprecated method or you can pass it directly to your PluginProvider (new style). Regards, -- Ilya Kasnacheev сб, 8 авг. 2020 г. в 17:05, VeenaMithare : > Okay. If I set pluginconfiguration using setPluginConfiguration, how do I > get > it in th

Re: Java Heap

2020-08-11 Thread Ilya Kasnacheev
Hello! This is a cluster-wide value. Your heap doubled because you have two nodes now, each of 0.97GB. Regards, -- Ilya Kasnacheev вт, 11 авг. 2020 г. в 10:50, Ali Bagewadi : > Hi , > Why does the java heap size gets doubled whenever a node is joined in case > of Baseline Topology.

Re: How to change backup number after cache is created?

2020-08-07 Thread Ilya Kasnacheev
Hello! You cannot change the number of backups once the cache is created. You need to create it with correct value (maybe one that depends on the current env). Regards, -- Ilya Kasnacheev пт, 7 авг. 2020 г. в 13:04, Steven Zheng : > Hi community, > I want to know how to modify

Re: What does all partition owners have left the grid, partition data has been lost mean?

2020-08-06 Thread Ilya Kasnacheev
Hello! You are confusing baseline with backups here. You should have 1 backup to afford losing a node. You should have all data nodes in the baseline. Regards, -- Ilya Kasnacheev ср, 5 авг. 2020 г. в 17:56, John Smith : > I mean I have 3 nodes and the baseline is set to 3. Does it m

Re: Ignite 2.81. - NULL pointer exception

2020-08-06 Thread Ilya Kasnacheev
Hello! This seems to be an assertion failure that we did not see before. Please tell us if you see recurrence and especially if you can link it to some activity/ Regards, -- Ilya Kasnacheev ср, 5 авг. 2020 г. в 10:18, Mahesh Renduchintala < mahesh.renduchint...@aline-consulting.com>:

Re: Enabling swapPath causes invoking shutdown hook

2020-08-06 Thread Ilya Kasnacheev
Hello! I think the performance of swap space should be on par with persistence with disabled WAL. You can submit suggested updates to the documentation if you like. Regards, -- Ilya Kasnacheev ср, 5 авг. 2020 г. в 06:00, 38797715 <38797...@qq.com>: > Hi Ilya, > > If so, the

<    1   2   3   4   5   6   7   8   9   10   >