Hi,
Please take look to
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/client/ClientAddressFinder.html,
according to this ThinClientKubernetesAddressFinder should refresh
address list on client connection failure, or you can try to set
*paritionAwareness = true* in
reason i found ,ignite server node restart ip changed,but ignite client still
use old ip address,is there any way refresh address
wkhapy...@gmail.com
From: f cad
Date: 2022-06-22 09:53
To: user
Subject: ignite client can not reconnect to ignite Kubernetes cluster,after pod
restart
below if
i face similar case,i implement key like below,and put jar contains
contactKey class into ignite lib .then i can get result
public class ContactKey implements Externalizable {
private Long id;
@Override
public boolean equals(Object o) {
if (this == o) {
return
below if client code config
KubernetesConnectionConfiguration kcfg = new
KubernetesConnectionConfiguration();
kcfg.setNamespace(igniteK8sNameSpace);kcfg.setServiceName(igniteK8sServiceName);cfg.setAddressesFinder(new
ThinClientKubernetesAddressFinder(kcfg));cfg.setRetryPolicy(new
Hi,
Asterisk (*) in cache name is just a flag for Ignite to not initiate
this cache but instead register it as a template, that for example can
be used further for SQL table creations:
CREATE TABLE IF NOT EXISTS Person (
id int,
city_id int,
name varchar,
age int,
company varchar,
t seems you can use name, author pair as a key and price and other properties
as a value like that:
class BooKey
String name;
String author;
}
class BookValue {
int price;
}
IgniteCache cache = ignite.createCache(«books»);
cache.put(key, val);
cache.get(key);
> 21 июня 2022 г.,
I don’t understand why can you can't use SQL. “select _val from Book where
bookName = ? And authorName = ?” would get the value from a partial key.
> On 21 Jun 2022, at 15:14, Saurabh Satardekar
> wrote:
>
> Hi Stephen,
>
> Thank you for replying.
>
> In our use case we cannot use sql
Hi Stephen,
Thank you for replying.
In our use case we cannot use sql queries to get desired result. Is there
any other way that we can use to plug custom implementation of equals and
hashCode method for objects which are going to store in caches?
Thank you ,
Saurabh Satardekar.
On Fri, 17
Thanks for the information Veena.
This is what I figured out too. Here is what I did to find the offending
client. I enabled the rest API access for the ignite servers and then query
the node information using the node id mentioned in the error message. In
the response, the ip of the node that's
Hi Igniters,
I'd like to create a new replicated cache using C++. I suppose I'll have to
use a cache template, but it's not clear, for me, how to set the name of
the template... for example the meaning of '*'.
Thanks,
F.D.
Hello,
Not sure if you are still facing this issue,
When we would face this issue , we would find which client node is the
baseline command saying is not found. And restart that client node.
Sometimes after restarting the client node, the baseline command would say
the same thing about another
Hi Ilya,
It works! Thank you very much!
21.06.2022 11:08, Ilya Korol пишет:
Hi, try to set java property IGNITE_NO_SHUTDOWN_HOOK=true.
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/IgniteSystemProperties.html#IGNITE_NO_SHUTDOWN_HOOK
21.06.2022 17:27, Yuriy Ivkin пишет:
Hello Team,
I have a requirement to keep cache in ignite and that will update
frequently and selection also happens parallel, while i am executing
queries iam getting,
ava.sql.SQLException: Failed to update some keys because they had been
modified concurrently [keys=[ROWKEY [idHash=628930863,
Hi, try to set java property IGNITE_NO_SHUTDOWN_HOOK=true.
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/IgniteSystemProperties.html#IGNITE_NO_SHUTDOWN_HOOK
21.06.2022 17:27, Yuriy Ivkin пишет:
Greetings!
I am using embedded Apache Ignite in my project and syncronyze
Hello Team,
I have a requirement to keep cache in ignite and that will update
frequently and selection also happens parallel, while i am executing
queries iam getting,
ava.sql.SQLException: Failed to update some keys because they had been
modified concurrently [keys=[ROWKEY [idHash=628930863,
Greetings!
I am using embedded Apache Ignite in my project and syncronyze several
nodes through it. On the app start, after a cache obtained, it writes an
available node's requisites into the cache. And I woud like to remove
the requisites before a node shutdowns. But when I stop the app
16 matches
Mail list logo