@SpringResource annotation is not injecting

2019-09-19 Thread vitalys
hi, I am trying to Inject an object in my Ignite application using @SpringResource annotation. On the startup of the application I can see ( in debug mode ) that an object that I define in my "ignite-server-config.xml" is being initialized. However when I am trying to inject it in my application i

RE: Connecting External Client to Containerized Cluster in Kubernetes

2019-09-11 Thread vitalys
We currently have working installation where our Ignite Server Nodes reside on the standalone VMs and form a Cluster upon start by using shared Configuration setup. Our Client application joins Cluster on-demand, loads data into the Cluster and then kicks-off certain operations on the loaded data.

Connecting External Client to Containerized Cluster in Kubernetes

2019-09-05 Thread vitalys
Hi, We have setup an Apache Ignite Cluster in Kubernetes ( 1 Node Per pod ) and when we run "ignitevisorcmd.sh" from inside the Kubernetes we can see correct topology of the Cluster ( 3 nodes ). Our task is to run Ignite Client from outside the Kubernetes. We setup our client config to use "Kube

RE: Running Ignite Cluster using Docker containers

2019-08-09 Thread vitalys
Thank you. Actually I switched from Unicast to Multicast and it seems like it's working fine. I was able to connect to the Cluster from my Client application, however still having issues using JDBC connection. It's a bit frustrating since Ignite recommends to run the Nodes in the containers but t

RE: Running Ignite Cluster using Docker containers

2019-08-08 Thread vitalys
localhost:47500..47504

RE: Running Ignite Cluster using Docker containers

2019-08-08 Thread vitalys
Here is the problem. I can start one Server Node in the Docker container and I can connect to that Node from my client application. However When I run another Docker Containers they are not joining the Cluster. Here is an example : Node 1 : docker run --rm --name myignite1 -p 47501:47500 -p 471

Re: starting ignite in docker

2019-08-07 Thread vitalys
There is another option you may explore: 1. Create a custom Ignite docker image using Dockerfile and use COPY command to copy your Server Configuration XML to $IGNITE_HOME/config and then adding an entry at the end of the Dockerfile : ENV CONFIG_URI apache-ignite/config/ignite-server-conf.xml Th

RE: Running Ignite Cluster using Docker containers

2019-08-07 Thread vitalys
I am getting different issue now. I added my custom server configuration file to the Docker Image build : ENV CONFIG_URI apache-ignite/config/ignite-server-config.xml and I defined my network configuration : /

Running Ignite Cluster using Docker containers

2019-07-31 Thread vitalys
Hi, I am trying to run Ignite Cluster using Docker containers. I have Docker for Desktop running on my Windows box and I downloaded Apache Ignite 2.7.0 image from Docker Hub. I am able to start Ignite server using docker command : docker run --rm --name myignite -p 47500:47500 -p 47501:47501 -p 1

Re: Start multiple Ignite Nodes in one Docker container

