Re: Ignite clustering doubts

2018-06-07 Thread the_palakkaran
Why do I want to map keys to partition ids? Can you tell me more, please? By keys, it means the keys used for the cache right? If so, particular keys will always go to some node, is that so? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: How are SQL Queries executed on Ignite Cluster

2018-06-07 Thread Sanjeev
trying to understand this: 1) In case where no indexes are involved and you are doing a table scan, it should automatically try to exploit available CPU cores and process each partition on a separate thread/core. At least table scan queries should entertain the idea dynamic parallelism through

Re: Zookeeper discovery register all network interfaces address

2018-06-07 Thread moon-duck
Thanks! It is what I totally want. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

RE: Continuous query - Exactly once based event across multiple nodes..

2018-06-07 Thread Raymond Wilson
I another possibility to create a continuous query per node in your node affinity set for the cache and have the continuous query return local values, like this: using (IContinuousQueryHandle> queryHandle = queueCache.QueryContinuous (qry: new ContinuousQuery< Key,

Re: Zookeeper discovery register all network interfaces address

2018-06-07 Thread vkulichenko
By default Ignite binds to all interfaces (0.0.0.0) and therefore publish all available IPs. If you want to bind to a specific address, you can set IgniteConfiguration#localHost property. In this case only this address would be published. -Val -- Sent from:

Re: Continuous query - Exactly once based event across multiple nodes..

2018-06-07 Thread vkulichenko
JP, Do you have a solution for this? Do you need any more help? -Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Using Java executor service inside Ignite transaction

2018-06-07 Thread vkulichenko
Prasad, What is your business use case and what do you mean by processing? Please describe in more detail. Are you sure you need to use the transaction here in the first place? -Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

[Article] Using Linear Regression with Apache Ignite

2018-06-07 Thread Akmal Chaudhri
Second article in a multi-part series: https://www.gridgain.com/resources/blog/using-linear-regression-apacher-ignitetm Feedback welcome. Thank you.

Re: Ignite C# Geometry

2018-06-07 Thread Jonathan Mayer
Hi Andrew Thanks for the reply. " mock vividsolution classes" sounds interesting - is there an example of how to mock a class with BinaryObjects? Many Thanks Jonathan -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite Spring Integration seems broken with 2.4 (upgrading from 2.3)

2018-06-07 Thread Denis Magda
The issue will be addressed once this ticket is resolved: https://issues.apache.org/jira/browse/IGNITE-8740 -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite 2.5 nodes do not rejoin the cluster after restart (works on 2.4)

2018-06-07 Thread szj
Hi I'm afraid I wiped Ignite off my servers already as this behaviour was a blocker to me. I only needed a key value store able to replicate across several datacenters across the globe (my use case involves very few writes) and I'm now evaluating another product already. I strongly suggest you

Re: IgniteCache invoke CacheEntryProcessor, not throw EntryProcessorException

2018-06-07 Thread Andrey Mashenkov
Hi, Yes, but no. You will observe lower latency per operation on client and you will be able to utilize more server resources with less number of threads. But operation logic will be the same, no steps will be omit (backups will be updated as well)... so, maximal performance that can be achieved

Re: IgniteCache invoke CacheEntryProcessor, not throw EntryProcessorException

2018-06-07 Thread haotian.chen
Awesome, that's super clear! One last question, will full_async have better performance over the other two usually? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: ignite peer class loading query

2018-06-07 Thread Andrey Mashenkov
1. Peer-classloading is designed for compute jobs. All other classes (except may be user domain classes when BinaryObjects are used) must be in classpath on all nodes. 2. Next is true for transactional cache. Client node must have a CacheStore drivers as well as server nodes. This because a

Re: Cache getting cleareing automatically

2018-06-07 Thread Andrey Mashenkov
Ignite should support persistence format of older versions. Also, please, take a look at Baseline topology feature that is available from 2.4 version. [1] https://apacheignite.readme.io/docs/baseline-topology On Thu, Jun 7, 2018 at 5:35 PM, siva wrote: > If we switch to 2.5 version ,what

Re: Ignite clustering doubts

2018-06-07 Thread Ilya Kasnacheev
Hello! Affinity function determines mapping of keys to partition ids and of partition ids to nodes. Usually you only override the first part since changing the second one is a research problem. Regards, -- Ilya Kasnacheev 2018-06-07 18:36 GMT+03:00 the_palakkaran : > Wow ! Thanks a ton.

Re: Ignite clustering doubts

2018-06-07 Thread the_palakkaran
Wow ! Thanks a ton. If there was an upvote thing here,I would have surely broke it. Can you tell me what is the need of AffinityFunction then? Also can I control this Rendezvous Hashing? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: C++ Distribute Closure Failure

2018-06-07 Thread Igor Sapego
Depending on your configuration, job is either going to be routed to another node for execution, or you will get an exception. See [1] for details. [1] - https://apacheignite-cpp.readme.io/docs/fault-tolerance Best Regards, Igor On Thu, Jun 7, 2018 at 5:15 PM, F.D. wrote: > How can I know if

Re: Ignite user create/modify trouble

2018-06-07 Thread engrdean
Thanks Andrei, adding quotes and realizing that case matters made all of the difference. I did read the documentation around this but my impression was that a connection via JDBC should be case insensitive and that does not appear to be the case. From the documentation: /For instance, if test

Re: ignite peer class loading query

2018-06-07 Thread David Harvey
Certain kinds of requests (e.g., remote calls) carry enough information for the receiver of the message to do peer class loading. The main purpose of peer class loading is to avoid the need to restart the server to install software, and the peer class loading is therefore done by the server

Re: IgniteSpringBean & Ignite SpringTransactionManager broken with 2.4?

2018-06-07 Thread ilya.kasnacheev
Hello! I went ahead and filled a ticket: https://issues.apache.org/jira/browse/IGNITE-8740 Regards, -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cache getting cleareing automatically

2018-06-07 Thread siva
If we switch to 2.5 version ,what about data ? I think there is no continuous upgrade in ignite -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

ignite peer class loading query

2018-06-07 Thread vbm
Hi, I have a Ignite server running with 3rd partyDB (MYSQL). I have the below configuration in xml file: * * ... On the server the jar for mysql jdbc driver is present iand the servers are coming up successfully. I have placed the mysql jdbc driver in a seperate folder and

Re: C++ Distribute Closure Failure

2018-06-07 Thread F.D.
How can I know if I'm waiting because my job is complex and it takes much time, or because the node where it was running is crashed? Regards, F.D. On Thu, Jun 7, 2018 at 4:01 PM Igor Sapego wrote: > What do you mean by "failed"? > > Best Regards, > Igor > > On Thu, Jun 7, 2018 at 2:33 PM,

Re: Cache getting cleareing automatically

2018-06-07 Thread Andrey Mashenkov
Hi, Try to switch to the latest Ignite 2.5 version as it includes many bugfixes related to cluster stability. On Thu, Jun 7, 2018 at 4:57 PM, siva wrote: > 1.we are using ignite 2.3 version , > 2.We are using an Api.Client node is a spring boot rest application ,we > have > written an api to

Re: Does equals method have relevance in Custom Key Class

2018-06-07 Thread Andrey Mashenkov
Yes. there are scenarios you can't use simple data types. This relates to not only Ignite. As Ignite SQL layer is built over key-value storage, there always be some overhead on SQL operations. Key-value API allow you operate with one or more cache entries with known keys. If the keys of entries

Re: C++ Distribute Closure Failure

2018-06-07 Thread Igor Sapego
What do you mean by "failed"? Best Regards, Igor On Thu, Jun 7, 2018 at 2:33 PM, F.D. wrote: > Hi, > when I launch a distibute closure calling the Call method or by RunAsync, > how can I check if the function is failed? Only by timeout? > > Thanks, >F.D. >

Re: Cache getting cleareing automatically

2018-06-07 Thread siva
1.we are using ignite 2.3 version , 2.We are using an Api.Client node is a spring boot rest application ,we have written an api to perform curd operations and as well as clearing and destroying cache.Bellow is the configuration cache mode initially *Partitioned * .Later changed to Replicated

Re: Cache getting cleareing automatically

2018-06-07 Thread Andrey Mashenkov
Hi, What Ignite version do you use? Looks like it was fixed in 2.5 [1]. How are you create and destroy a cache? via API or SQL? [1] https://issues.apache.org/jira/browse/IGNITE-8021 On Thu, Jun 7, 2018 at 4:32 PM, siva wrote: > > Hi, > We have two ignite server nodes in single physicle

Re: Ignite user create/modify trouble

2018-06-07 Thread aealexsandrov
Hi, When you create the user in quotes ("test") using SQL as next: CREATE USER "test" WITH PASSWORD 'test' It will be created as it was set (in this case it will be test) If you create the user without quotes (test) using SQL as next: CREATE USER test WITH PASSWORD 'test' then username will

Re: Ignite 2.5 nodes do not rejoin the cluster after restart (works on 2.4)

2018-06-07 Thread Andrey Mashenkov
Hi, What baseline topology does ./control.sh prints? Is it possible, a node that out of baseline has started before baseline node starts? On Thu, Jun 7, 2018 at 9:54 AM, szj wrote: > Well, it definitely does work in 2.4. Please notice that there needs to be > ignitevisorcmd.sh involved to

Cache getting cleareing automatically

2018-06-07 Thread siva
Hi, We have two ignite server nodes in single physicle machine,and one client node.Dont know what happend cache getting clear automatically.Initially We have created a cache name called "*c091e548-b45a-49b4-b8ec-2cb5e27c7af6*" with "*partitioned*" mode.Later we destroy the same cache and

Re: How are SQL Queries executed on Ignite Cluster

2018-06-07 Thread Evgenii Zhuravlev
It can't work on the query level, because internally, it divides all indexes into N trees instead of one(where N equals queryParallelism). You can't redefine it after it was created since it will lead to the complete rebuild of all indexes. Evgenii 2018-06-06 20:55 GMT+03:00 Sanjeev : > So it

Re: Ignite C# Geometry

2018-06-07 Thread Andrey Mashenkov
Hi, I don't think JST classe are supported in Ignite binary protocol. You can try to use BinaryObjects for mock vividsolution classes or inline in SQL query string. On Thu, Jun 7, 2018 at 10:34 AM, Jonathan Mayer wrote: > Hi Guys, > > I realise that 2.5 has just been released and that

Re: Ignite Node failure - Node out of topology (SEGMENTED)

2018-06-07 Thread Andrey Mashenkov
Hi, Seems, there is a bug with IPv6 usage [1]. This has to be investigated. Also, there is a discussion [2]. [1] https://issues.apache.org/jira/browse/IGNITE-6503 [2] http://apache-ignite-developers.2346864.n4.nabble.com/Issues-if-Djava-net-preferIPv4Stack-true-is-not-set-td22372.html On Wed,

Ignite clustering doubts

2018-06-07 Thread the_palakkaran
Hi, The below is my scenario: I have a CustomerCache. I have externalizable keys and models. Customers ids range from 1 to 4. I have 4 nodes. I have few doubts on clustering in ignite: 1. How can I restrict 1 records on each node? 2. How does ignite distribute records between each

C++ Distribute Closure Failure

2018-06-07 Thread F.D.
Hi, when I launch a distibute closure calling the Call method or by RunAsync, how can I check if the function is failed? Only by timeout? Thanks, F.D.

Re: IgniteCache invoke CacheEntryProcessor, not throw EntryProcessorException

2018-06-07 Thread Andrey Mashenkov
Hi, Looks like it is ok. Ignite have next sync modes full_sync, primary_sync, full_Async. You can detect failure from user thread if it happens on synchronous phase. FULL_SYNC: cache operation return control to user thread after operation has been applied on primary and all backups. All

Re: Ignite Cluster getting stuck when new node Join or release

2018-06-07 Thread Andrey Mashenkov
Hi, It is ok if you kill client node. Grid will wait for failureDetectionTimeout before drop failed node from topology. All topology operations will stuck during that time as ignite nodes will wait for answer from failed node until they detected failure. On Thu, Jun 7, 2018 at 8:22 AM, Sambhaji

Re: Xgboost and LSTM support in Apache Ignite ML and DL

2018-06-07 Thread dmitrievanthony
Hi, As I've answered on StackOverflow , Depends on your data location and your goals. Does your data is already stored in Apache Ignite? Do you use Apache Ignite in

Re: ignite c++ support service grid?

2018-06-07 Thread Igor Sapego
No, currently you can only call C++ closures on C++ nodes. Best Regards, Igor On Thu, Jun 7, 2018 at 11:09 AM, wangsan wrote: > can i use c++ disturbted closure on java ingite node > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >

Re: BinaryStringArrayWriter / BinaryStringArrayReader

2018-06-07 Thread F.D.
Perfect! Thanks F.D. On Mon, Jun 4, 2018 at 12:38 PM Igor Sapego wrote: > Hi, > > Yes, you can use BinaryStringArrayWriter / BinaryStringArrayReader. > > No, to get BinaryStringArrayReader, you should use method > BinaryReader::ReadStringArray(const char* fieldName); > > Best Regards, >

Re: Ignite client mvn artifact's purpose?

2018-06-07 Thread Muthu
Thanks Andrey! On Tue, Jun 5, 2018 at 9:59 AM, Andrey Mashenkov wrote: > Hi, > > Answered on SO, please take a look [1]. > > [1] https://stackoverflow.com/questions/50691453/ignite- > client-mvn-artifacts-purpose > > On Sun, Jun 3, 2018 at 2:26 PM, mlekshma > wrote: > >> Hi Folks, >> >> I

Re: ignite c++ support service grid?

2018-06-07 Thread wangsan
can i use c++ disturbted closure on java ingite node -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite C# Geometry

2018-06-07 Thread Jonathan Mayer
Hi Guys, I realise that 2.5 has just been released and that everyone is busy but... If I can't get an answer to the below question it is a bit of a show stopper. Do I have to implement my own Data Type mapper for a JTS Geometry within the Ignite .Net Platform code or is there an easier way to

Re: Ignite 2.5 nodes do not rejoin the cluster after restart (works on 2.4)

2018-06-07 Thread szj
Well, it definitely does work in 2.4. Please notice that there needs to be ignitevisorcmd.sh involved to trigger this bug (I didn't try with other clients though). Here's what is printed by Java on the console: [09:28:33] [09:28:33] To start Console Management & Monitoring run

Re: transaction does not work

2018-06-07 Thread WALL.E
Problem has been resolved. The cache had already been initialized by the other thread. But in that thread, CacheConfiguration did not call setAtomicityMode(CacheAtomicityMode.TRANSACTIONAL); So the current thread use the initialized cache, although it calls setAtomicityMode.It seems not work.