Re: Received metrics from unknown node

2020-06-08 Thread VeenaMithare
Thanks Ilya. No. Did not take a thread dump. Will do so if I observe this behaviour next time. Also how do I add monitoring for such nodes ? regards, eena. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Ignite 2.8 migration help

2020-06-08 Thread C Ravikiran
Hi Team, Our application is migrating 2.6 version to 2.8 version While upgrading, getting below error. Java. lang. IiilegalaccessError: tried to access field org.H2.utill.LocalDateTimeUtills.LOCAL_DATE It seams problem with h2 Database. We are using 1.4.196 Could you please let me know support

Re: CountDownLatch issue in Ignite 2.6 version

2020-06-08 Thread Prasad Bhalerao
I just checked the ignite doc for atomic configuration. But it doesn't say that it is applicable to distributed data structures. Is it really applicable to distributed data structures like count down latch On Tue 9 Jun, 2020, 7:26 AM Prasad Bhalerao Hi, > I was under the impression that countdow

Ignite Spring Integration

2020-06-08 Thread marble.zh...@coinflex.com
Hi Guru, I am integrating the Spring into the Ignite, when deploying service, with metho deployNodeSingleton, met no bean found exception, show as below, which lead the Suppressed: class org.apache.ignite.IgniteCheckedException: Error occured during service initialization: [locId=13760585-1342-47

Re: Ignite node log file setup

2020-06-08 Thread kay
Hello! I start up sh ./ignite.sh -J-DgridName=testGridName -v ./config/config-cache.xml and in config-cache.xml but server start failed. Is that not proper to set igniteInstanceName?? log is here class org.apache.ignite.IgniteException: Failed to start manager: GridManagerAdapter [enable

Re: Ignite visor use

2020-06-08 Thread Evgenii Zhuravlev
Ignite Visor starts daemon node inside to connect to the cluster, it doesn't matter cluster was started. All you need is to configure addresses of the cluster nodes in the config file, the same way as you do fo other nodes in the cluster. Evgenii пн, 8 июн. 2020 г. в 19:01, Prasad Bhalerao : > H

Ignite visor use

2020-06-08 Thread Prasad Bhalerao
Hi, I am starting ignite inside my java spring boot app. I do not use ignite shell script to start it. Can I use ignite visor in such case to connect to my ignite cluster? What all the minimum required scrips do I need to use ignite visor? Thanks, Prasad

Re: CountDownLatch issue in Ignite 2.6 version

2020-06-08 Thread Prasad Bhalerao
Hi, I was under the impression that countdown latch is implemented in replicated cache. So when any number of nodes go down it does not loose it's state. Can you please explain why atmoc data structures are using 1 back when its state is very important? Can we enforce atomic data structures to u

Re: Do I need Map entry classes in Ignite's classpath?

2020-06-08 Thread Andrew Munn
How can you update those k,v classes? Do you have to take the cluster down or can you do a rolling upgrade somehow? On Mon, Jun 8, 2020 at 7:37 AM Ilya Kasnacheev wrote: > Hello! > > If these classes are used as key or value types, then yes. Key/value types > are not peer loaded. Otherwise, you

Can you pass host name to ignite visor?

2020-06-08 Thread Andrew Munn
Is there any way to pass the cluster address to ignitevisorcmd.sh on the command line or must it be set in the config.xml file used?

Re: Zookeeper discovery in mix environments.

2020-06-08 Thread akorensh
Limit your env to two nodes. Try using --net=host for docker containers. If that works, limiting to use setLocalHost for TcpCommunicationSPI, and configure ZooKeeper to use address translation/or bind to a specific address. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: What does: Failed to send DHT near response mean?

2020-06-08 Thread akorensh
You can use setlocalHost to bind a node to one address only. see: https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/configuration/IgniteConfiguration.html#setLocalHost-java.lang.String- -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Countdown latch issue with 2.6.0

2020-06-08 Thread Alexandr Shapkin
Hi, Have you tried to reproduce this behaviour with the latest release - 2.8.1? If I remember correctly, there were some fixes regarding the partition counters mismatches, for sample: https://issues.apache.org/jira/browse/IGNITE-10078 - Alex Shapkin -- Sent from: http://apache-ignite-users.

Re: Messages being Missed on Node Start

2020-06-08 Thread Alexandr Shapkin
Hi, Yes, seems like the https://issues.apache.org/jira/browse/IGNITE-1410 is not resolved, unfortunately. Is it possible to listen for predefined events like LifecycleEventType.AFTER_NODE_START or EVT_CLUSTER_ACTIVATED? Alternatively, you might want to utilize Ignite data structures, like Atomic

Re: Question regarding topology

2020-06-08 Thread Alexandr Shapkin
Hello! It's not clear, whether the code snippet came from a client or a server. If it's a client, then I'd recommend you try sending the keys and additional data directly to a server node and perform the insertion directly on the node. The Compute API could be an option here [1] You might also wa

Re: Zookeeper discovery in mix environments.

2020-06-08 Thread John Smith
I think the problem might also, be the client is running inside DC/OS with docker containers. When I check the network topology all connected aplication are reporting multiple addresses... Here is an example of a single client... Is it possible to tell it only bind to one or only use one?

Re: What does: Failed to send DHT near response mean?

2020-06-08 Thread John Smith
It is. It seems to only happen when I scale the client. Just curious. is it possible that the client is bound to alot of address and causing communication issues??? When I look at the topology through ignite visor I see the client has multiple possible addresses. Is it possible to tell the client t

Re: Ignite memory memory-architecture with cache partitioned mode

2020-06-08 Thread Alexandr Shapkin
I just wanted to highlight that there is the Partition Awareness feature available for thin clients. When enabled, a client will know to witch node a partition belongs and send a request directly to that node. [1] - https://apacheignite-net.readme.io/docs/thin-client#partition-awareness [2] - http

Re: What does: Failed to send DHT near response mean?

2020-06-08 Thread akorensh
Hello, It means that a node was not able to exchange message w/another node because of network or firewall issues. It lists the node in question inside the message. Check to make sure that the node is available and is in working order. *Failed to send DHT near response *[futId=16392, nearF

Re: Zookeeper discovery in mix environments.

2020-06-08 Thread akorensh
In terms of TcpCommunicationSPI it might help: https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.html#setLocalAddress-java.lang.String- Also look into setting the localaddress: https://ignite.apache.org/releases/latest/javadoc/org/apache

Re: Zookeeper discovery in mix environments.

2020-06-08 Thread John Smith
Would address resolver work here with Zookeeper discovery? I think most of my communications erros are due to my clients binding to multiple addresses?

What does: Failed to send DHT near response mean?

2020-06-08 Thread John Smith
Hi, I got the below errors on my client node. CLIENT=TRUE I can see that it cannot communicate but why is it trying to communicate to 127.0.0.1? This is running inside a docker container and the cache nodes are running on dedicated VMs. {"appTimestamp":"2020-06-08T19:26:46.209+00:00","threadName"

Re: embedded jetty & ignite

2020-06-08 Thread Denis Magda
Clay, This 3-years old blogging series talks about a recommended architecture for deployments with Ignite service grid: - Part 1: https://dzone.com/articles/running-microservices-on-top-of-in-memory-data-gri - Part 2: https://dzone.com/articles/running-microservices-on-top-of-in-memo

Re: embedded jetty & ignite

2020-06-08 Thread Denis Magda
Clay, I assume embedding jetty as an ignite service, i.e., as an ignite server > node, is not desirable (still don't know the reason). Let's suppose that your cluster has 3 server/data nodes with application records distributed evenly - so that each node keeps ~33% of the whole data set. Next, i

Re: CountDownLatch issue in Ignite 2.6 version

2020-06-08 Thread Evgenii Zhuravlev
Hi, By default, cache, that stores all atomic structures has only 1 backup, so, after losing all data for this certain latch, it recreates it. To change the default atomic configuration use IgniteConfiguration.setAtomicConfiguration. Evgenii сб, 6 июн. 2020 г. в 06:20, Akash Shinde : > *Issue:*

Re: Non Distributed Join between tables

2020-06-08 Thread manueltg89
Hello Ilya!, Thanks for your response. I've created a new project and seems that now It works correctly, I must have a problem. But I have another doubt with REPLICATED cache. I think that all nodes must have same data in this mode, Is It true?, with online tool of Apache Ignite I make a query to

Re: Node is unable to join cluster because it has destroyed caches

2020-06-08 Thread Ilya Kasnacheev
Hello! It was disabled not just because of potential data loss but because the cache was resurrected on such start and could break cluster. Creating cache per operation and destroying afterwards is an anti-pattern, it can cause all sorts of issues and is better avoided. Regards, -- Ilya Kasnach

Re: Ignite node log file setup

2020-06-08 Thread Ilya Kasnacheev
Hello! ${sys:} can use any system property which exists in the JVM. If you put your gridName (or consistentId) into system property, you can refer to it from both Ignite configuration (xml or otherwise) and log4j2 configuration. Regards, -- Ilya Kasnacheev пн, 8 июн. 2020 г. в 04:55, kay : >

Re: Received metrics from unknown node

2020-06-08 Thread Ilya Kasnacheev
Hello! Metrics were sent when node was already segmented by cluster, hence "unknown". Why it did not reconnect, I do not know. Did you collect a thread dump of this client node by chance? Regards, -- Ilya Kasnacheev пн, 8 июн. 2020 г. в 09:53, VeenaMithare : > Hi all, > > Yesterday we had so

Re: Non Distributed Join between tables

2020-06-08 Thread Ilya Kasnacheev
Hello! Do you have a reproducer SQL script to observe that? Regards, -- Ilya Kasnacheev пн, 8 июн. 2020 г. в 10:46, manueltg89 : > I have three tables in Apache Ignite, each table has a affinity key to > other > table, when I make a join between tables with direct relations this works > perfe

Re: Ignite SqlFieldQuery Unicode Characters Support

2020-06-08 Thread Ilya Kasnacheev
Hello! I have met an error like this one, and my recommendation is that on all nodes, client and server, you should set file.encoding to the same value (UTF-8 usually, however CJK multi-byte encodings should also work). Make sure all of your JVMs are launched with -Dfile.encoding=UTF-8. ignite.sh

Re: Index usage on Joins

2020-06-08 Thread Ilya Kasnacheev
Hello! This sounds like a good application point of *enforceJoinOrder=true*. Consider: 3: jdbc:ignite:thin://localhost> !connect jdbc:ignite:thin://localhost?enforceJoinOrder=true 4: jdbc:ignite:thin://localhost> 4: jdbc:ignite:thin://localhost> EXPLAIN SELECT f.Date_key, . . . . . . . . . . . . .

Re: Data Consistency Question

2020-06-08 Thread Ilya Kasnacheev
Hello! Why do you open connection inside the semaphore? You are supposed to open connection(s) in advance, only issue updates inside the semaphore. The whole approach is questionable (no sense to use thin JDBC if you already have Ignite node) but this one is a killer. You also seem to open a new

Re: Do I need Map entry classes in Ignite's classpath?

2020-06-08 Thread Ilya Kasnacheev
Hello! If these classes are used as key or value types, then yes. Key/value types are not peer loaded. Otherwise, you just need to enable peer class loading. Regards, -- Ilya Kasnacheev пн, 8 июн. 2020 г. в 05:05, Andrew Munn : > Is there ever any reason for the classes of Objects being put i

Re: Countdown latch issue with 2.6.0

2020-06-08 Thread Akash Shinde
Hi, I have created jira for this issue https://issues.apache.org/jira/browse/IGNITE-13132 Thanks, Akash On Sun, Jun 7, 2020 at 9:29 AM Akash Shinde wrote: > Can someone please help me with this issue. > > On Sat, Jun 6, 2020 at 6:45 PM Akash Shinde wrote: > >> Hi, >> Issue: Countdown latched g

Roadmap of new distributed SQL engine based on Calcite

2020-06-08 Thread Юрий
Dear Igniters, Many of you heard about starting development of new SQL engine based on Calcite. Currently we are only in beginning of the way and it will require many works to achieve the goal. In order to understand where are we and which features already done and which of them could be started b

Non Distributed Join between tables

2020-06-08 Thread manueltg89
I have three tables in Apache Ignite, each table has a affinity key to other table, when I make a join between tables with direct relations this works perfectly, but if I make a non distributed join between three tables this return empty, is normal this behaviour?, Could I make in another way? tbl