2019-07-23 Thread vitalys
Well, I don't see how I lose the data in the Data Node if all the JVM's within the Container joined Ignite Cluster. In case of Mode failure Cluster will redistribute date between the remaining Nodes. Additionally we are planning to run it in the cloud on Kubernetes ( I know very little about it and

Start multiple Ignite Nodes in one Docker container

2019-07-22 Thread vitalys
Hi, I am trying to run Ignite Cluster in Docker. I am running Docker Desktop 2.0.0.3 and I downloaded apacheignite image from Docker Hub. I am able to start multiple Ignite Nodes from Windows Power shell, on e container at a time. docker run --rm --name myignite -p 47500:47500 -p 47501:47501 -p

Re: INSERT and MERGE statements

2019-07-08 Thread vitalys
Hi, I have to follow-up. MERGE INTO works fine when I define matching fields between SOURCE and DESTINATION caches. However, Merge command nullifies fields in the DESTINATION table when they are not part of the SOURCE. for Instance an object in cache DST has 3 fields : field1, field2, field3 wit

Re: INSERT and MERGE statements

2019-07-03 Thread vitalys
Yes, it worked. Thank you. But I was trying to use the tutorial : https://apacheignite-sql.readme.io/docs/merge MERGE INTO tableName [(columnName [,...])] [KEY (columnName [,...])] {VALUES {({ DEFAULT | expression } [,...])} [,...] | select} I guess the tutorial should be updated :) -- S

Re: INSERT and MERGE statements

2019-07-03 Thread vitalys
KEY clause is commented out and not being used : MERGE INTO RBCFPVP.RBCFPVPDATAIN (valuationdate, BUSINESSRUN,REPORTINGCOMPANY,RBCCTE90MARGIN,RBCCTE90TAXADJRATIO,RBCCTE97MARGIN,RBCCTE97TAXADJRATIO,RBCCASOMARGIN,_key) VALUES (SELECT valuationdate, BUSINESSRUN,REPORTINGCOMPANY,RBCCTE90MARGIN,RBCCTE9

Re: INSERT and MERGE statements

2019-07-03 Thread vitalys
I had some issue with the MERGE .. SELECT .. *MERGE INTO RBCFPVP.RBCFPVPDATAIN (valuationdate, BUSINESSRUN,REPORTINGCOMPANY,RBCCTE90MARGIN,RBCCTE90TAXADJRATIO,RBCCTE97MARGIN,RBCCTE97TAXADJRATIO,RBCCASOMARGIN,_key) VALUES (SELECT valuationdate, BUSINESSRUN,REPORTINGCOMPANY,RBCCTE90MARGIN,RBCCTE90T

Re: INSERT and MERGE statements

2019-07-03 Thread vitalys
I made INSERT working : INSERT INTO RBCCTEVAPVP.RBCCTEVAMARGINCALCED (valuationdate, BUSINESSRUN,REPORTINGCOMPANY,RBCCTE90MARGIN,RBCCTE90TAXADJRATIO,RBCCTE97MARGIN,RBCCTE97TAXADJRATIO,RBCCASOMARGIN,_key) VALUES ('12-03-2019','5',9,3.3,4.4,5.5,6.6,7.7,'12-03-2019_5_9'); Merge still failin

INSERT and MERGE statements

2019-07-02 Thread vitalys
I am running Ignite v.25 and I am trying to populate cache using SQL statements via DBeaver. I create a cache called TAXRATE with the following object structure : SCENARIO VARCHAR VALUEDATE VARCHAR ENTITY VARCHAR PRODUCTGROUP VARCHAR YEAR

Re: Implementing custom plugin

2019-02-17 Thread vitalys
Is it on GitHub, what branch? I checked there but couldn't find anything. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Implementing custom plugin

2019-02-14 Thread vitalys
Unfortunately I can't due to the security restrictions in the office. I have posted all the elements of the project in the previous posts and it's very much a replication of an example outlined at : http://smartkey.co.uk/development/securing-an-apache-ignite-cluster/

Re: Implementing custom plugin

2019-02-13 Thread vitalys
The problem is it's not working at all. I am getting this error : Corporation Java HotSpot(TM) 64-Bit Server VM 25.171-b11 java.util.ServiceConfigurationError: org.apache.ignite.plugin.PluginProvider: Provider com.plugins.SecurityPluginConfiguration not a subtype I have no idea what that means

Re: Implementing custom plugin

2019-02-13 Thread vitalys
I already implement IgnitePlugin. I am following an example from : http://smartkey.co.uk/development/securing-an-apache-ignite-cluster/ public class WhiteListSecurityProcessor implements DiscoverySpiNodeAuthenticator, *IgnitePlugin *{ @Override public Secur

Re: Implementing custom plugin

2019-02-08 Thread vitalys
That worked, thank you. Now I am getting : java.util.ServiceConfigurationError: org.apache.ignite.plugin.PluginProvider: Pr ovider com.plugins.SecurityPluginConfiguration not a subtype -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Implementing custom plugin

2019-02-07 Thread vitalys
Hi, I am trying to implement a custom plugin. I followed an instructions in Ignite tutorial and added a property to the default-config.xml configuration file : Then I implemented "SecurityPluginConfiguration" : public class SecurityPluginConfiguration implements PluginConfigu

Client and server authentication

2019-01-29 Thread vitalys
Hi, we are using Ignite version 2.5 and need to secure access to our Cluster. We have to prevent unauthorized clients to communicate with the Cluster and unauthorized servers to join the Cluster. I followed an instructions defined at https://apacheignite.readme.io/docs/advanced-security#section