Re: MySQL cache load causes java.sql.SQLException: GC overhead limit exceeded

2018-08-07 Thread Orel Weinstock (ExposeBox)
I've used the web-console generated LoadCaches file. From what I understand, looking at the source code, this is not supposed to keep it on-heap at all (and I've supplied ample off-heap space). It "just worked" with a HUGE memory allocation, but I will optimize it later. On 7 August 2018 at

Re: While enabling JCache, JCacheMetrics is throwing NullPointerException in getCacheManager with spring boot

2018-08-07 Thread Вячеслав Коптилин
Hi, You can create a cache via CacheManager instance using Ignite CacheConfiguration or MutableConfiguration: public class ExampleNodeStartup { public static void main(String[] args) throws Exception { CachingProvider provider = Caching.getCachingProvider(); CacheManager

Re: values retrieved from the cache are wrapped with JdkDynamicAopProxy while using springboot and JCache

2018-08-07 Thread Павлухин Иван
Hi, Looks like Spring itself wraps result into proxy. If you could provide a reproducer it will help to find a reason faster. 2018-08-07 21:09 GMT+03:00 daya airody : > Values retrieved from cache are wrapped with JdkDynamicAopProxy. This > throws > below NPEs > > --- >

values retrieved from the cache are wrapped with JdkDynamicAopProxy while using springboot and JCache

2018-08-07 Thread daya airody
Values retrieved from cache are wrapped with JdkDynamicAopProxy. This throws below NPEs --- java.lang.NullPointerException: null at org.springframework.aop.framework.AdvisedSupport.getInterceptorsAndDynamicInterceptionAdvice(AdvisedSupport.java:481) at

Re: While enabling JCache, JCacheMetrics is throwing NullPointerException in getCacheManager with spring boot

2018-08-07 Thread daya airody
Hi slava, thanks for your comments. I am creating the cache directly using JCache API below: --- @Bean public JCacheManagerCustomizer cacheManagerCustomizer() { return cm -> { Configuration cacheConfiguration = createCacheConfiguration();

Question

2018-08-07 Thread romil kothawade
how ignite decides how many partitions should be made and on which node cache partitiones should be store,can u please explain as a new to ignite.

Re: SqlFieldsQuery Cannot create inner bean 'org.apache.ignite.cache.query.SqlFieldsQuery

2018-08-07 Thread ilya.kasnacheev
Hello! I'm not aware of any other settings to avoid OOME for SQL queries. Regards, -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: OOME causing caches to be removed

2018-08-07 Thread ilya.kasnacheev
Hello! My recommendation here is breaking this query down into ranges (by using LIMIT or better yet, range WHERE condition), processing every range separately. Otherwise I can see how Ignite will try to keep all data on heap at some point. Regards, -- Sent from:

Re: Help needed with BinaryObjectException

2018-08-07 Thread ilya.kasnacheev
Hello! You mentioned that you have client nodes in test setup. This means that data has to be serialized to be sent from client to server. If you only use server nodes, you can configure them in such fashion that they never form a cluster but only function individually, and thus you should avoid

Partitions distribution across nodes

2018-08-07 Thread akash shinde
Hi , I am loading cache in partition aware mode.I have started four nodes. Out of these four node two nodes are loading only backup partitions and other two nodes are loading only primary partitions. As per my understanding each node should have backup and primary partition both. But in my

Re: How to do rolling updates with embedded Ignite and changing models

2018-08-07 Thread ilya.kasnacheev
Hello! My expectation that you can also use Binarylizable classes with some forward compatibility and avoid this problem. You could also focus on using SQL/binary objects. It should be working, but if it doesn't, please supply code snippets & exception traces. Regards, -- Sent from:

Re: remote filter of continous query.

2018-08-07 Thread Som Som
can i use both remote java and c# filters in this case or not? вт, 7 авг. 2018 г., 17:13 Ilya Kasnacheev : > Hello! > > My guess is that you need to start all of your nodes (including server > nodes) as C# nodes in order to use remote filters or a lot of other > features that run code remotely.

Re: MySQL cache load causes java.sql.SQLException: GC overhead limit exceeded

2018-08-07 Thread Ilya Kasnacheev
Hello! This is likely caused by trying to keep all the table data in memory during data load. Can you share your code so that we could take a look? Regards, -- Ilya Kasnacheev 2018-08-06 18:00 GMT+03:00 Orel Weinstock (ExposeBox) : > Hi all, > > Changing the MAIN_CLASS env variable and

Re: remote filter of continous query.

2018-08-07 Thread Ilya Kasnacheev
Hello! My guess is that you need to start all of your nodes (including server nodes) as C# nodes in order to use remote filters or a lot of other features that run code remotely. You can probably even use Apache.Ignite.exe for that. Regards, -- Ilya Kasnacheev 2018-08-07 17:11 GMT+03:00 Som

remote filter of continous query.

2018-08-07 Thread Som Som
Hi. i'm trying to set up a remote filter for continous query using c# client and i see an error on the console window of my server node: ...platforms are not available... What could be the reason for that?

Re: S3 discovery and bridge networks

2018-08-07 Thread Ilya Kasnacheev
Hello! Can you have a virtual network containing all of your nodes, so that their internal addresses will work? I have to admit I'm not a devops so I don't know any more specifics. Regards, -- Ilya Kasnacheev 2018-08-07 17:07 GMT+03:00 Dave Harvey : > My understanding: S3 discovery works

Re: S3 discovery and bridge networks

2018-08-07 Thread Dave Harvey
My understanding: S3 discovery works because the container publishes its IP/port in an S3 bucket, and other nodes can read this to determine which nodes might be in the cluster. When running in a container using a bridge network, the container does not know the external IP address that can be

Re: c++ build from source

2018-08-07 Thread Igor Sapego
This is OK, you may ignore this message. Configure scripts, generated by autoconf are trying to delete "core" files during their work, as they expect that some operations can generate coredump files on crash, so it prints this error when it faces "core" directory. More details here: [1]. The

c++ build from source

2018-08-07 Thread Floris Van Nee
Hi, I'm trying to build Apache Ignite C++ from source on Ubuntu. First, I downloaded the Ignite 2.6 source code and built the Java part. This was successful. Then, I went to the modules/platforms/cpp directory and ran: libtoolize && aclocal && autoheader && automake --add-missing && autoreconf

Re: Slides of Ignite use cases

2018-08-07 Thread Mauricio Stekl
Hi all, I have fixed the problem with the links. Now all of them are redirecting to the right place. Best, Mauricio Stekl On Aug 7, 2018, 06:57 -0300, Ilya Kasnacheev , wrote: > Hello! > >

Re: Ignite with POJO persistency in SQLServer

2018-08-07 Thread aealexsandrov
>From web console sources I see next mapping: {"dbName": "BIT", "dbType": -7, "signed": {"javaType": "Boolean", "primitiveType": "boolean"}}, {"dbName": "TINYINT", "dbType": -6, "signed": {"javaType": "Byte", "primitiveType": "byte"}, "unsigned": {"javaType": "Short",

Re: Ignite with POJO persistency in SQLServer

2018-08-07 Thread aealexsandrov
I am not fully sure but according to the specification of java.sql.Types you can try to use next for Java objects: https://docs.oracle.com/javase/7/docs/api/java/sql/Types.html#JAVA_OBJECT https://docs.oracle.com/javase/7/docs/api/java/sql/Types.html#OTHER

Re: Ignite with POJO persistency in SQLServer

2018-08-07 Thread michal23849
Hi Anrei, My goal is to map the data using CacheJdbcPojoStore and save the data that I already have in Ignite to SQLServer. The data model has embedded classes and I don't know how to map them. Currently I got the following setup, which works fine, but that is only the subset of data.

Re: Failed to add node to topology because it has the same hash code for partitioned affinity as one of existing nodes

2018-08-07 Thread Вячеслав Коптилин
Hello, > Hi It is having unique consistentId across cluster. > Node1 ConsistentId (Server 1): 127.0.0.1:48500..48520 192.168.0.4:48500..48520 192.168.0.5:48500..48520 > Node2 ConsistentId (Server 1): 127.0.0.1:48500..48520 192.168.0.4:48500..48520 192.168.0.5:48500..48520 > Node 3(server2):

Re: Ignite with POJO persistency in SQLServer

2018-08-07 Thread aealexsandrov
Hi, You have pogo class - your.package.EquityClass wuth next fields: Long equityID; private ListingCode firstCode; private String equityName; private String equityType; private String equityClass; private Set listings; and you are going to store in into ignite. In

Re: Failed to add node to topology because it has the same hash code for partitioned affinity as one of existing nodes

2018-08-07 Thread kvenkatramtreddy
Hi It is having unique consistentId across cluster. All nodes running for some time, it is happening after some time.Please see the discoverySpi and consistenId details below. *Node1 ConsistentId (Server 1):*

Re: big wal/archive file,but node file is small

2018-08-07 Thread aealexsandrov
Hi, First of all read about the WAL: https://apacheignite.readme.io/docs/write-ahead-log https://cwiki.apache.org/confluence/display/IGNITE/Ignite+Persistent+Store+-+under+the+hood#IgnitePersistentStore-underthehood-WALHistorySize WAL Work maximum used size: walSegmentSize * walSegments = 640Mb

Ignite with POJO persistency in SQLServer

2018-08-07 Thread michal23849
Hi, I have my Ignite that has complex objects classes with not only generic Java data types, but also other classes and arrays of classes. I managed to setup my PojoStore that successfully writes (write-behind) data to SQL Server table for all generic data types. I see no examples or

Re: Slides of Ignite use cases

2018-08-07 Thread Ilya Kasnacheev
Two more links are https://www.imcsummit.org/2017/us/sessions/how-in-memory-solutions-can-assist-saas-integrations and https://www.imcsummit.org/2017/us/sessions/ignite-compute-grid-in-cloud Regards, -- Ilya Kasnacheev 2018-08-07 12:57 GMT+03:00 Ilya Kasnacheev : > Hello! > >

Re: Failed to add node to topology because it has the same hash code for partitioned affinity as one of existing nodes

2018-08-07 Thread Вячеслав Коптилин
Hello, It seems that there are nodes that have the same value of consistentId property. Please try to set IgniteConfiguration.setConsistentId to a unique value cluster-wide. Thanks. вт, 7 авг. 2018 г. в 7:27, kvenkatramtreddy : > Hi Team, > > I have configured my all caches replicated mode

Re: Slides of Ignite use cases

2018-08-07 Thread Ilya Kasnacheev
Hello! https://www.imcsummit.org/2017/us/sessions/implementation-investment-book-record-ibor-using-apache-ignitegridgain This link seems to be working. + dmagda@ Is it possible to correct it from our side? Regards, -- Ilya Kasnacheev 2018-08-07 6:45 GMT+03:00 Lijun Cao <641507...@qq.com>:

Re: IgniteRepository Custom Config

2018-08-07 Thread Ilya Kasnacheev
Hello! As per example, you can specify cache configuration when starting Ignite node, refer to that cache by name in Spring Data annotation: https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/springdata/PersonRepository.java

Re: Ignite.NET how to cancel tasks

2018-08-07 Thread Вячеслав Коптилин
Hello, Have you checked Ignite log files? Do they contain anything suspicious? I just checked TeamCity and it seems that CancellationTest (that I mentioned above) is OK. Thanks, S. вт, 7 авг. 2018 г. в 9:47, Maksym Ieremenko : > Hi Slava, > > > > >> > using (var ignite = Ignition.Start()) > >

Re: OOM on connecting to Ignite via JDBC

2018-08-07 Thread Denis Mekhanikov
Orel, Could you show Ignite configuration? I'd like to make sure, that you configured the JDBC port correctly. Denis пн, 6 авг. 2018 г. в 17:54, Orel Weinstock (ExposeBox) : > This is the correct port - I've set it manually. I've used the same > configuration with the web console for inserting

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

2018-08-07 Thread Evgenii Zhuravlev
Can you share this project so community can reproduce it? 2018-08-07 11:04 GMT+03:00 monstereo : > No i am not using spark, it is simply java project > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >

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

2018-08-07 Thread monstereo
No i am not using spark, it is simply java project -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

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

2018-08-07 Thread Evgenii Zhuravlev
This means just that ignite doesn't see this file. >when I run the jar file via: >java -DIGNITE_HOME=somePath/toBin//apache-ignite-fabric-2.5.0-bin/ -jar >DifferentHosts-1.0-SNAPSHOT.one-jar.jar >give me this error: >java.lang.ClassNotFoundException:

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

2018-08-07 Thread monstereo
same error when ı run ja file java -DIGNITE_LOG_DIR=somePath/toBin/apache-ignite-fabric-2.5.0-bin/config -jar DifferentHosts-1.0-SNAPSHOT.one-jar.jar give me the same error Re: SEVERE: Failed to resolve default logging config file: config/java.util.logging.properties or this java

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

2018-08-07 Thread Evgenii Zhuravlev
-DIGNITE_LOG_DIR=somePath/toBin/apache-ignite-fabric-2. 5.0-bin/config/java.util.logging.properties DIGNITE_LOG_DIR should be a directory, not a full path to file with name 2018-08-07 10:32 GMT+03:00 monstereo : > no it does not work > there is java.util.logging.propeties file in my >

Re: Public thread pool starvation detected

2018-08-07 Thread Evgenii Zhuravlev
Hi, What kind of compute jobs do you run? Do you start new jobs inside jobs? Can you share thread dumps? Evgenii 2018-08-07 1:48 GMT+03:00 boomi : > Hello, > > We are having a possible deadlock issue with Apache Ignite .NET 2.5.0. We > have setup a cluster with 5-server nodes and 1-client

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

2018-08-07 Thread monstereo
no it does not work there is java.util.logging.propeties file in my apache-ignite-fabric-2.5.0-bin/config/ when I run the jar file via: java -DIGNITE_LOG_DIR=somePath/toBin/apache-ignite-fabric-2.5.0-bin/config/java.util.logging.properties -jar DifferentHosts-1.0-SNAPSHOT.one-jar.jar give me the

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

2018-08-07 Thread Evgenii Zhuravlev
well, because you need to have config/java.util.logging.properties in IGNITE_HOME directory, or you can configure path to this file explicitly using IGNITE_LOG_DIR 2018-08-07 10:18 GMT+03:00 monstereo : > thanks, > I can solve this error via adding -DIGNITE_HOME in my vm option > But when I

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

2018-08-07 Thread monstereo
thanks, I can solve this error via adding -DIGNITE_HOME in my vm option But when I convert to the jar file, can not see the -DIGNITE_HOME even if I say: java -DIGNITE_HOME=pathToBin -jar jarName -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Caused by: java.lang.ClassNotFoundException: org.apache.ignite.logger.slf4j.Slf4jLogger

2018-08-07 Thread Evgenii Zhuravlev
I've already answered that question too 2018-08-07 10:15 GMT+03:00 monstereo : > I have solved this one > I am looking for an answer > this > Failed-to-resolve-default-logging-config-file-config- >

Re: Caused by: java.lang.ClassNotFoundException: org.apache.ignite.logger.slf4j.Slf4jLogger

2018-08-07 Thread monstereo
I have solved this one I am looking for an answer this -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Caused by: java.lang.ClassNotFoundException: org.apache.ignite.logger.slf4j.Slf4jLogger

2018-08-07 Thread Evgenii Zhuravlev
You should add also dependency on ignite-slf4j Evgenii 2018-08-07 9:24 GMT+03:00 monstereo : > I can not solve this problem > pom.xml: > > org.apache.ignite > ignite-log4j > 2.5.0 > > > org.slf4j > slf4j-api >

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

2018-08-07 Thread Evgenii Zhuravlev
Hi, Some classes directly creating JUL logger instead using logger from context. Here are 2 issues for this problem: https://issues.apache.org/jira/browse/IGNITE-8426 https://issues.apache.org/jira/browse/IGNITE-8899 Both fixes already in master and will be available with version 2.7 Evgenii

RE: Ignite.NET how to cancel tasks

2018-08-07 Thread Maksym Ieremenko
Hi Slava, >> > using (var ignite = Ignition.Start()) >> Is it possible that Ignite node was closed before the cancellation request >> was processed by an instance of SimpleJob? Could you please check that fact? No. I double cheeked: the main thread hangs on cts.Cancel(); //

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

2018-08-07 Thread monstereo
I can not solve this failed log4j:WARN No appenders could be found for logger (org.apache.ignite.internal.util.typedef.G). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Aug 07, 2018 9:27:28 AM

Caused by: java.lang.ClassNotFoundException: org.apache.ignite.logger.slf4j.Slf4jLogger

2018-08-07 Thread monstereo
I can not solve this problem pom.xml: org.apache.ignite ignite-log4j 2.5.0 org.slf4j slf4j-api 1.7.25 org.slf4j slf4j-simple 1.7.25 test