Queryentities - inserts with the Enum fields - failing with cachestore turned on

2019-01-23 Thread michal23849
Hi, I have a problem with very simple class being exposed to SQL with Enum field and want to use it togheter with custom CacheStore class managing the writeBehind to SQLServer database. My class is: public class Entitlement { Type type; String name; (...) } Where type is an

Queryentities - inserts with the Enum fields - failing with cachestore turned on

2019-01-23 Thread michal23849
Hi, I have a problem with very simple class being exposed to SQL with Enum field and want to use it togheter with custom CacheStore class managing the writeBehind to SQLServer database. My class is: public class Entitlement { Type type; String name; (...) } Where type is an

Re: Native persistence and 3rd party persistence on one cluster?

2019-01-23 Thread michal23849
Hi, thanks for the advice. I have configured to regions and they are having their own independent persistence settings. Thanks Michal -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: nodes getting disconnected from cluster

2019-01-23 Thread Ilya Kasnacheev
Hello! I don't see any lengthy GC pauses yet one node were segmented. It is unclear what exactly would cause this. Can you try increasing failureDetectionTimeout to 2 minutes (12) and retrying? Please attach logs if there is failure again. Regards, -- Ilya Kasnacheev вт, 8 янв. 2019 г. в

Re: Eviction policy is not working for default and new data region

2019-01-23 Thread vyhignite1
Thanks for the reply and here is the link for the code in GitHub: https://github.com/ghvchen/vfs4j-ignite Thanks, -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Unsubscribe

2019-01-23 Thread Dharrao,Nitin
NOTICE: This e-mail message, including any attachments and appended messages, is for the sole use of the intended recipients and may contain confidential and legally privileged information. If you are not the intended recipient, any review, dissemination, distribution, copying, storage or

RE: Error while persisting from Ignite to Hive for a BinaryObject

2019-01-23 Thread Premachandran, Mahesh (Nokia - IN/Bangalore)
Hi Ilya, The field apn_id is of type Long. I have been using the CacheJdbcPojoStore, does that map the BinaryObjects to the database schema? or is it only for java pojos? I have attached the xml I am using with the client. Mahesh From: Ilya Kasnacheev Sent: Wednesday, January 23, 2019 6:43

Re: Blocked system-critical thread has been detected. This can lead to cluster-wide undefined behaviour

2019-01-23 Thread Humphrey
Thanks Ilya, It works with runAsync. (Question) Can you clarify why does it work on a single node well and when going on two nodes it doesn't, and we get the exceptions? I was expecting it also to be happening on one server node. Humphrey -- Sent from:

Re: Ignite with Spring cache

2019-01-23 Thread AndrewV
I found the mistake. I was testing this inside the real application and caches had been evicted before I tried to iterate over caches. Thanks a lot for your time. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Eviction policy is not working for default and new data region

2019-01-23 Thread vyhignite1
Here is the code link in GitHub: https://github.com/ghvchen/vfs4j-ignite Thanks, -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Unsubscribe

2019-01-23 Thread Viraj Rathod
-- Regards, Viraj Rathod

Re: Queryentities - inserts with the Enum fields - failing with cachestore turned on

