Ignite server of perNodeParallelOperatoins ?

2020-07-07 Thread Edward Chen
Hello, In IgniteDataStreamer, there is a config: perNodeParallelOperatoins (int), it is configured in the client side. in the Server side, does it have similar configuration ? otherwise,  if client has freedom to set any number of perNodeParallelOperatoins they want,  how server prevent not c

ignite cache as database table

2020-04-10 Thread Edward Chen
Hello, trying to load 17m record size of data, size is 3.4G. if pojo class field defined with QuerySqlField annotation, Ignite will use roughly 9G memory. If we create ignite cache as database table with QueryEntity / QueryField, it will use total 20G memory. The difference is the second one w

Re: how to achieve this topology ?

2020-03-10 Thread Edward Chen
-examples/blob/master/src/main/java/examples/nodefilter/cache/CacheNodeFilterExample.java Evgenii пт, 6 мар. 2020 г. в 18:34, Edward Chen <mailto:java...@gmail.com>>: Hello, I want to achieve this topology, do you know how to configure ? The critical parts are, cache2 in JVM2 s

how to achieve this topology ?

2020-03-06 Thread Edward Chen
Hello, I want to achieve this topology, do you know how to configure ? The critical parts are, cache2 in JVM2 should not be replicated or copied to JVM 1 . cache1 in JVM1 should not be replicated or copied to JVM 2 .  JVM3 and JVM 4 are each other failed-over backup. Thanks. Ed

how to achieve this topology ?

2020-03-06 Thread Edward Chen
Hello, I want to achieve this topology, do you know how to configure ? The critical parts are, cache2 in JVM2 should not be replicated or copied to JVM 1 . cache1 in JVM1 should not be replicated or copied to JVM 2 .  JVM3 and JVM 4 are each other failed-over backup. Thanks. Ed

Load cache data into another POJO with SQL

2020-02-13 Thread Edward Chen
Hello, I am using Ignite SQL, wondering it is possible to load cache data into another POJO ?  just like ORM, sql like this : select new MyPojo(p.name, p.age) from myCacheTable as p where p.age > 30 Thanks. Ed

where to download odbc driver ?

2020-02-13 Thread Edward Chen
Hello, As per Ignite doc, ignite is shipped with ODBC windows pre-built installers. I can not find any odbc msi file in apache-ignite-2.7.6-bin.zip.  Do you know how to get the odbc driver ? https://apacheignite-sql.readme.io/docs/odbc-driver#building-odbc-driver Thanks. Ed

Re: sql insert, but key is null

2020-02-11 Thread Edward Chen
Yes, all of them defined in Person On 2/11/2020 6:29 PM, Evgenii Zhuravlev wrote: Did you add it to all fields in both key and value? Evgenii вт, 11 февр. 2020 г. в 15:18, Edward Chen <mailto:java...@gmail.com>>: I just add @QuerySqlField to java field. Does Ignite have a

sql insert, but key is null

2020-02-11 Thread Edward Chen
Hello, I am using Ignite 2.7.6 and testing its SQL insert function. I have these codes: PersonKey {     id: Long;     type: String; // constructor, getter, setter // hashCode, toString ... } Person {     id: Long;     type: String;     name: String;     zip: String;     public PersonKe

not working in Spark submit yarn mode.

2019-06-04 Thread Edward Chen
Hi, I am trying to load Hdfs data into cache from Spark. it is working in local mode, but failed in spark-submit yarn mode. it tried to find Ignite Home path in the cluster. yes, it is true that Ignite is not installed in cluster. but why needed ? Ignite instance is created inside my java code