Expose service deployed on service node in ignite via REST

2018-12-12 Thread Zaheer
Hi, In Ignite cluster, I have a cache data node and a service node with a deployed service that performs some actions on the cache. My aim is to use the methods of this deployed service through REST. How to expose my deployed service's methods to outside world like browsers, or other REST clients

Web Agent configurations to connect Secured(SSL) IGNITE

2018-12-12 Thread Shesha Nanda
Hi, I have deployed IGNITE 2.7 by enabling SSL security. It's up and able to access curl requests through HTTPS. $ *curl --cacert host-server.pem "https://host:11443/ignite?cmd=version "*

Re: Web console project cannot start an ignite server node

2018-12-12 Thread deostroll
Sorry my bad. I thought nabble editor should take care of this. I will share the spring config and the program output between a series of begin_paste and end_paste. Program output: == ---BEGIN_PASTE--- "C:\Program Files\Java\jdk1.8.0_181\bin\java.exe" "-javaagent:C:\Program

Re: I encountered a problem when restarting ignite

2018-12-12 Thread Justin Ji
Akurbanov - Thank for your reply! I have tried to dump the thread stacks, but I don't know how to dump the thread stacks from a docker container since it only contains a simplified JRE, does not have JSTACK tools, and I also googled a lot of information and found that there is no suitable

Apache Ignite Join

2018-12-12 Thread Skollur
I have single node with REPLICATE mode. Record counts in database and ignite is matching when query the number of records in each table. However when it comes to join, there is a mismatch in some cases. I am using JAVA code version(Not Spring Version). Example: Table A has code as below :-

Amazon S3 Based Discovery NOT USING BasicAWSCredentials

2018-12-12 Thread Max Barrios
I am running Apache Ignite 2.6.0 in AWS and am using S3 Based Discovery, However, I DO NOT want to embed AWS Access or Secret Keys in my ignite.xml I have AWS EC2 Instance Metadata Service for my instances so that the creds can be loaded from there. However, there's no guidance or documentation

Re: How to run Ignite REST API scan query with predicate

2018-12-12 Thread begineer
Yes, Predicate class is public and implement appy(). But I am trying to understand how to set the fields of the predicate class. It has a constructor which takes two parameters public TradeObjectPredicate(String tradeObjectField1, Set tradeObjectField2List){ . } How to pass these values

Re: Migrate from 2.6 to 2.7

2018-12-12 Thread Ilya Kasnacheev
Hello! Looks like you can't have a generic field in your class and then put UUID to it. UUID is a primitive type as far as Ignite is concerned, which will take 6 bytes, but a smallest Object (which is the fallback type for generic field) is 8 bytes, hence cryptic errors. If you change P to UUID

First write to new cache on new cluster.

2018-12-12 Thread Andrey Davydov
Hello all, The first write transaction on empty cluster with persistence enabled takes some seconds. After that, cluster works fast. It seems it is because of WAL file creation and so on. But I can’t setup real transaction timeout in configuration, because it cause exception on the first

Re: How to run Ignite REST API scan query with predicate

2018-12-12 Thread Ilya Kasnacheev
Hello! Your example should be working all right. Note that the class should be public (and not package private) and implementapply() method. Do you get any specific errors when you try that? Regards, -- Ilya Kasnacheev ср, 12 дек. 2018 г. в 18:15, begineer : > Hi Guys, > I have an ignite

How to run Ignite REST API scan query with predicate

2018-12-12 Thread begineer
Hi Guys, I have an ignite cache of type distributed over several nodes. I want to query its data using ignite REST APIS as mentioned https://apacheignite.readme.io/v2.6/docs/rest-api#sql-scan-query-execute I am able to query the cache without predicate and page size

Re: Apache Ignite CPU issue

2018-12-12 Thread akurbanov
Well, could you please tell us a bit more about CPU usage to tell why it is different from expected: share monitoring statistics, what monitoring tools do you use, which processes consume CPU the most? Also, please share jstack thread dumps from all nodes running JVM with Ignite to find out what

