Re: How to run a job every 5 seconds in Ignite

2018-08-27 Thread Lokesh Sharma
This is what I was looking for. Many thanks! On Mon, Aug 27, 2018 at 3:01 PM Evgenii Zhuravlev wrote: > Hi Lokesh, > > I'd suggest to start Ignite service, which will guarantee failover-safety > for you: https://apacheignite.readme.io/docs/service-grid. Just choose > cluster-singleton to make

Re: How much heap to allocate

2018-08-27 Thread eugene miretsky
Denis, thanks for the detailed response. A few more follow up questions 1) Are indexs loaded into heap (when used)? 2) Are full pages loaded into heap, or only the matching records? 3) When the query needs more processing than the exisiting index (non-indexed columns, groupBy, aggreag) where/how

ignite cluster management

2018-08-27 Thread wangsan
I am using ignite to manage my cluster.when node join I save an item in my NodeCache, when node left I delete an item in my NodeCache with ignite event listener. Use custom NodeCache but not ignite cluster topology,The reason is I want to keep node status persistence when node left for some

unsubscribe

2018-08-27 Thread Murthy Kakarlamudi

Re: ignte cluster hang with GridCachePartitionExchangeManager

2018-08-27 Thread wangsan wang
About question 2, debug level like this: I start a node,then b,c,d,e,f nodes in mulitithread. then close them all. in the debugs log, A server latch created with participantsSize=5 but only one countdown .then latch will be hang. simple logs is: >>> ++ > >>> Topology snapshot. >

Re: Affinity key in SQL execution

2018-08-27 Thread Prasad Bhalerao
Hi val 1. If the second execution plan is for reduce phase, should it come in queries which includes affinity key in their where clause? Because there is going to be no reduce phase in this case. 2. Is it mandatory to anotate affinity id field in my key class with @QueryField? Without this

Re: Affinity key in SQL execution

2018-08-27 Thread vkulichenko
Hi Prasad, 1. First plan is for map phase (executed on server side) and the second one is for reduce phase (executed on client side). Merge scan means that it just merges result sets from all participating server nodes. Sometime it can contain additional reduce steps like final groupings,

Re: Reaching Ignite's maximum throughput

2018-08-27 Thread Kia Rahmani
Thanks, Ilya for your message. I am aware of the cost of enforcing Serializability. What I am more concerned about is if I am achieving Ignite's best or not? Specifically, since I am not performing any replication and I have only one server right now, I should be getting a performance somewhat

Re: Example for server client configuration in ignite

2018-08-27 Thread Sriveena Mattaparthi
Thanks Evgenii.. Now the question is code for client ignite start is deployed in an application server. Any data join performed on the client node cache is utilizing jvm heap memory assigned to the application resulting in outofmemory on the application server. Is there a way to limit the

Re: Reaching Ignite's maximum throughput

2018-08-27 Thread Ilya Kasnacheev
Hello! I imagine that serializable + pessimistic is not a very practical setting from performance standpoint. You want maximum guarantees there, so you will get the least performance, and having a distributed system would not help you much in this case, if not hinder. Regards, -- Ilya

Reaching Ignite's maximum throughput

2018-08-27 Thread Kia Rahmani
Hey all, I have been playing with Ignite and studying how applications can be correctly optimized for it for a while now. However, I am having trouble witnessing *reasonable* transactional throughputs even in the baseline setting and I am wondering maybe I'm doing something fundamentally wrong

Re: Example for server client configuration in ignite

2018-08-27 Thread Evgenii Zhuravlev
Yes, you start client node, not a server. I'd recommend you to read about differences between client and server nodes: https://apacheignite.readme.io/docs/clients-vs-servers 2018-08-27 19:06 GMT+03:00 Sriveena Mattaparthi < sriveena.mattapar...@ekaplus.com>: > Thanks Evgenii.. > > To reframe my

Re: Example for server client configuration in ignite

2018-08-27 Thread Sriveena Mattaparthi
Thanks Evgenii.. To reframe my question ..server is started on a separate host...client node is setup using java connecting to remote server as mentioned in the below mail... Does invoking ignition.start on client node means starting ignite once more? Thanks & Regards, Sriveena

Re: apache ignite cassandra persistentStore for enum fields

2018-08-27 Thread Ilya Kasnacheev
Have you tried specifying the actual enum type? e.g. com.corp.my.Enum Regards, -- Ilya Kasnacheev пн, 27 авг. 2018 г. в 17:41, michal23849 : > Hi Ilya, > > Following up to ENUMs - what should I put then as the JavaFieldType? > > I tried java.lang.Enum, java.lang.Integer and it is failing.

Re: apache ignite cassandra persistentStore for enum fields

2018-08-27 Thread michal23849
Hi Ilya, Following up to ENUMs - what should I put then as the JavaFieldType? I tried java.lang.Enum, java.lang.Integer and it is failing. What value should be specified for PojoStore to correctly map the Enum to DatabaseFieldName and Type? Thank You, Michal -- Sent from:

Re: Example for server client configuration in ignite

2018-08-27 Thread Evgenii Zhuravlev
>1.Do we have to start Ignite again on client node as Ignition.start(cfg)? What does this imply? Sorry, I didn't get it, what do you mean by "start again"? >2.Will the client node uses the JVM heap memory Ignite runs inside JVM, so yes, it will use JVM heap. Could you specify your question?

Re: how to automatically exit JVM when the node stops?

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

C++ affinity key set up

