Re: Ignite2.0 memory policy limit

2017-05-17 Thread Alexey Goncharuk
It's pretty simple. I've added newbie label for it, anyone can pick it up. 2017-05-17 21:03 GMT+03:00 Denis Magda : > Alex, thanks. > > Can the ticket be resolved in 2.1? > > > On Wednesday, May 17, 2017, Alexey Goncharuk > wrote: > >> Created a

Re: Ignite2.0 memory policy limit

2017-05-17 Thread Denis Magda
Alex, thanks. Can the ticket be resolved in 2.1? On Wednesday, May 17, 2017, Alexey Goncharuk wrote: > Created a follow-up UX ticket: https://issues.apache. > org/jira/browse/IGNITE-5248 > > 2017-05-17 19:20 GMT+03:00 Sergey Chugunov

Re: Ignite2.0 memory policy limit

2017-05-17 Thread Alexey Goncharuk
Created a follow-up UX ticket: https://issues.apache.org/jira/browse/IGNITE-5248 2017-05-17 19:20 GMT+03:00 Sergey Chugunov : > Ajay, > > I managed to reproduce your issue. As I can see from logs you're starting > Ignite using 32-bit JVM. > > To fix your issue just use

Re: Ignite2.0 memory policy limit

2017-05-17 Thread Sergey Chugunov
Ajay, I managed to reproduce your issue. As I can see from logs you're starting Ignite using 32-bit JVM. To fix your issue just use 64-bit JVM or decrease initial/maxSize settings in memory configuration to something below 3 Gigs. Thanks, Sergey. On Wed, May 17, 2017 at 6:40 PM, Andrey

Re: Igfs and MaprFs

2017-05-17 Thread Pranay Tonpay
Thx Ivan ... Thr is a parameter for uri for class ignitehadoopigfssecondaryfilesystem in the config which is for specifying namenode host and port .. in case of MapR shud we leave it empty then? On May 17, 2017 8:32 AM, "Ivan Veselovsky" wrote: > Hi, Pranay, > IGFS

Re: Ignite2.0 memory policy limit

2017-05-17 Thread Andrey Mashenkov
Hi Ajay, Ignite allocate memory by chunks. The first chunk is allocating on Ignite start and its size equal to initialSize. Other chunks allocated on demand and its size <=256M. Seems, your system can't allocate 4Gb memory as single chunk. What is /proc/sys/vm/overcommit_memory value? Try to set

Re: Igfs and MaprFs

2017-05-17 Thread Ivan Veselovsky
Hi, Pranay, IGFS can run upon any file system that can be represented in terms of Hadoop file system API (namely as a org.apache.hadoop.fs.FileSystem). MapR file system also implements Hadoop file system API , namely, it has com.mapr.fs.MapRFileSystem . So, IGFS can successfully run upon.

Transaction management with Jboss and Ignite

2017-05-17 Thread rick_tem
Hi, I'm trying to enlist an Ignite transaction in a different JVM with the Transaction Manager for Jboss 7 EAP JVM up and running for write-through cache. My transaction configuration is shown below which I found from a previous thread. I know this is configured correctly because I see the

Re: Allow ALL nodes to keep working when a new node joins the cluster

2017-05-17 Thread afedotov
Hi Gordon. Client joining the cluster should not cause the server nodes slowdown. Did you observe such behavior? If that's the case, kindly take a thread dump for the node that is affected by slowdown. Kind regards, Alex. On Fri, May 12, 2017 at 8:36 AM, gordon.reid@ninemilefinancial [via

ConsulIpFinder (TcpDiscoveryIpFinder) issue

2017-05-17 Thread Chris Berry
Hi, We are having trouble with our Ignite Cluster at start-up. If we attempt to start, say, 10 Nodes simultaneously, it appears that we get into a race condition and we get more than one Cluster created. We'd love to figure out a way around this. Our workaround today is to start 1 Node. Then

Re: How to set cache name in Kafka connect?

