SqlQuery deprecated

2022-01-17 Thread Surinder Mehra
Hi, With Ignite 2.9 or before Ignite supported SqlQuery but in 2.11 I see it is deprecated. Could you please tell us why and what is the alternative to it. SqlFieldQuery does not allow to read full object like below but individual fields which is cumbersome String sql1 = "select * from Person"; ca

Re: Reading partition file in work/db

2022-01-17 Thread Surinder Mehra
com> wrote: > What’s the use case for reading the data inside the partition files? > > On 17 Jan 2022, at 10:16, Surinder Mehra wrote: > > I still havent found a way to read partition files. Not sure if we can > > 2nd: i created sample application to test it. I was able to see

Re: Reading partition file in work/db

2022-01-17 Thread Surinder Mehra
I still havent found a way to read partition files. Not sure if we can 2nd: i created sample application to test it. I was able to see records colocated as per "companyid/dept" combination. On Fri, Jan 14, 2022, 22:54 Surinder Mehra wrote: > Team, > Please reply > > On

Re: Reading partition file in work/db

2022-01-14 Thread Surinder Mehra
Team, Please reply On Thu, Jan 13, 2022, 23:17 Surinder Mehra wrote: > Hi, > 1. Is it possible to read data inside partition files stored in > /work/db/nodeid/... > 2. If we have company and employee cache, employee has deptt nsme field, > can i define an affinity key on {comp

Reading partition file in work/db

2022-01-13 Thread Surinder Mehra
Hi, 1. Is it possible to read data inside partition files stored in /work/db/nodeid/... 2. If we have company and employee cache, employee has deptt nsme field, can i define an affinity key on {companyId, deptname} to partition data by company and then by deptname I want to colocate all company and

Re: Run ignite kubernetes pod on java 11

2021-11-19 Thread Surinder Mehra
dirname $(readlink -f $(which java" CMD $IGNITE_HOME/run.sh # Container port exposure EXPOSE 11211 47100 47500 49112 10800 8080 On Thu, Nov 18, 2021 at 6:04 PM Surinder Mehra wrote: > Thanks Maksim for reply. Actually I ddint need to set it. When this image > is used in sta

Re: Run ignite kubernetes pod on java 11

2021-11-18 Thread Surinder Mehra
nal libs you're > going to use) from optional to $IGNITE_HOME/libs/ > > On Wed, Nov 17, 2021 at 6:50 PM Surinder Mehra wrote: > >> Thanks for the suggestion. I tried to fix dependencies and it works with >> default-ignite-config.xml, which means when CONFIG_URI ARG

Re: Run ignite kubernetes pod on java 11

2021-11-17 Thread Surinder Mehra
mod 777 ${IGNITE_HOME}/libs # Grant permission to create work directory RUN chmod 777 ${IGNITE_HOME} # Grant permission to execute entry point RUN chmod 555 $IGNITE_HOME/run.sh # Entry point CMD $IGNITE_HOME/run.sh # Container port exposure EXPOSE 11211 47100 47500 49112 10800 8080 On Wed, N

Re: Run ignite kubernetes pod on java 11

2021-11-17 Thread Surinder Mehra
aster/deliveries/docker/apache-ignite/x86_64/Dockerfile>) > and replace the reference to Java 8 with Java 11 > > On 17 Nov 2021, at 10:50, Surinder Mehra wrote: > > Hi, > I tried to build one with two approaches. I was thinking the 1st one is > simple and should work but it

Re: Run ignite kubernetes pod on java 11

2021-11-17 Thread Surinder Mehra
an image with Java 11. I think you’d have to build your own. > > There are tickets for this: > https://issues.apache.org/jira/browse/IGNITE-14031 and > https://issues.apache.org/jira/browse/IGNITE-15209 > > On 16 Nov 2021, at 09:55, Surinder Mehra wrote: > > Hi, > I f

Run ignite kubernetes pod on java 11

2021-11-16 Thread Surinder Mehra
Hi, I followed below link to deploy ignite pod on kubernetes. It uses apache ignite 2.11 docker image which has java openjdk 8. Is there a way to configure java 11 on this pod or ignite image with jdk11 ? https://ignite.apache.org/docs/latest/installation/kubernetes/amazon-eks-deployment

Re: Ignite on a server

2021-11-15 Thread Surinder Mehra
So it is a very broad question. Sure you can use it for caching and compute as well as it has enough cores. Depending upon your requirements, you can read about data grid part on ignite documentation to get details about various ignite cache configurations - in memory - in memory with cache stores

Re: Deploy different class versions to ignite cluster

2021-11-15 Thread Surinder Mehra
documentation if any. On Mon, Nov 15, 2021, 16:37 Stephen Darlington < stephen.darling...@gridgain.com> wrote: > You might need to set the deployment mode to PRIVATE/ISOLATED but > otherwise it should pretty much just work. > > On 14 Nov 2021, at 04:37, Surinder Mehra wrote: > &

Re: Deploy different class versions to ignite cluster

2021-11-13 Thread Surinder Mehra
Any suggestions from experts ? On Thu, Nov 11, 2021, 23:49 Surinder Mehra wrote: > Hi, > I have a special requirement to support deploying several versions of same > class file on same ignite cluster. Say customer 1 wants some additional > features on same file but other clie

Re: APACHE HADOOP PERFORMANCE ACCELERATION and APACHE SPARK PERFORMANCE ACCELERATION

2021-11-11 Thread Surinder Mehra
Hi, I havent tried this but since no body answered you, this might help https://medium.datadriveninvestor.com/hadoop-integration-with-apache-ignite-and-using-hive-with-ignitemr-db8b8c09110e On Thu, Nov 11, 2021, 12:34 Siddharth Jain wrote: > Hi, > > I need help in how to configure acceleratio

Deploy different class versions to ignite cluster

2021-11-11 Thread Surinder Mehra
Hi, I have a special requirement to support deploying several versions of same class file on same ignite cluster. Say customer 1 wants some additional features on same file but other clients continue working with old version. Just trying to think if it is possible in ignite or i have to think about

Re: Submitting compute jobs from client node

2021-11-07 Thread Surinder Mehra
its call method several times with different parameters DemoTask implements IgniteCallable{ List trades; String clientName; LocalDate asof; .constr. get set.. .call() override } On Sat, Oct 30, 2021, 14:44 Surinder Mehra wrote: > Hi, > I found the list. So require

Re: Submitting compute jobs from client node

2021-10-30 Thread Surinder Mehra
help. On Sat, Oct 30, 2021 at 1:04 PM Surinder Mehra wrote: > I have mixed setup, where java client trying to run kotlin function on > ignite server. Also i dont run server and client in intelliJ. If I run > both client and server in IntelliJ, it works. So I am trying to find out >

Re: Submitting compute jobs from client node

2021-10-30 Thread Surinder Mehra
t; .setPeerClassLoadingEnabled(true) > Ignition.start(cfg) > .use { ignite -> > ignite.compute().run() { println("Hello") } > } > > > On 29 Oct 2021, at 13:20, Surinder Mehra wrote: > > Hi Thanks much for investigating it with me

Re: Submitting compute jobs from client node

2021-10-29 Thread Surinder Mehra
ignite.compute().run(() -> System.out.println("Hello, world")); > } > > } > } > > (It executes on server nodes by default; you don’t need to create a > cluster group for that.) > > So I think you’ll need to share more about your configuration and/or code > to get to