Re: Ignite tomee-webprofile-7.1.0-> Start error reporting at Tomee

2018-12-12 Thread akurbanov
If you have Geronimo/JCache dependency in your project, replace it with (for maven, as example): javax.cache cache-api 1.0.0 Regards, -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: I encountered a problem when restarting ignite

2018-12-12 Thread akurbanov
Could you please provide logs from all nodes and jstack thread dumps? Regards, -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite tomee-webprofile-7.1.0-> Start error reporting at Tomee

2018-12-12 Thread akurbanov
JCache 1.1 should be supported since 2.7, does it work with 1.0? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Web console project cannot start an ignite server node

2018-12-12 Thread Ilya Kasnacheev
Hello, Arun! Unfortunately there are no links or attachments in your e-mail. Regards, -- Ilya Kasnacheev ср, 12 дек. 2018 г. в 14:09, deostroll : > Hi, > > I successfully imported a database from postgres to ignite via web console. > And through the web console, I noticed there is the option

Web console project cannot start an ignite server node

2018-12-12 Thread deostroll
Hi, I successfully imported a database from postgres to ignite via web console. And through the web console, I noticed there is the option to download a project. I did that, and, noticed that there was code to start ignite server and client nodes. They executed properly and I was able to see the

Re: Sharding issue in Ignite Cluster

2018-12-12 Thread Ilya Kasnacheev
Hello! It is hard to say. Have you tried changing messageQueueLimit? 1024 might be enough for 2 nodes, but with 3 nodes there will be more inter-node communication and you may become stuck on message queues. It might also help if you collect stack traces once again when under load, so that we

Apache Ignite CPU issue

2018-12-12 Thread AndrewV
Hi there! I'm going to implement Ignite into my hight loaded Spring application as a Spring cache for replication between nodes. But I faced with a CPU performance issue when I was testing on some percentage of users in production. For testing, I used 4 servers. 2 in client mode (with Spring) and

Apache Ignite CPU issue

2018-12-12 Thread Андрій Возний
Hi there! I'm going to implement Ignite into my hight loaded Spring application as a Spring cache for replication between nodes. But I faced with a CPU performance issue when I was testing on some percentage of users in production. For testing, I used 4 servers. 2 in client mode (with Spring) and

Apache Ignite CPU issue

2018-12-12 Thread AndrewV
Hi there! I'm going to implement Ignite into my hight loaded Spring application as a Spring cache for replication between nodes. But I faced with a CPU performance issue when I was testing on some percentage of users in production. For testing, I used 4 servers. 2 in client mode (with Spring)

user-uc.1544608235.bgolkhkehmhikdockang-dongxy=cosconetwork.com...@ignite.apache.org

2018-12-12 Thread 董轩佚
user@ignite.apache.org

unsubscribe

2018-12-12 Thread 董轩佚
unsubscribe

Re: Python for Ignite for Spark?

2018-12-12 Thread Stephen Darlington
You can use PySpark in exactly as you normally do. So something like this works: stuff = spark.read \ .format("ignite") \ .option("config", "ignite-client.xml") \ .option("table", “Stuff") \ .option("primaryKeyFields", "ID") \ .load() You might need to check the Java

Re: Best Practises for upgrading Ignite versions

2018-12-12 Thread Mikael
Hi! Yes either that or startup another cluster and switch over to that before shutting down the old, as far as I understand Gridgain has a solution for rolling updates. Mikael Den 2018-12-12 kl. 01:15, skrev Anand Mehta: Hi, We are going to upgrade our Ignite Distributed Clusters from

Re: control.sh --baseline do not work after update to 2.7

2018-12-12 Thread Alexey Goncharuk
Yuriy, Is your Ignite node running on localhost and has a REST endpoint bound to localhost:11211? If not, default values will not work. I've re-checked the control utility in Ignite 2.7 in several environments, works fine for me. вт, 11 дек. 2018 г. в 15:19, Yuriy : > I am explicitly set the