Ignite Audit logs into a separate file

2019-05-22 Thread Shesha Nanda
Hi, I am trying to store Ignite Audit logs into a separate file. I have followed below steps. I have created a log4j2.xml with console and file

Re: Trouble with continuous queries

2019-05-22 Thread Denis Mekhanikov
Mike, Could you show the code, that you use to register the continuous query? Maybe there is some misconfiguration? Denis пн, 20 мая 2019 г. в 17:47, Mike Needham : > Hi All, > > I have a cache that is running and is defined as > IgniteCache exchCache = >

Re: Ignite Audit logs into a separate file

2019-05-22 Thread ibelyakov
Hi, In case you're going to use log4j2 as gridLogger for Ignite you should add "ignite-log4j2" dependency and set up Log4J2Logger as described here: https://apacheignite.readme.io/docs/logging#section-log4j2 Or in case you just want to use "Audit-logs" logger independently, you should create

Re: Apache ignite rewrite badly SQL ???

2019-05-22 Thread Ilya Kasnacheev
Hello! I imagine that maybe datagrip will only fetch a single page and not proceed further, hence the difference? Can you add e.g. LIMIT 10; to this statement, see if it makes a difference? Regards, -- Ilya Kasnacheev вт, 21 мая 2019 г. в 20:38, yann.blaz...@externe.bnpparibas.com <

Re: [External]Re: Read/query TPS is decreasing after enabling mix load i.e. write services

2019-05-22 Thread Ilya Kasnacheev
Hello! We recommend using SSD and not HDD with Ignite. Otherwise, try to increase size of Checkpoint Page Buffer - if you run out of this buffer, all activity will stop until checkpoint is finished. Maybe you also need to decrease time between checkpoints. Regards, -- Ilya Kasnacheev вт, 7

Re: Re:Re:RE: Re: Node can not join cluster

2019-05-22 Thread Denis Mekhanikov
Vishalan, Please create a new thread and provide information about your setup and logs. The OP doesn't seem to be getting your questions. Denis пн, 20 мая 2019 г. в 12:44, Vishalan : > What was the solution to above problem.I am facing the same issue > > > > -- > Sent from:

Security issues for webconsole reported by IBMAPPSCAN tool

2019-05-22 Thread ashfaq
Hi , We are working on ignite on Kubernetes environment and using Ignite-web-console for querying. When we ran security scan on Ignite web console there are some security issues reported by the scans. Below are the issues. All the below issue are reported as HIGH severity. Could you please let

PartitionLossPolicy | IGNORE

2019-05-22 Thread tarunk
Hi All, While going through Apache-Ignite's PartitionLossPolicy : IGNORE, the default one for which I found 2 explanation and having some doubt about these. As per API doc: https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/cache/PartitionLossPolicy.html If partition is lost,

Re: Trouble with continuous queries