2018-08-27 Thread wengyao04
Hi, we tried to set id in Key as our affinity key. Our c++ Key is defined namespace ignite { namespace binary { struct Key { std::string id; bool flag; Key() : id() , flag(false) { } Key(const std::string& id, bool flag = false) : id(id)

Re: Ignite cluster recovery after network partition

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: How to overcome short-time network problems?

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: How many nodes within your ignite cluster

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Timed out waiting for message delivery receipt

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Node fails to recover

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: split-brain problem and GridSegmentationProcessor

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Local node seems to be disconnected from topology (failure detection timeout is reached)

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite cluster

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Local node failure starts cluster-wide procedure

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cluster breaks down on network failure

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Two Ignite Clusters formed after network disturbance

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Behaviour of Apache Ignite instances in case of network isolation

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Segmentation fault (JVM crash) while memory restoring on start with native persistance

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Local node SEGMENTED. Data Lost on a Partitioned Cache with backups of 3

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Stopping local node according to configured segmentation policy.

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Stopping local node according to configured segmentation policy.

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

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

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Easy way to determine a node has been segmented

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite node not stopping after segmentation

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Network Segmentation configuarion

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Segmentation policy.

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Segmentation policy configuration

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: RESTART_JVM Segmentation Policy

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Segmentation policy configuration

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cluster segmentation

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: network segmentation

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Network Segmentation

2018-08-27 Thread luqmanahmad
See [1] for free network segmentation plugin [1] https://github.com/luqmanahmad/ignite-plugins -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cross plat form put/get

2018-08-27 Thread wengyao04
Thank you very much, I will remove GetHashCode and hashCode in c++ and java client code and tried it again -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

RE: Example for server client configuration in ignite

2018-08-27 Thread Sriveena Mattaparthi
Thanks Evgenii Started remote server, using the default configuration given as part of the ignite disctribution using $ bin\ignite.bat examples\config\example-ignite.xml And client node started in java as pointed below using Ignition.setClientMode(true); TcpDiscoverySpi spi =

Re: Cache Configuration Templates

2018-08-27 Thread Ilya Kasnacheev
Hello! Unfortunately, cache templates are not documented that good. AFAIK they were mostly implemented to be able to reference to complex cache configurations with CREATE TABLE. As far as my understanding goes, caches from cacheConfigurations are actually started when grid starts. 1) I think

Re: Example for server client configuration in ignite

2018-08-27 Thread Evgenii Zhuravlev
Hi, The default configuration will work with the remote server, because it uses multicast. It will work if you want to check some examples, etc. For production usage, I'd recommend using static Ip Finder instead of multicast, here is the simplest configuration that will work with remote server:

Example for server client configuration in ignite

2018-08-27 Thread Sriveena Mattaparthi
Hi, What is the recommended configuration for remote Server and one client node setup? Can someone point to the relevant examples? Thanks & Regards, Sriveena

Re: ignte cluster hang with GridCachePartitionExchangeManager

2018-08-27 Thread Ilya Kasnacheev
Hello! 1. As far as my understanding goes, there's no such handling of OOM in Apache Ignite that would guarantee not causing cluster crash. This means you should be extra careful with that. This is since after OOM node doesn't have a chance to quit gracefully. Maybe other nodes will be able to

Re: Cross plat form put/get

2018-08-27 Thread Igor Sapego
GetHashCode() method is not used for hashing in Ignite C++ any more, as well as hashCode() method in Java. You can still find it in legacy code, but since Ignite 2.1 this method is not used and you can safely remove it. By default, hashing algorithm in Ignite is now operates on byte-array which

Re: Gemfire replacement to Apache Ignite | Guidance Require

2018-08-27 Thread Evgeniy Ignatiev
Sorry disregard my previous message, misread you points. On 8/27/2018 1:26 PM, Nilesh wrote: Hello, We are looking for Apache Ignite for Gemfire replacement. Current we are facing following issues in Gemfire. 1. Disk store corruption. 2. Service suddenly stopped working. 3. Service takes

Re: Gemfire replacement to Apache Ignite | Guidance Require

2018-08-27 Thread Evgeniy Ignatiev
Hello, Nilesh. You may need looking into GridGain distribution considering point 5, as Apache Ignite does not offer WAN replication (cross cluster replication I assume from you message) out of the box. https://docs.gridgain.com/docs/data-center-replication Best regards, Evgeniy Ignatiev.

Re: How to run a job every 5 seconds in Ignite

2018-08-27 Thread Evgenii Zhuravlev
Hi Lokesh, I'd suggest to start Ignite service, which will guarantee failover-safety for you: https://apacheignite.readme.io/docs/service-grid. Just choose cluster-singleton to make sure that you will have 1 instance of Service in cluster. Inside this service you can use ignite-scheduler:

allow

2018-08-27 Thread Nilesh Patil1
Regards, Nilesh CoreServices|Morningstar|Mumbai [GPTW India Signature]

Gemfire replacement to Apache Ignite | Guidance Require

2018-08-27 Thread Nilesh
Hello, We are looking for Apache Ignite for Gemfire replacement. Current we are facing following issues in Gemfire. 1. Disk store corruption. 2. Service suddenly stopped working. 3. Service takes more time to start and stop. 4. Data recovery time is more when node down in the cluster. 5. Wan

Re: ScanQuery predicate serialization

2018-08-27 Thread route99
Indeed it seems that I was looking in older version documentation. Thank you for the quick reply. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

How to run a job every 5 seconds in Ignite

2018-08-27 Thread Lokesh Sharma
I'm using Ignite with Spring Boot. Is there a way to run a job every 5 seconds on exactly one node of the cluster (which could be any node)? Thank You