2017-05-17 Thread Andrey Gura
Hi, you should get data streamer using cache name. You example should be modified like this: Ignition.setClientMode(true); try (Ignite ignite =

Re: How to get number of cache entries in a particular cache, in a single ignite instance?

2017-05-17 Thread Andrey Gura
Hi, you can use "select count(*) from TableName" query. In order to limit query by particular local node you should set local flag to true and execute query on this node. In other words you should do something like this on your node: IgniteCache cache = ignite.getOrCreateCache(CacheName); //

Re: how to save data to local node and share it with other nodes

2017-05-17 Thread Andrey Gura
Hi, You can provide IgnitePredicate instance to your CacheConfiguration. It will allow you create cache only on nodes that satisfy this predicate implementation. But cache itself will be available from all nodes that are want operate with data in this cache. On Tue, May 16, 2017 at 9:09 PM, Libo

Re: How to set cache name in Kafka connect?

2017-05-17 Thread Humphrey
Take a look here. http://apache-ignite-users.70518.x6.nabble.com/Kindly-tell-me-where-to-find-these-jar-files-td12649.html Here I posted some code. Humphrey -- View this message in context:

Re: Understanding Swap Space feature-- how it works?

2017-05-17 Thread rushi_rashi
Hi, I have question related to swap memory. If we have set setSwapEnabled to true, a. When will be the data is written to disc? b. If by default data is written to disc only when free space is not available in RAM, then can we limit the usage of RAM, lets say write to disc when 80% of RAM is

Re: Understanding the mechanics of peer class loading

2017-05-17 Thread Dmitry Pavlov
Hi Ilya, To my mind in this case it's not a problem of Peer Class Loading (PCL). Please note if you disable PCL in Ignite Configuration, test will fail anyway. In this test LocatorBiPredicate is taken by Jetty from the parent class loader (test launcher class loader) and cast to IgnitePredicate

How to get number of cache entries in a particular cache, in a single ignite instance?

2017-05-17 Thread blasteralfred
Hi everyone, I am learning Ignite, and would like to know if this is possible. Whenever a new entry is pushed to cache, I want to confirm it by looking the count, just like `numrows` of an sql table. Is this possible? I am trying to build a stub, which takes cache name as input and return the

Re: Why am I getting TcpDiscoveryMulticastIpFinder error?

2017-05-17 Thread blasteralfred
Thank you so much.. It worked.. :) -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Why-am-I-getting-TcpDiscoveryMulticastIpFinder-error-tp12962p12965.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: using ignite web console

2017-05-17 Thread Andrey Novikov
Hi, Note your are trying to use development mode in production! To bind development web server to all interfaces on your linux machine you need fix following file: modules/web-console/frontend/gulpfile.babel.js/webpack/environments/development.js like this

Re: Why am I getting TcpDiscoveryMulticastIpFinder error?

2017-05-17 Thread yakov
Please try adding this property to your JVM -Djava.net.preferIPv4Stack=true --Yakov -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Why-am-I-getting-TcpDiscoveryMulticastIpFinder-error-tp12962p12963.html Sent from the Apache Ignite Users mailing list archive

Why am I getting TcpDiscoveryMulticastIpFinder error?

2017-05-17 Thread blasteralfred
Hi all, i am trying this; I am successfully getting but, before that, I am getting error; Somebody kindly tell me why this is happening and how to fix this? -- View this message in context:

Re: Understanding the mechanics of peer class loading

2017-05-17 Thread Ilya
Hi Dmitry! Do I understand correct that GridDeploymentClassLoader is always on server used if peer classloading is enabled? I've did not reproduce the re-deployment issue, but maybe have found another, which is related to deployment. Here is the code:

Re: Failed to wait for initial partition map exchange

2017-05-17 Thread vkulichenko
Generally, you can't add new node while holding a lock. If you're holding locks for long period of time, I would recommend you to revisit the architecture. In any case, make sure that you properly release all the locks. Also I think you should to upgrade to the latest version, I believe there were

How to set cache name in Kafka connect?

2017-05-17 Thread blasteralfred
Hi, I am trying to fetch from Kafka topic to Ignite cache. I am a beginner and created a code for the same. I don't know how to set Cache name. Also, kindly review my code that is there any mistakes, which will be really helpful for me to get started with these. Thanks in advance..

Re: Ignite2.0 memory policy limit

2017-05-17 Thread Ajay
Hi Denis, Please find "top" snapshot. top - 12:23:56 up 31 days, 20:28, 5 users, load average: 10.60, 9.40, 7.31 Tasks: 406 total, 1 running, 405 sleeping, 0 stopped, 0 zombie Cpu(s): 42.1%us, 2.2%sy, 0.0%ni, 53.2%id, 2.2%wa, 0.0%hi, 0.4%si, 0.0%st Mem: 32865584k total, 31864932k

Re: Failed to wait for initial partition map exchange

2017-05-17 Thread jaipal
Val, It doesn't look like a memory issue.We are using explicit locking (lock entry , do processing and then unlock).Under high load, When we bring down one of the Ignite Server nodes and then again add it back to the cluster,We are getting this issue.We observed the exceptions like Failed to wait