2019-05-22 Thread Mike Needham
private const string CacheName = "EXCHANGE"; static void Main(string[] args) { using (var ignite = Ignition.Start("E:\\ignite\\apache-ignite-2.7.0-src\\examples\\config\\example-igniteClient.xml")) { { var cacheCfg = new

RE: [External]Re: Read/query TPS is decreasing after enabling mix load i.e. write services

2019-05-22 Thread Kamlesh Joshi
Hi Ilya, Looking at the logs, every time checkpoint starts due to ‘timeout’ reason not because the buffer is full. So still do we need to increase checkpointing buffer or only changing checkpointing frequency will help ? Thanks and Regards, Kamlesh Joshi From: Ilya Kasnacheev

Is Apache Ignite appropriate for my use case?

2019-05-22 Thread steven
Hi, I need to manage a large fleet of servers (around 100k machines). Each node contains a subset of the data (basically binary blobs) in memory. The data store is a separate database. I am trying to provide a binary blob lookup service (in greatly simplified terms). For each incoming request

Re: PartitionLossPolicy | IGNORE

2019-05-22 Thread ibelyakov
Hi, Looks like next part is missing for IGNORE policy description in readme.io documentation: "The result of reading from a lost partition is undefined and may be different on different nodes in the cluster." There is no guarantee for IGNORE policy that reading from the lost partition will

Re: data loss during rebalancing when using invokeAsync + EntryProcessor

2019-05-22 Thread Ilya Kasnacheev
Hello! Do you have reproducer for this behavior? Have you tried the same scenario on 2.7? I doubt anyone will take effort to debug 2.6. Regards, -- Ilya Kasnacheev чт, 25 апр. 2019 г. в 18:59, kimec.ethome.sk : > Greetings, > > we've been chasing a weird issue in a two node cluster for few

invokeAsync and OPTIMISTIC SERIALIZABILE transaction

2019-05-22 Thread Kamil Mišúth
Is it possible to call invokeAsync() with OPTIMISTIC SERIALIZABLE isolation? What are the transactional guarantees when using invokeAsync()? Thanks! Kamil

Re: Issue with CacheQueryReadEvent's queryType

2019-05-22 Thread Ilya Kasnacheev
Hello! It seems that we always report SQL for two-step queries (i.e. ones which are not simply look up by key). I think you need to live with that, however you can try and file an issue against JIRA. I doubt it will get much traction since everyone seems to be using JDBC anyway. Regards, --

Re: [External]Re: Read/query TPS is decreasing after enabling mix load i.e. write services

2019-05-22 Thread Ilya Kasnacheev
Hello! If it is 'timeout' then it is likely not the reason of your issues. What is your walMode? Is it LOG_ONLY? If it's not, try to use LOG_ONLY here. Regards, -- Ilya Kasnacheev ср, 22 мая 2019 г. в 16:30, Kamlesh Joshi : > Hi Ilya, > > > > Looking at the logs, every time

Re: Get tables from metadata errors.

2019-05-22 Thread Ilya Kasnacheev
Hello! Only thing I can think of that maybe you're not releasing your connections properly, end up using same connection from two threads at the same time. Regards, -- Ilya Kasnacheev вт, 7 мая 2019 г. в 07:03, yangjiajun <1371549...@qq.com>: > Hello. > > I use jdbc thin connections.I also

Re: PartitionLossPolicy | IGNORE

2019-05-22 Thread tarunk
Thank you Igor for the quick response. Shall we expect this to be corrected in redame.io doc to make it consistent with API doc and avoid the confusion ? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: The CPU of Ignite NODEs in the same cluster has 20% gap

2019-05-22 Thread wbyeh
Hi Ropugg, If these 2 machines' spec are the same, please check whether they are running at the same performance mode (for Linux version 2.6.32). Also, if they are HTTP servers, please check whether the requests are balanced. Typically, sar command will help. (sar -w; sar -u; sar -q ; sar -n

Re: The CPU of Ignite NODEs in the same cluster has 20% gap

2019-05-22 Thread Ropugg
6 CPU processor : 5 vendor_id : GenuineIntel cpu family : 6 model : 45 model name : Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz stepping: 2 microcode : 1808 cpu MHz : 2700.000 cache size : 20480 KB physical id : 10 siblings: 1

Re: Ignite Audit logs into a separate file

2019-05-22 Thread sheshananda
Hi Igor , I am using log4j2 for the logs and I have done configuration mentioned in the below link https://apacheignite.readme.io/docs/logging#section-log4j2 Now am trying to use gridLogger in my code. How to use gridLogger to create log object in my code with separate log file. Trying to

RE: Is Apache Ignite appropriate for my use case?

2019-05-22 Thread Coleman, JohnSteven (Agoda)
Hi, Ignite can go so far in meeting your requirements for durable storage and retrieval, but a primary node failure is probably going to be terminal because unless you can boot a machine in less than 5 seconds you can forget about reloading ignite anyway, you simply won't be able to restore

Re: The CPU of Ignite NODEs in the same cluster has 20% gap

2019-05-22 Thread wbyeh
Hi Ropugg, If these 2 machines' spec are the same, please check whether they are running at the same performance mode (for Linux version 2.6.32). Also, if they are HTTP servers, please check whether the requests are balanced. Typically, sar command will help. (sar -w; sar -u; sar -q ; sar -n

Re: The CPU of Ignite NODEs in the same cluster has 20% gap

2019-05-22 Thread Ropugg
6 CPU processor : 5 vendor_id : GenuineIntel cpu family : 6 model : 45 model name : Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz stepping: 2 microcode : 1808 cpu MHz : 2700.000 cache size : 20480 KB physical id : 10 siblings: 1

Which cache gets expiry policy when creating near cache?

2019-05-22 Thread John Smith
Hi, when we use ignite getOrCreateNearCache().withExpirePolicy() Will the expire policy be set on the underlying cache or the near cache?