zombie ignite node

2018-08-06 Thread arunkjn
Hi, I am using ignite 2.5.0 in local development. When I start a server node in my code, in the logs I can see that 2 server nodes are present in cluster. [22:10:46] Topology snapshot [ver=80, servers=2, clients=0, CPUs=8, offheap=4.6GB, heap=4.0GB] [22:10:46] ^-- Node [id=1ADFFFD1-E442-48C6-88

Re: zombie ignite node

2018-08-06 Thread arunkjn
Thanks for the suggestion srecon. I will try that out. But is there any way I can find out and kill that ignite node? I have tried deleting the configured wal and persistance directories. Tried JPS to list all java processes but could not find any. Even rebooted my system but the zombie node remai

Re: zombie ignite node

2018-08-06 Thread arunkjn
Him It only shows one process each time which is 'grep ignite' the one I am running. It does not list any other ignite process. I have tried this before as well. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

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 r

Re: Node with BaselineTopology cannot join mixed clusterrunningincompatibility mode

2018-08-12 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 r

Re: Node with BaselineTopology cannot join mixed clusterrunningincompatibility mode

2018-08-12 Thread arunkjn
Thanks Alex, How can I fix this in the current cluster without resetting the persistence state of entire cluster? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

IgniteCache versioning question

2017-10-17 Thread arunkjn
Hi, This is my first post to an Apache user mailing list and I have done sufficient groundwork before this. Apologies if I am not following some guidelines. I wanted to get others opinion on the best way to version an ignite collection. If my entity evolves during the application lifecycle, does

Re: IgniteCache versioning question

2017-10-17 Thread arunkjn
Hi Slava, I am using ignite data grid feature with ignite persistance. I have an IgniteCache to manage a collection of Workflow objects by their Long id. I deploy data grid with this cache and populate it with few workflows. Later if I change the structure of Workflow object, and deploy this cache

Understanding service grid

2017-10-18 Thread arunkjn
Hi, I have a very basic beginner question. I followed the documentation for service grid and I cannot understand why I would need a 'service' abstraction when I can do the same work directly from an ignite client using an EntryProcessor? -- Sent from: http://apache-ignite-users.70518.x6.nabble

Transactions and IgniteQueue

2017-11-03 Thread arunkjn
Hi, I am using an optimistic transaction with serializable isolation level on a transactional cache as follows- while (true){ try(Transaction tx = ignite.transactions().txStart(TransactionConcurrency.OPTIMISTIC, TransactionIsolation.SERIALIZABLE)){ // update a

Re: Transactions and IgniteQueue

2017-11-03 Thread arunkjn
Thanks Evgenii. If I get a TransactionOptimisticException during the transaction will it be thrown at the time of tx.commit() ? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Can client node use IgniteQueue?

2017-11-10 Thread arunkjn
Hi, I am still experiencing this issue with ignite version 2.2.0 Can you please confirm which version has this been fixed in? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Can client node use IgniteQueue?

2017-11-10 Thread arunkjn
I have also tried version 2.3 with the same issue. Hi, I am still experiencing this issue with ignite version 2.2.0 Can you please confirm which version has this been fixed in? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Use IgniteQueue in client

2017-11-13 Thread arunkjn
Hi, I want to create an IgniteQueue on a server node and get a reference to this queue on a client node. I get a null pointer exception on client when I do this. This has been asked before in a very old thread and is reportedly fixed as per this issue

Re: Use IgniteQueue in client

2017-11-13 Thread arunkjn
Thanks Alexey. I think the problem is that Ignite.queue and Ignite.set javadocs mention that null is an acceptable entry and also suggest that null can be used when we do not want to create a new set or queue. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Use IgniteQueue in client

2017-11-14 Thread arunkjn
Hi Evgeniy, The ticket mentioned by you says that the dataset can not be obtained on client if it is created on server node regardless of any condition. Here, as I understand if I pass empty configuration as third parameter I will get a reference of queue in client. Is it not true? If it is then

Ignite service method cannot invoke for third time

2017-12-19 Thread arunkjn
Hi, I am experiencing a weird issue in which I have a Ignite service. I am using this service through service proxy from other server nodes. These is a particular method in the service node which I cannot call for the third time. The call to it stalls there indefinitely and does not invoke the cod

Re: Ignite service method cannot invoke for third time

2017-12-20 Thread arunkjn
Hi, I am attaching a thread dump for all nodes- 1. data node - this hosts all our caches. https://pastebin.com/XeFdjtgM 2. service node - this has the concerned service whose method cannot be called the third time https://pastebin.com/ukN21R4S 3. sample workflow node - this is a client node w

Re: Ignite service method cannot invoke for third time

2017-12-21 Thread arunkjn
Hi Dmitry, Sorry I don't understand what you mean. Do you mean to do this- static EntryProcessor workflowStartProcessor = new EntryProcessor() { @Override public Object process(MutableEntry entry, Object... arguments) throws EntryProcessorException { System.out.pri

Re: Ignite service method cannot invoke for third time

2017-12-21 Thread arunkjn
Thanks a lot Dmitry. The solution worked fine for me. I had to implement EntryProcessor instead of extending it since it was an interface. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite service method cannot invoke for third time

2017-12-21 Thread arunkjn
So I have separated these classes into independent classes now and made them non static. This is also working well for me. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite service method cannot invoke for third time

2017-12-21 Thread arunkjn
Hi Dmitry, Sorry this is off the topic but I am a beginner in Java programming. I want to understand why it helped to make EntryProcessor a static inner class. Also want to understand how to analyze thread dumps and what information we can extract from it. If you can point me to some good resource

Stale class on ignite data node

2018-02-19 Thread arunkjn
Hi Guys, I have an application in which I segregate ignite nodes into data and service nodes. The data node is responsible for hosting cache and queues. The service nodes host an ignite service which uses cache defined in data nodes. These nodes are separated because during my application develop

Snapshot backup of Ignite native persistance data

2018-02-19 Thread arunkjn
Hi, I have an ignite cluster which has some durable caches. These caches are using amazon EBS volumes. I want to backup each EBS node daily for disaster recovery since we cannot afford losing the data and want disaster recovery capability. I was looking around to see if ignite offers a native way

Re: Snapshot backup of Ignite native persistance data

2018-02-19 Thread arunkjn
Hi Ivan, Thanks for you reply. I have some follow up questions. 1. What is the behaviour of cluster when it is in ignite.cluster.active(false) state? Does it throw error when a cache seek operation is performed? Or does it wait for cluster to become active again? 2. How can I reliably know if cl

Re: Re: Nodes can not join the cluster after reboot

2018-05-24 Thread arunkjn
Hi Evgenii, I am experiencing the same issue with grid affinity topology. We have a topology where we have 3 data nodes, 2 service nodes and several client nodes in the cluster. The issue occurs randomly sometimes when deploying the nodes. I wanted to know that the suggested solution of setting

Initialize ignite queue when node is starting

2018-06-10 Thread arunkjn
Hi, I give my cache configuration in xml, which the node uses to initialize the cache when starting up. I want to similarly do this for initializing ignite queues. what would be a substitue of - for ignite queues

RE: Initialize ignite queue when node is starting

2018-06-14 Thread arunkjn
Thanks, I meant ignite queue. If I have initialized an ignite queue in one node, and I want to just obtain a reference to it on the second node; there is no API to do that currently without passing in the entire configuration. Is there something I am missing? -- Sent from: http://apache-ignite

Using Persistent ignite queues

2018-06-19 Thread arunkjn
Hi, I have a scenario where I use a persistent ignite queue across cluster nodes. This is my setup using ignite 2.5- Few server nodes which hosts some caches in persistance mode and a cluster singleton ignite service. This ignite service upon initialization, initializes two persistent queues.

Re: Using Persistent ignite queues

2018-06-21 Thread arunkjn
Hi Alex, I cannot get it to reproduce in my local environment yet. I will get back to you with thread dumps as soon as I encounter this issue again. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

setting baseline topology in kubernetes

2018-06-21 Thread arunkjn
Hi, We run a ignite cluster in kubernetes. We currently deploy our containerised java code which uses xml to configure ignite nodes and start them. We use Kubernetes Discovery for service discovery. I want to do automatic cluster activation by defining baseline topology using control.sh script as

Re: setting baseline topology in kubernetes

2018-06-22 Thread arunkjn
Hi Alex, It accepts an IP and port as an argument. Do I need to enable ignite rest and expose rest endpoints on cluster nodes for this to work? Thanks, Arun -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: A series of Apache Ignite meetups in New York

2018-06-25 Thread arunkjn
Hi Dennis, Would you please consider writing a blog post on 'Ignite + kubernetes' for us folks who are not in NY? Also if you can record this session and post links later, it would be very useful. Thanks, Arun -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/