Ignite persistence to local disk vs to cassandra

2018-08-10 Thread Wlodek, Tomasz
I have a question: Does anyone have numbers which compare the speed of ignite when persistence is set to local file system as compared to when it is set to Cassandra? Tom This message may contain information that is confidential or privileged. If you are not the intended recipient, please

Re: Ignite running on JDK10? (Maybe Solved)

2018-08-10 Thread KJQ
Added the exports to the SpringBoot plugin seem to work for me in addition to having them in my compiler and surefire plugins...it at least starts up Ignite and I see the Ignite banner. org.springframework.boot spring-boot-maven-plugin

Re: two data region with two nodes

2018-08-10 Thread wangsan
I just want A module: node a1 a2 make cache cache_a be persistence and balance in A module only with persistence region p_region B module node b1,b2 with cache cache_b be non_persistence and distribute in B module.B will access cache_a and have same region p_region for persistence even cache_b

Re: Is Cache reads take long time with cache size increase?

2018-08-10 Thread ilya.kasnacheev
Hello! The expectation is that increase should be logarithmic. In your case you should not expect 10 times increase, but 2-3x. However, if the operations take very short time their latency becomes irrelevant, you should really be looking at throughput. If for some requests latency starts to

Re: Ignite running on JDK10?

2018-08-10 Thread KJQ
As a note, I downgraded all of the Docker containers to use JDK 9 (9.0.4) and I still get the same problem running the SpringBoot 2 application. Running in my IDE a test case works perfectly fine. *Caused by: java.lang.RuntimeException: jdk.internal.misc.JavaNioAccess class is unavailable.*

Re: Ignite.NET tasks cancellation

2018-08-10 Thread ilya.kasnacheev
Hello! I try running this code, and I observe "System.Threading.Tasks.TaskCanceledException: A task was canceled." in Run() method. This is not quite what you are expecting, as you seem to expect jobs to be cancelled and not task, but from the code it's logical that it will happen. As for code

Re: Proper config for IGFS eviction

2018-08-10 Thread Pavel Kovalenko
Hello Engrdean, You should enable persistence on your DataRegionConfiguration to make it possible to evict files metadata pages from memory to disk. 2018-08-09 19:49 GMT+03:00 engrdean : > I've been struggling to find a configuration that works successfully for > IGFS > with hadoop filesystem

Ignite running on JDK10?

2018-08-10 Thread KJQ
We are currently integrating Apache Ignite v2.6.0 into our platform. We upgraded to JDK9 just to make sure we were compliant and then upgraded to JDK10 try and preemptively catch anything planned for removal. I can run Ignite great in test cases but when I go to startup a SpringBoot 2

Re: Node with BaselineTopology cannot join mixed clusterrunningincompatibility mode

2018-08-10 Thread Alex Plehanov
Hi, Arun When daemon node (visor) first time join the cluster it switch the cluster to compatibility mode. In this mode node containing baseline topology information will fail to join even if daemon node already leave the cluster. This issue was fixed by ticket [1] and will be available in Ignite

Is Cache reads take long time with cache size increase?

2018-08-10 Thread Hemasundara Rao
Hi, Wile working with Ignite we came across a situation where it is taking 10 time more time while reading records. Our initial cache size is 390,746 (count) Cache size increased to 7,297,301 (count) Now it is taking 10 times more time. Could you please suggest any performance tuning? Thanks

Re: Persistence with Spring Data

2018-08-10 Thread Ilya Kasnacheev
I think it should be possible. You can define Spring Data caches in configuration, and you can specify data region on per cache basis. You will have two data regions, persistent and non-persistent: https://apacheignite.readme.io/docs/memory-configuration#section-data-regions Regards, -- Ilya

Persistence with Spring Data

2018-08-10 Thread Lokesh Sharma
Hi all Is it possible to have persistence enable for just a single table when using Ignite through Spring Data rather than having it enabled for all the tables?

Re: SEVERE: Failed to resolve default logging config file: config/java.util.logging.properties

2018-08-10 Thread Evgenii Zhuravlev
To avoid this error, you should place config/java.util.logging.properties in your IGNITE_HOME directory(it can be resolved in your jar directory, if it was not set before). At the same time, this excpetion: java.lang.ClassNotFoundException: org.apache.ignite.logger.java.JavaLoggerFileHandler

Re: apache ignite cassandra persistentStore for enum fields

2018-08-10 Thread Ilya Kasnacheev
Hello! I can see the following in code: fieldVal = NUMERIC_TYPES.contains(field.getDatabaseFieldType()) ? val.ordinal() : val.name(); As you can see here, if the column is numeric then ordinal is stored, otherwise it's name. Which is the one that you want. Just specify the appropriate

Re: apache ignite cassandra persistentStore for enum fields

2018-08-10 Thread michal23849
Hi, I have the same issue with CacheJdbcPojoStore with writeBehind persistency in SQL DB. Is it only possible to store ENUMs as BLOBs or is there any other way to map them as strings, or anything else? I got the ENUMs both in the Key and Value fields. Regards Michal -- Sent from:

Re: Node with BaselineTopology cannot join mixed clusterrunningincompatibility mode

2018-08-10 Thread arunkjn
Hi, I am experiencing the same issue with a ignite 2.5 cluster deployed in kubernetes. Scenario: 5 server nodes hosting some caches. They are deployed multiple times without issues. I connected a visor client to this cluster (this is the first time i used visor ever on this cluster) On another

Re: Using Persistent ignite queues

2018-08-10 Thread dkol
Hi arunkjn were you able to resolve this issue ? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Using more memory than is physically available

2018-08-10 Thread ilya.kasnacheev
Hello! If you want to store more data on node than available Data Regions memory, your course of action should be Ignite Native Persistence. You can also use Expiry if the data is not crucial and you want to put limit on amount of data. Regards, -- Sent from:

Re: Ignite with POJO persistency in SQLServer

2018-08-10 Thread michal23849
Thanks for this, this clarifies a lot. Could you only advise which data type should be used and how to map the field of type which is my class? Should I use BINARY or this cannot be handled at all? My intuition is that I should map the my.package.ListingCode to the java.sql.Types.JAVA_OBJECT.

Re: Using more memory than is physically available

2018-08-10 Thread nitin.phadnis
I can afford to lose data. My ignite cache is embedded within an application running in open shift (docker containers) and has setClientMode(false). All data stored in docker containers is lost on pod restarts. Which would be preferable? Using ignite persistence or swap space? -- Sent from:

Re: Ignite with POJO persistency in SQLServer

2018-08-10 Thread Вячеслав Коптилин
Hello, Perhaps, I'm missing something but it seems that LONGVARBINARY is not supported by Apache Ignite. The full list of available types can be found here: https://apacheignite-sql.readme.io/docs/data-types Thanks, S. ср, 8 авг. 2018 г. в 18:52, michal23849 : > Hi All, > > I tried mapping the

what are the alternative for IgniteQueue for FIFO transactional, reliable, low-latency messaging

2018-08-10 Thread Deepa Kolwalkar
We have a requirement as follows: Large streams of Time-ordered data received form over a TCP source to be processed in a time-ordered (cannot do parallel processing of the records) manner. The raw data or processed data does not need to be retained/cached in the Ignite layer. The processed

Re: SEVERE: Failed to resolve default logging config file: config/java.util.logging.properties

2018-08-10 Thread monstereo
Sorry for late Here is the my project files: - Here is the config.xml config.xml - Here is the pom.xml pom.xml - Here is the MainApp MainApp.java