2019-01-23 Thread michal23849
Hi, When i specify as: Then I got the error when converting the inputs to Enum: 2019-01-23T17:38:48,340 ERROR o.a.i.i.p.o.j.JdbcRequestHandler [client-connector-#79] Failed to execute SQL query [reqId=0, req=JdbcQueryExecuteRequest [schemaName=PUBLIC, pageSize=1024, maxRows=0, sqlQry=INSERT

RE: Baselined node rejoining crashes other baseline nodes - DuplicateKeyError

2019-01-23 Thread Stanislav Lukyanov
Hi, I’ve reproduced this and have a fix – I guess it’ll be available with 2.8. Meanwhile I can only suggest not to create indexes without an explicit name. Stan From: mahesh76private Sent: 16 января 2019 г. 12:39 To: user@ignite.apache.org Subject: RE: Baselined node rejoining crashes other

RE: is peerClassLoadingEnabled in client mode makes difference

2019-01-23 Thread Stanislav Lukyanov
Yes, that’s actually the intended usage. Stan From: shivakumar Sent: 23 января 2019 г. 20:47 To: user@ignite.apache.org Subject: is peerClassLoadingEnabled in client mode makes difference when peerClassLoadingEnabled is enabled in client node which joins the cluster of servers, if any class/jar

is peerClassLoadingEnabled in client mode makes difference

2019-01-23 Thread shivakumar
when peerClassLoadingEnabled is enabled in client node which joins the cluster of servers, if any class/jar placed in client class path, is it possible to use those classes/jar by servers? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

RE: is peerClassLoadingEnabled in client mode makes difference

2019-01-23 Thread shivakumar
hi stan, thanks for your reply!! but in my case, i deployed ignite in kubernetes environment and starting a client node on VM, which connects to ignite server(client is configured to use org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder as discovery mechanism and provided IP

Re: is peerClassLoadingEnabled in client mode makes difference

2019-01-23 Thread Denis Magda
Shiva, Just to clarify, the peer class loading (p2p) is a global setting and can be set to on/off for particular nodes. As for your case, the client has to send a compute tasks or execute p2p-enabled API first and after that a server which will be processing the task/request will preloading

Re: LoadCaches example fails

2019-01-23 Thread arun jayapal
Yes. I figured that. But even if I update the file (secret.properties), intellij (the ide I use) doesn't accept the updated values. This is not an ignite problem per se, but it would be nice if someone gave me a workaround for it. Currently I restart the IDE. I have no idea how that helps... On

Re: Prevent automatic Ignite server node start for Spring Boot

2019-01-23 Thread Ilya Kasnacheev
Hello! It seems that somebody (like spring boot) have started org.apache.ignite.cache.CacheManager How to prevent it I am unaware, you should probably consult with Spring Boot docs. Regards, -- Ilya Kasnacheev ср, 23 янв. 2019 г. в 09:13, Humphrey : > Did you rebuild your project? Or

Blocked system-critical thread has been detected. This can lead to cluster-wide undefined behaviour

2019-01-23 Thread Humphrey
Hello everyone, I'm getting the error below when running more than 1 ServerNode. The idea what we want to achive is the following: 1) A client node will be adding data (ALPHA) to a partitioned cache (CACHE_ALPHA). 2) In the cluster (server nodes) we have a Node-Singleton Service deployed, which

Re: Ignite with Spring cache

2019-01-23 Thread Ilya Kasnacheev
Hello! new TextQuery(Person.class, "PERSON_ID") It looks that you are looking for a text "person_id" in all text fields of Person.class. Are you sure this is something you want here? Perhaps you wanted ScanQuery instead? Regards, -- Ilya Kasnacheev вт, 22 янв. 2019 г. в 21:12, AndrewV : > I

Re: Ignite with Spring cache

2019-01-23 Thread AndrewV
Yes, I've tried ScanQuery. I understand that TextQuery is not good and I use it just for testing. But in both cases, I don't have any results. Here i get cache object: IgniteCache cache = Ignition.ignite().cache(cacheName); but I don't have any results when I try to find something inside when

Re: PySpark: Failed to find data source: ignite

2019-01-23 Thread Stephen Darlington
You don’t say what your full CLASSPATH is but you’re clearly missing something. Here’s how I did it: https://medium.com/@sdarlington/the-trick-to-successfully-integrating-apache-ignite-and-pyspark-890e436d09ba Regards, Stephen > On 23 Jan 2019, at 05:49, Balakumar > wrote: > > Hi, > > I'm

Re: Introducing Typescript for the Node.js Client

2019-01-23 Thread Igor Sapego
Great job! Forwarding to devlist. Are there Node.js guys that can take a look? Best Regards, Igor On Tue, Jan 22, 2019 at 10:47 PM thavlik wrote: > https://github.com/thavlik/ignite/tree/master/modules/platforms/nodejs > > https://issues.apache.org/jira/browse/IGNITE-11032 > > Please let me

Re: PySpark: Failed to find data source: ignite

2019-01-23 Thread Balakumar
Hi Stephan, Thanks for the reply. I have actually added following lib settings in spark-defaults.conf spark.driver.extraClassPath /opt/ignite/libs/*.jar spark.driver.extraClassPath /opt/ignite/libs/ignite-indexing/*.jar spark.driver.extraClassPath /opt/ignite/libs/ignite-spark/*.jar

Re: How to use c++ client get cache data from java server

2019-01-23 Thread Igor Sapego
Hi, BinaryObject in C++ is not the same thing as in Java right now. Currently C++ client do not support "BinaryObject" construction and access. You may now only operate on actual serializable objects, for which BinaryObject class template has been specialized. You may find details and examples

How to use c++ client get cache data from java server

2019-01-23 Thread luodandan
I am new to Ignite. Now, i want to load a CSV file into java server and access the cache using the C++ client. The example code is as below. Java Code CacheConfiguration cfg = new CacheConfiguration("binaryCache"); // Sliding window of 1800 seconds.

Re: DatasetFactory.createSimpleDataset with a cache

2019-01-23 Thread zaleslaw
Hi, what kind of ML algorithms are you going to use? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite Inter node Communication security

2019-01-23 Thread aealexsandrov
Hi, Ignite supports only simple password authentication from the box. It doesn't contain any complex rights access. You can read more about it here: https://apacheignite.readme.io/docs/advanced-security In case if you require for authorization options you can implement the

Error while persisting from Ignite to Hive for a BinaryObject

2019-01-23 Thread Premachandran, Mahesh (Nokia - IN/Bangalore)
Hi all, I am trying to stream some data from Kafka to Ignite using IgniteDataStreamer and use 3rd party persistence to move it to HIVE. The data on Kafka is in avro format, which I am deserailising, populating an Ignite BinaryObject using the binary builder and pushing it to Ignite. It works

Re: Ignite Inter node Communication security

2019-01-23 Thread Ilya Kasnacheev
Hello! If you use SSL with non-disabled Trust Manager, then only nodes possessing correct certificates will be admitted. Regards, -- Ilya Kasnacheev ср, 23 янв. 2019 г. в 09:03, garima.j : > Hello, > > Does Ignite version 2.7 support inter-node communication security? > I have a 3 node

Re: Eviction policy is not working for default and new data region

2019-01-23 Thread aealexsandrov
Hi, Could you please attach full XML configuration and java code that can reproduce this issue? You can upload your reproducer to GitHub for example. BR, Andrei -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Error while persisting from Ignite to Hive for a BinaryObject

2019-01-23 Thread Ilya Kasnacheev
Hello! I think that your CacheStore implementation is confused by nested fields or binary object values (what is the type of apn_id?). Consider using CacheJdbcBlobStoreFactory instead which will serialize value to one big field in BinaryObject formar. Regards, -- Ilya Kasnacheev ср, 23 янв.

Re: Queryentities - inserts with the Enum fields - failing with cachestore turned on

2019-01-23 Thread Ilya Kasnacheev
Hello! > Why do you specify type of 'type' as String? Have you tried specifying actual enum type here? Do you have a reproducer project of this behavior, with e.g. H2 used as underlying database? Regards, -- Ilya Kasnacheev ср, 23 янв. 2019 г. в

Re: LoadCaches example fails

2019-01-23 Thread Ilya Kasnacheev
Hello! > Caused by: java.net.UnknownHostException: [host]:[port] I think you are supposed to put Postgres host and port somewhere. Note that it is not directly related to Apache Ignite. Regards, -- Ilya Kasnacheev ср, 23 янв. 2019 г. в 09:33, deostroll : > I created a cluster and imported a

Re: DatasetFactory.createSimpleDataset with a cache

2019-01-23 Thread Mehdi Seydali
i think classification and clustering is most important On Wed, Jan 23, 2019 at 2:09 PM zaleslaw wrote: > Hi, what kind of ML algorithms are you going to use? > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >

Re: LoadCaches example fails

2019-01-23 Thread Ilya Kasnacheev
Hello! So you are saying it works for you if you restart IDE? Have you tried doing clean build instead? Or run maven "clean install" target? Where is that properties file located? Regards, -- Ilya Kasnacheev ср, 23 янв. 2019 г. в 16:31, arun jayapal : > Yes. I figured that. But even if I

Re: Blocked system-critical thread has been detected. This can lead to cluster-wide undefined behaviour

2019-01-23 Thread Ilya Kasnacheev
Hello! As a general principle you should avoid doing any blocking operations from event handlers, which is precisely something that you are doing. If you replace run() with runAsync() in your service impl, it will finish all right with two ServerNode's. Regards, -- Ilya Kasnacheev ср, 23

Re: Ignite with Spring cache

2019-01-23 Thread Ilya Kasnacheev
Hello! You can do ignite().cache(cacheName).withKeepBinary().iterator() to capture any entries if they are there. Can you try it and dump the contents verbatim? Regards, -- Ilya Kasnacheev ср, 23 янв. 2019 г. в 16:49, AndrewV : > Yes, I've tried ScanQuery. I understand that TextQuery is not