Re: Submitting compute jobs from client node

2021-10-27 Thread Surinder Mehra
when submitted from client node. They do run if I change clusterGroup to local nodes. like ClusterGroup grp = ignite.cluster().forLocalNodes(); On Wed, Oct 27, 2021 at 6:20 PM Surinder Mehra wrote: > yes, it is enabled. Even if that wasn't enabled, I should get class not > found error.

Re: Submitting compute jobs from client node

2021-10-27 Thread Surinder Mehra
gt; On 27 Oct 2021, at 13:18, Surinder Mehra wrote: > > > > Hi, > > I have a sever node and a thick client node running. I am trying to > submit ignite compute job from client node to server node but it doesn't > work. > > > > ClusterGroup grp = ignite.clust

Submitting compute jobs from client node

2021-10-27 Thread Surinder Mehra
Hi, I have a sever node and a thick client node running. I am trying to submit ignite compute job from client node to server node but it doesn't work. ClusterGroup grp = ignite.cluster().forServers() IgniteCompute ignieCompute = ignite.compute(grp); igniteCompute.run(() -> System.out.println("Tas

Re: Add field on cached class without restarting the whole cluster

2021-10-26 Thread Surinder Mehra
Peer class loading doesnt work on key and value objects of class as per ignite documentation On Wed, Oct 27, 2021, 08:44 Ilya Kazakov wrote: > Hi Rick. Actually, if you do not need to use your POJO classes on the > server-side (e.g. for some compute tasks or in services) you can try just > enabl

Re: Help with ContinuousQuery issue

2021-09-27 Thread Surinder Mehra
Hi, Did you try to print data inside local listener. As I understand it, initial query is only when cintinuous query starts, after that, local listener and remote filter (if provided) play role. On Tue, Sep 28, 2021, 00:02 Latha Masters wrote: > Hi all, > > > > We’ve run into an issue when using

Re: Local node terminated after segmentation

2019-11-27 Thread Surinder Mehra
You can extend the stopnode handler and stop Java process when stopnodehandler is called by ignite. We did similar thing in our project On Wed, Nov 27, 2019, 17:00 Akash Shinde wrote: > Hi , > > I have started four server nodes. One of the node got terminated > unexpectedly giving following erro

Re: Ignite - Using - complex object with nested attributes and search

2016-07-26 Thread Surinder Mehra
You can do this using ScanQuery by passing predicate to it. Predicate will have all conditions you want to check like person.name.contains(searchparameter) For JOINS, you have to use SqlQuery but I havent tried that. On Wed, Jul 27, 2016 at 6:50 AM, M Singh wrote: > Hi: > > Can we insert a compl

Re: Column not found exception while running SqlQuery i Ignite.

2016-07-23 Thread Surinder Mehra
Hi, Thanks... I executed the same code in another machine and it worked. I could see columns and indexes created in H2 console also. I have to now figure out why it is not working in this particular machine. On Sat, Jul 23, 2016 at 3:20 AM, vkulichenko wrote: > Hi, > > The code you showed here l

Column not found exception while running SqlQuery i Ignite

2016-07-22 Thread Surinder Mehra
Hi, I am getting column not found exception when I run SqlQuery. not sure why. below is my code. When I query using name and Id, I get results, When I use date or localDate types to query, I get exception " Caused by: org.h2.jdbc.JdbcSQLException: Column "COMPANY.INAGURATION" not found; SQL statem

<    1   2