Re: Ignite Cache Data Not Available in Other Server Nodes

2017-12-13 Thread Nikolai Tikhonov
gt;} > } > } > > > > On Tue, Dec 12, 2017 at 8:19 PM, Nikolai Tikhonov > wrote: > >> Can you share code snippet which shows how you put data to the cache? >> >> On Tue, Dec 12, 2017 at 12:26 PM, Harshil garg >> wrote: &g

Re: Affinity - Join query on the collocated data taking 90 seconds

2017-12-12 Thread Nikolai Tikhonov
I've looked at \IgnitePOC-project\src\main\resources\META-INF\IgnitePOC-client.xml file (from attached zip project) and see there those caches. Also I don't see DataLoadAffinity class. Could you share actual minimal (without dependencies to oracle db) project? On Tue, Dec 12, 2017 at 7:09 PM, Nav

Re: Ignite Cache Data Not Available in Other Server Nodes

2017-12-12 Thread Nikolai Tikhonov
s.platform.choreography.commons.filter.DataNodeFilter"/> >> >> >> > class="org.apache.ignite.configuration.CacheConfiguration"> >> >> > value="${cache.workflow-pause.name}"/> >> >> >&

Re: cluster hanged when client node put data into the caches

2017-12-12 Thread Nikolai Tikhonov
Hello, You don't have to use synchronization for Ignite Cache API. This instance already is threadsafe. I recommend to read the following documentation page: https://apacheignite.readme.io/docs/jvm-and-system-tuning On Sun, Dec 10, 2017 at 4:49 PM, Aurora <2565003...@qq.com> wrote: > @Nikolai >

Re: Affinity - Join query on the collocated data taking 90 seconds

2017-12-12 Thread Nikolai Tikhonov
Hello! I've looked at your project and seems you confised cache names. Cache configuration contains "AccountCache" and "CustomerCache", but for streaming you use "Customer" and "Account" caches. On Tue, Dec 12, 2017 at 4:50 PM, Naveen wrote: > Hi All > > Had any one got a chance look into this

Re: Cache store class not found exception

2017-12-12 Thread Nikolai Tikhonov
It's correct link to the related thread http://apache-ignite-users.70518.x6.nabble.com/CacheStore-being-serialized-to-client-td1931.html On Mon, Dec 11, 2017 at 7:31 PM, Nikolai Tikhonov wrote: > Hello! > > Apache Ignite requires that CacheStore classes should be in classpath on

Re: Cache store class not found exception

2017-12-11 Thread Nikolai Tikhonov
Hello! Apache Ignite requires that CacheStore classes should be in classpath on client nodes. Look at thread with the same question: http://apache-ignite-users.70518.x6.nabble.com/Cache-store-class-not-found-exception-td18842.html On Mon, Dec 11, 2017 at 6:28 PM, Naveen Kumar wrote: > Please

Re: Ignite Cache Data Not Available in Other Server Nodes

2017-12-11 Thread Nikolai Tikhonov
Hello! It looks weird for me. You should see the same data set from all nodes of cluster. I think you or remove data from other nodes or performe an operations under another cache. Can you share simple maven project which reproduces the problem? On Mon, Dec 11, 2017 at 5:22 PM, Harshil garg wrot

Re: Query Execution Error when changing the cache from PARTITIONED to REPLICATED

2017-12-11 Thread Nikolai Tikhonov
Hello, I see in attached files the following "Caused by: java.lang.OutOfMemoryError: Java heap space" error. It means that one node can't handle whole resultset of this query. You need to increase JVM heap size (via -Xmx/-Xms vm properties) or add node in cluster. Look at the following doc pages:

Re: Data lose in query

2017-12-11 Thread Nikolai Tikhonov
ad Al-Masry wrote: > How can I enable this on the server configuration XML? > BR > > > On Dec 11, 2017, at 2:31 PM, Nikolai Tikhonov > wrote: > > Hi, > > Strongly recommend to care about collocation of your data (as above > suggested by Vlad) instead of enable

Re: Data lose in query

2017-12-11 Thread Nikolai Tikhonov
Hi, Strongly recommend to care about collocation of your data (as above suggested by Vlad) instead of enable DistributedJoins flag. The performance of this type of joins is worse then the performance of the affinity collocation based joins due to the fact that there will be much more network round

Re: Ignite behaving strange with Spark SharedRDD in AWS EMR Yarn Client Mode

2017-12-11 Thread Nikolai Tikhonov
Hi @raksja! Was your problem resolved? Otherwise can you provide detailed steps for reproducing this behaviour? On Thu, Nov 30, 2017 at 4:17 AM, vkulichenko wrote: > I don't think raksja had an issue with only one record in the RDD. > IgniteRDD#count redirects directly to IgniteCache#size, so

Re: Cache clear through IgniteVisor console

2017-12-08 Thread Nikolai Tikhonov
Hello, Can you share thread dumps from all nodes. You can take them by jstack tool. On Fri, Dec 8, 2017 at 3:04 PM, Naveen wrote: > Hi > > I am using Ignite 2.3, trying to clear the cache, issued clear commands for > the space which has 10M, dont anything happening, neither clearing the > cache

Re: Affinity - Join query on the collocated data taking 90 seconds

2017-12-08 Thread Nikolai Tikhonov
Can you share your configuration and model? It would be great if you can provide simple maven project on Github. On Thu, Dec 7, 2017 at 10:10 PM, Naveen wrote: > I have created an index on partyId of Account cache, after that query is > responding in milli seconds. > > However, my basic affinity

Re: Affinity - Join query on the collocated data taking 90 seconds

2017-12-07 Thread Nikolai Tikhonov
Look at there [1] how to use explain statement. 1. https://apacheignite-sql.readme.io/docs/performance-and-debugging#using-explain-statement On Thu, Dec 7, 2017 at 7:43 PM, Nikolai Tikhonov wrote: > Hi, > > Did you create indexes for PARTY_ID fields? > Any way, can you share exp

Re: cluster hanged when client node put data into the caches

2017-12-07 Thread Nikolai Tikhonov
Hello, Can you share thread dumps from all nodes? It need for further investigation. On Thu, Dec 7, 2017 at 7:41 PM, Aurora <2565003...@qq.com> wrote: > Hi guys. > our project was stunned into this critical issue. > Ignite version 2.2, 10 nodes on 5 servers. > Client node consumed data from Kafk

Re: Affinity - Join query on the collocated data taking 90 seconds

2017-12-07 Thread Nikolai Tikhonov
Hi, Did you create indexes for PARTY_ID fields? Any way, can you share explain for the query and also try to rewrite the query via inner join? On Thu, Dec 7, 2017 at 5:59 PM, Naveen wrote: > Hi > > AM using 2.3 > Have 2 caches > Customer - PartyId is the Primary Key > Account - AccountId is the

Re: How can we use the Discovery URL with SQLLINE which is both load balanced and Fault tolerent

2017-12-07 Thread Nikolai Tikhonov
Hi! In current implementation thin driver doesn't support these features. You can use thick driver [1] that supports them. 1. https://apacheignite.readme.io/docs/jdbc-driver#jdbc-client-node-driver On Thu, Dec 7, 2017 at 6:28 PM, Naveen wrote: > Hi > > I am using 2.3, have 3 nodes in my cluste

Re: Performance comparison of Primary Vs Secondary Indexes

2017-12-07 Thread Nikolai Tikhonov
Seems that there is no direct dependence of influence of the number of nodes on performance. It strong depends from your case. Any way, you need to do experiment for your case and analyze results. On Thu, Dec 7, 2017 at 6:07 PM, Naveen wrote: > Hi Nikolay > > Can it get deteriorated further if w

Re: e-mail address change not effective

2017-12-07 Thread Nikolai Tikhonov
Hello, Did you receive approved message when sent from old address? Any way look at steps listed below, might be it will helpful for you. To unsubscribe from the user mailing list send a letter to user-unsubscr...@ignite.apache.org with a word "Unsubscribe" without quotes as a topic. If you have

Re: Performance comparison of Primary Vs Secondary Indexes

2017-12-07 Thread Nikolai Tikhonov
Hello! It looks as expected behaviour. In the first request you use IgniteCache API. In this case Apache Ignite knows which node in a cluster have a data and fetch a entry from it. Only one request and one responce. But in the second request Ignite does more action. In the first, Apache Ignite pa

Re: Use custom Data Region or custom Cache for IgniteAtomicReference - Ignite 2.3

2017-12-07 Thread Nikolai Tikhonov
Hi Krzysztof! You can do this via *AtomicConfiguration#setGroupName*. For example: AtomicConfiguration cfg = new AtomicConfiguration().setGroupName("atomicRefCacheGroup"); ignite.atomicReference("atomicRef", cfg, "initValue", true); where "atomicRefCacheGroup" cache group that has your DataReg

Re: Ignite in docker (Native Persistence)

2017-12-07 Thread Nikolai Tikhonov
Hello! Yes, sure! I'll investigate this question and update our doc. On Thu, Dec 7, 2017 at 9:57 AM, Denis Magda wrote: > Nick, > > As one of Ignite docker maintainers, could you please investigate one how > to map Ignite persistence to docker volumes: > https://docs.docker.com/engine/admin/vol

Re: DataStreamer vs CacheStoreAdapter

2017-12-06 Thread Nikolai Tikhonov
Hi, If you plan to stream into data from single JVM then the better way use only one instance of DataStreamer. Sure, if you're going to start different 10 JVMs than you'll use 10 instance of DataStreamer. By default DataStreamer won't overwrite existing entries in a cache. You can change this beha

Re: Multi Data center replication issue

2017-12-06 Thread Nikolai Tikhonov
Hello! Apache Ignite does not have this functionality and community does not relate with it product. You need to ask this questions to company that provided this features. On Wed, Dec 6, 2017 at 3:00 PM, bits1983_25 wrote: > Iam doing a POC on multi data center replication feature of Gridgain.

Re: DataStreamer vs CacheStoreAdapter

2017-12-05 Thread Nikolai Tikhonov
Hello! You're thinking in the right way. In the first case DataStreamer looks preferable. If I understood correctly then you have a distributed database and you need to do some preparation before loading data to Apache Ignite. In this case you can create needed count of DataStreamer (one DataStre

Re: Problem with loading data

2017-12-05 Thread Nikolai Tikhonov
Hello! It looks that Web Console generated an incorrect schema for PositionCache cache. Can you share CacheConfiguration and schema for the related table? On Tue, Dec 5, 2017 at 5:00 PM, Ahmad Al-Masry wrote: > Hi; > Want to to test Ignite to improve the performance of our reporting system. >

Re: Student Blog about Apache Ignite & Questions how to efficiently handle data

2017-12-05 Thread Nikolai Tikhonov
Hello Sven! Glad hear that you solved the problem by yourself! Any way, if you are able to share code snippet that shows how you use kafka streamer then community can provide some additional suggest. On Tue, Dec 5, 2017 at 2:45 PM, svonn wrote: > I solved the key issue with a singleTupleExtract

Re: fabric8 ignite-service.yaml

2017-12-05 Thread Nikolai Tikhonov
Hello, I haven't seen that users use ignite with the fabric8-maven-plugin. Any way, feel free to share your experience with community. ;) On Tue, Dec 5, 2017 at 11:57 AM, Humphrey wrote: > Has anyone used fabric8 in combination with Ignite to deploy ignite > services > and discovery using the T

Re: Semaphore Stuck when no acquirers to assign permit

2017-12-05 Thread Nikolai Tikhonov
Tim, Thank you for your contribution! I'll look at your changes and leave my comment to jira ticket. On Tue, Dec 5, 2017 at 6:18 AM, Timay wrote: > From what i found, it looks like the DataStructuresProcessor EventListener > get invoked after the dsMap has been cleared which prevents the > onNo

Re: Semaphore Stuck when no acquirers to assign permit

2017-12-04 Thread Nikolai Tikhonov
Hi Tim! Yes, it looks as bug. Thank you for investigation! Feel free to contribute. ;) On Fri, Dec 1, 2017 at 8:39 PM, Timay wrote: > Hey all, > > We experienced an issue when trying to establish a semaphore after a single > instanced client node goes down hard (kill -9). Which afterwards we ca

Re: Regards the ContinuousQuery and MutableCacheEntryListenerConfiguration

2017-12-01 Thread Nikolai Tikhonov
Hi Aaron! You close ContinuousQuery on this line: try (QueryCursor> cur = accountCache.query(query)) { When you call *QueryCursor#close()* method this listener stops receiving updates. Just remove `*try*` and it will work as you expected. On Wed, Nov 29, 2017 at 2:56 PM, aa...@tophold.com wrot

Re: Ignite SpringTransactionManager not rolling back cache changes

2017-11-27 Thread Nikolai Tikhonov
Hi, It seems misconfiguration. Could you share your cache configuration and double check that you set CacheConfiguration#setAtomicityMode to TRANSACTIONAL instead of ATOMIC which used by default? On Sat, Nov 25, 2017 at 9:19 AM, Sumanta Ghosh wrote: > Hi, > I am using Ignite's SpringTransactio

Re: Initial query resent the data when client got reconnect

2017-11-17 Thread Nikolai Tikhonov
Hello, When node disconnected from cluster, server's nodes close query listener and lose information about updates which were already sent to client. You should query again for avoiding this situation. Server nodes don't keep the information when node goes out from clustre because it can lead to h

Re: Using event to reconnect spring created cache client to server

2017-11-16 Thread Nikolai Tikhonov
Also you can annotate your Listener or Filter class by IgniteAsyncCallback annotation. In this case a callback will be called from other thread. On Thu, Nov 16, 2017 at 7:13 PM, ezhuravlev wrote: > gunman524, I didn't say anything like that. > > I said that if you want to access cache from CQ, y

Re: ignite 2.3.0 docker image contains 2.2.0 files.

2017-11-03 Thread Nikolai Tikhonov
Good catch, thank you! The latest image contains 2.3.0 (docker pull apacheignite/ignite) but image with 2.3.0 tag contains binary files for 2.2.0 version. I've fixed it. On Fri, Nov 3, 2017 at 8:13 AM, Denis Magda wrote: > Nick, Vovan, > > Have we really upgraded docker and the other images to

Re: Error : Commit produced a runtime exception

2017-10-25 Thread Nikolai Tikhonov
Hi, Sorry, for late answer. It's known usability problem (that Apache Ignite node requests 80% of RAM from an operating system) which was fixed in 2.2 version. [1][2] Could you update to the latest version and check it? Please, ignore if it is not actual any more. 1 http://apache-ignite-develo

Re: Client Near Cache Configuration Lost after Cluster Node Removed

2017-10-23 Thread Nikolai Tikhonov
Hello, Could you say how you determine that client node loads data from remote node bypasses near cache? I'm not able reproduce this behaviour locally, could you share a simple maven project that reproduces this behaviour? On Tue, Oct 17, 2017 at 12:54 AM, torjt wrote: > Hello All, > > We are h

Re: Trouble to connect to ignite cluster on kubernetes

2017-10-02 Thread Nikolai Tikhonov
Hi Anton! For work Apache Ignite cluster requires that all nodes are able to communicate to each other directly. If I understood correctly kubernete starts up internal network interfaces and this environment looks similar that Apache Ignite works behind proxy. In this case you need to configure Ba

Re: computation on view

2017-10-02 Thread Nikolai Tikhonov
Hi, 1. The better way load data to Apache Ignite via DataStreamer. [1] Also hight reccomend configure properly data colloacation. In this case employees for one organization will be placed on the node that allows to improve join performance. [2] 2. You can create a separate cache which will conta

Re: How do I support schema change in Ignite as well as addition of new Cache?

2017-10-02 Thread Nikolai Tikhonov
Hi, You can create/drop caches (hence tables) in runtime. If we don't have classes in runtime then you can configure via QueryEntitry. Refere the following page https://apacheignite.readme.io/docs/indexes section *QueryEntity Based Configuration*. In the next 2.3 release (which community plan to r

Re: chunkSize

2017-09-29 Thread Nikolai Tikhonov
Hello, Apache Ignite calculates Chunk size and you shouldn't configure it yourself. I guess that isn't root of your problem. Can you share full ignite configuration (include cache configurations)? On Fri, Sep 29, 2017 at 12:03 PM, mhetea wrote: > Hello, > We use ignite 2.2.0 (we migrated from 2

Re: underscores in Ignite

2017-09-28 Thread Nikolai Tikhonov
Hi, As I know that integration with cassandra allows to set custom mapping. You can find example in doc (Example 5): https://apacheignite-mix.readme.io/docs/examples#section-example-5 On Thu, Sep 28, 2017 at 3:37 PM, elopez779 wrote: > Dear experts: > > I'm developing a Java app that has to cre

Re: Cache Indexes not getting created Ignite v2.1

2017-09-28 Thread Nikolai Tikhonov
Hello, I started grid with your configuration and see that all indexes were properly created. Can you share your SQL query? BTW how you get the metadata? I recommend use for this H2 debug console. How use it, you can read there: https://apacheignite.readme.io/docs#using-h2-debug-console On Thu, S

Re: unsubscribe

2017-09-28 Thread Nikolai Tikhonov
Hi. To unsubscribe from the user mailing list send a letter to user-unsubscribe @ignite.apache.org with a word "Unsubscribe" without quotes as a topic. If you have a mailing client, follow an unsubscribe link here: https://ignite.apache.org/community/resources.html#mail-lists On Thu, Sep 28, 201

Re: Full table scan query by ODBC causing node shutdown

2017-09-27 Thread Nikolai Tikhonov
CacheConfiguration.queryParallelism parameter affects all queries which perform under this cache. It doesn't matter which API you will use. I guess that when you increase heap size and tune gc it will bring significant performance improvement for the case. Thanks, Nikolai On Wed, Sep 27, 2017 at

Re: Full table scan query by ODBC causing node shutdown

2017-09-27 Thread Nikolai Tikhonov
Hello! Seems that you don't have enough memory for loading whole data set to memory. Ignite move the whole ResultSet to memory when executing SQL query. How I see from logs that this mertics before query execution: Metrics for local node (to disable set 'metricsLogFrequency' to 0) ... ^--

Re: Client Mode and client to client communication

2017-09-27 Thread Nikolai Tikhonov
Hi John! In current architecture nodes in cluster communicate to directly with other nodes (include clients) and this behaviour can't be changed. If client nodes will need a interact then they will open connect to directly. In your case you need to exclude client nodes from ExecutorService. For it

Re: Ignite Context failing with java.lang.NullPointerException: Ouch! Argument cannot be null: cfg

2017-09-26 Thread Nikolai Tikhonov
Hello, This error looks strange. Configuration should not be null by code. Could you try to change your code in the following fashion? *val igniteContext = new IgniteContext(spark.sparkContext, () ⇒ configuration, standalone = false)* *def configuration(): IgniteConfiguration = {* * val config

Re: Ignite Xmx configuration

2017-09-08 Thread Nikolai Tikhonov
Hi Anil, Yes, you are right. On Fri, Jul 28, 2017 at 3:29 PM, Anil wrote: > Hi Nikolai, > > > So i need to add 4gb + indexes size as cache size for off-heap cache ? > > Thanks, > Anil > > On 28 July 2017 at 17:23, Nikolai Tikhonov wrote: > >> Indexes

Re: Continuous Query event buffering OOME

2017-09-08 Thread Nikolai Tikhonov
Hi Michal, I've looked at code and your points look reasonable. In now moment, how you correct noted, you can decrease size of the buffer via IGNITE_CONTINUOUS_QUERY_SERVER_BUFFER_SIZE property to 50 or 100. On Tue, Sep 5, 2017 at 9:14 PM, mcherkasov wrote: > Hi Michal, > > Those buffers are re

Re: Amazon AMI not available in a specific region

2017-08-21 Thread Nikolai Tikhonov
aksja wrote: > Thanks for quick turn around that helped. > Also do you know/any one how to install ignite in EMR worker nodes? > Looks like there's no straight forward way. > > Any help or suggestions? > > On Tue, Aug 1, 2017, 5:33 AM Nikolai Tikhonov [via Apache Ignite Us

Re: docker external libs

2017-08-21 Thread Nikolai Tikhonov
Yes, you can easily to create your own image. As example you can look at Apache Ignite docker file [1]. 1. https://github.com/apache/ignite/blob/master/modules/docker/2.1.0/Dockerfile On Mon, Aug 21, 2017 at 1:31 PM, luqmanahmad wrote: > Thanks Nikolai for coming back. That's what I am doing an

Re: docker external libs

2017-08-21 Thread Nikolai Tikhonov
Hello, I think in this case that the better way it to extend existing a docker image and add your libs by "ADD" command. On Thu, Aug 17, 2017 at 4:47 PM, luqmanahmad wrote: > Hi there, > > In docker deployment can we provide jars from our local system to > EXTERNAL_LIBS parameter. Let say we ha

Re: TcpDiscoveryVmIpFinder handle IP change

2017-08-14 Thread Nikolai Tikhonov
Hi David, JVM can cache a name service. Could you try to set *networkaddress.cache.ttl* to zero? 1. http://www.myhowto.org/java/42-understanding-host-name-resolution-and-dns-behavior-in-java 2. http://docs.oracle.com/javase/1.5.0/docs/guide/net/properties.html On Mon, Aug 14, 2017 at 10:18 AM, D

Re: Amazon AMI not available in a specific region

2017-08-01 Thread Nikolai Tikhonov
Hi, I've copied AMI to Oregon. ami-f07f9b88 is image id. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Amazon-AMI-not-available-in-a-specific-region-tp15838p15854.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: bugreport: logger

2017-07-31 Thread Nikolai Tikhonov
Hello! Thank you for your feedback. IgniteJdbcDriver tries to find a there *config/java.util.logging.properties* by default or get path to configuration file by *java.util.logging.config.file* system property. And only if both a tries are failed, Ignite Jdbc Driver will configure JUL. On Sun, Jul

Re: Create and query a binary cache in ignite

2017-07-31 Thread Nikolai Tikhonov
Hi James, Could you share your code as simple maven project? It would be great and allows to us help you quickly. On Mon, Jul 31, 2017 at 9:43 AM, James Isaac wrote: > > Hi, > > I am trying to use BinaryObjects to create the cache at runtime. For > example, instead of writing a pojo class such

Re: most of the dat in mbeans in empty

2017-07-31 Thread Nikolai Tikhonov
Sorry, I missed it. It's known behaviour. Count of operation (put/remove and etc) updated on data nodes (node which really stored data) but time of operation is counted on client node (node which perform this operation). We have plan to make this more clear and intuitive. You can track status of th

Re: Do not store @javax.persistence.Transient fields

2017-07-31 Thread Nikolai Tikhonov
I'm not sure that this patch can be included in Apache Ignite. javax.persistence.Transient annotation part of external dependency (Persistence Api ) Apache Ignite core doesn't have external dependencies (except cache-api). You can build your own build which will include this patch and used it. On

Re: Error : Commit produced a runtime exception

2017-07-31 Thread Nikolai Tikhonov
Did you configure IgniteConfiguration#setMemoryConfiguration? On Mon, Jul 31, 2017 at 3:18 PM, iostream wrote: > I have already shared the cache configuration in my post above. Reposting > below- > > Cache configuration :- > cacheConfig.setAtomicityMode(TRANSACTIONAL); > cacheConfig.setCacheMode

Re: Error : Commit produced a runtime exception

2017-07-31 Thread Nikolai Tikhonov
Hi, This configuration without cache configurations. Could you share cache configuration too? It's really important for getting root of this problem. Also did you try to upgrade to 2.1 and look at cache metrics? On Mon, Jul 31, 2017 at 11:37 AM, iostream wrote: > Hi Nikolai, > > Did you get a c

Re: Error : Commit produced a runtime exception

2017-07-28 Thread Nikolai Tikhonov
Local node metrics show that ~80% free heap memory. Since ignite 2.0, a entries are stored to offheap memory. Could you upgrade to 2.1 version (just released) which has many improvment and fixes (included offheap metrics)? Also can you share your configuration? On Fri, Jul 28, 2017 at 3:57 PM, ios

Re: most of the dat in mbeans in empty

2017-07-28 Thread Nikolai Tikhonov
Hi, You need to enable mertics by *CacheConfiguration#setStatisticsEnabled(true)* On Fri, Jul 28, 2017 at 3:04 PM, neerajbhatt wrote: > Hi All > > I am trying to monitor mbeans through jconsole. I have ste > setStatisticsEnabled(true) > > In jconsole I can see only some entries for all caches l

Re: Ignite Xmx configuration

2017-07-28 Thread Nikolai Tikhonov
Indexes does not include in it. Indexes will occupy extra size. On Fri, Jul 28, 2017 at 12:21 PM, Anil wrote: > 1.9 version > > On 28 July 2017 at 14:08, Nikolai Tikhonov wrote: > >> Which versioin ignite do you use? >> >> On Fri, Jul 28, 2017 at 11:12 AM,

Re: Error : Commit produced a runtime exception

2017-07-28 Thread Nikolai Tikhonov
Hello, Cause of this issue OOM. Are you sure that you have enough free memory on your PC/server? Caused by: java.lang.OutOfMemoryError at sun.misc.Unsafe.allocateMemory(Native Method) On Fri, Jul 28, 2017 at 11:55 AM, iostream wrote: > Hi, > > My ignite cluster hung producing the follo

Re: Ignite Xmx configuration

2017-07-28 Thread Nikolai Tikhonov
egards, > Anil > > On 28 July 2017 at 12:56, Anil wrote: > >> Thanks Nikolai. >> >> On 28 July 2017 at 12:47, Nikolai Tikhonov wrote: >> >>> Hi! >>> >>> If you used off-heap cache then entry is not stored in heap memory. >

Re: Ignite 1.9Version: Error GridCachePartitionExchangeManager Found long running cache future

2017-07-28 Thread Nikolai Tikhonov
Hi, Could you take thread dumps from all nodes in cluster when it happens and share here? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-1-9Version-Error-GridCachePartitionExchangeManager-Found-long-running-cache-future-tp15755p15759.html Sent from the

Re: Ignite Xmx configuration

2017-07-28 Thread Nikolai Tikhonov
Hi! If you used off-heap cache then entry is not stored in heap memory. Hence Xmx is not related with cache size. You need to choose Xmx/Xms based on your application requirements (how many object will be created by your code). I guess that 2-4 Gb will be enough in your case. On Fri, Jul 28, 2017

Re: Question on efficient loading from Cassandra

2017-07-27 Thread Nikolai Tikhonov
Hello, >So, there is a reduction in elapsed time. Correct? I think that it is not correct for any case. If you have significal count of nodes (for example 20 nodes with 4 cores) than in short period of time Ignite will be quering to Cassandra from ~80 threads. I'm not sure that this high load wil

Re: Streaming data from concurrently from multiple nodes/data streamers - hangs

2017-07-27 Thread Nikolai Tikhonov
Hi, Could you please share thread dump from all nodes? On Thu, Jul 27, 2017 at 6:01 PM, Raja wrote: > Is it right to use data streamers from multiple nodes concurrently to > ingest > into the same cache? > > If I ingest data from a single node and multiple threads it works just > fine. > But wh

Re: Does it reveal some problems?

2017-07-27 Thread Nikolai Tikhonov
More details about Page Memory you can found there https://apacheignite.readme.io/docs/page-memory On Thu, Jul 27, 2017 at 3:46 PM, Nikolai Tikhonov wrote: > Hi, > > Could you share full logs? From this messages I don't see any problem, > it's just statistic of usage p

Re: Does it reveal some problems?

2017-07-27 Thread Nikolai Tikhonov
Hi, Could you share full logs? From this messages I don't see any problem, it's just statistic of usage page memory. On Thu, Jul 27, 2017 at 2:12 PM, Bob Li <2789106...@qq.com> wrote: > From this worklog(you can find it in IGNITE_HOME/work/log): > [19:08:55,734][INFO ][grid-timeout-worker-#23%nu

Re: [Paging] QueryCursor and SqlQuery

2017-07-27 Thread Nikolai Tikhonov
Hi, Ignite API does not provide pagination out of box. You can achieve it by your SQL query as in most of DB. On Thu, Jul 27, 2017 at 4:33 AM, woo charles wrote: > Hi, > How can I do paging when query from ignite cache? > > Can I get records by range? specific page? > > If I have 1 rows of

Re: Cache performance in multi-threaded environment

2017-07-26 Thread Nikolai Tikhonov
Hi Vladimir, Please properly subscribe to the mailing list so that the community can receive email notifications for your messages. To subscribe, send empty email to user-subscr...@ignite.apache.org and follow simple instructions in the reply. 1) I think that it doesn't lead to dramatically perfo

Re: regarding ignite-hibernate module as L2 hibernate cache

2017-07-26 Thread Nikolai Tikhonov
Hello, I answered on SO [1]. Also I've created ticket and you can track progress there [2]. 1. https://stackoverflow.com/questions/45327322/exception-while-trying-to-use-ignite-hibernate-as-l2-cache 2. https://issues.apache.org/jira/browse/IGNITE-5848 On Wed, Jul 26, 2017 at 3:37 PM, sureshkumar

Re: ignite-indexing karaf feature problems on Karaf 4.1.1

2017-07-26 Thread Nikolai Tikhonov
Hello, Apache Ignite has a сlose integration with H2 and uses classes from this package for starting debug console. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/ignite-indexing-karaf-feature-problems-on-Karaf-4-1-1-tp15643p15694.html Sent from the Apache Ign

Re: Ignite Cluster going OOM

2017-07-26 Thread Nikolai Tikhonov
Hi, Vote for this release will be finished tomorrow. I think it will be successful and the release will be ready on this week. On Wed, Jul 26, 2017 at 12:57 PM, Ankit Singhai wrote: > Hi Andrew, > Please let us know when Ignite 2.1.0 would be available & do you think we > can try with Ignite 2.

Re: REST API put issue

2017-07-25 Thread Nikolai Tikhonov
Hi, Are you sure that you used a correct sql query or queries the same cache? Could you share a simple reproducer? Thanks, Nikolai On Sat, Jul 22, 2017 at 12:03 AM, waterg wrote: > I used REST API put command and was able to valid the number of entries > using > REST size command as well as vi

Re: Cache cannot be used any more on client if server is restarted.

2017-07-25 Thread Nikolai Tikhonov
Hello, *CacheJdbcPojoStoreFactory#setDataSource* method is depricated (by this reason). You need to use *CacheJdbcPojoStoreFactory#setDataSourceBean *or *CacheJdbcPojoStoreFactory#setDataSourceFactory.* Thanks, Nikolai On Tue, Jul 25, 2017 at 10:06 AM, AresZhu wrote: > I have one server and on

Re: Some question regards near cache and cache store

2017-07-25 Thread Nikolai Tikhonov
Hi Aaron, NearCacheConfiguration can be used for REPLICATED cache. It can be useful for client node. Affinity function used also for REPLICATED caches. >Possible evict some data from the cache manually, when use JDBC storage as back-end; for some entry, I only want to mark them as deleted and m

Re: Do not store @javax.persistence.Transient fields

2017-07-25 Thread Nikolai Tikhonov
Apache Ignite does not handle this annatation. You can implement org.apache.ignite.binary.Binarylizable interface. It allows to implement custom serialization logic for binary objects. On Tue, Jul 25, 2017 at 2:11 PM, kestas wrote: > Is there a simple way to ensure fields marked as > @javax.pers

Re: Ignite Information

2017-07-05 Thread Nikolai Tikhonov
Hi, > I wanted to know if I did start a node by igniting.sh in client mode with a fixed configuration I can access that instance via java. For getting Ignite API you need have ignite node in the same JVM that running your application. > Another thing I would do is to partition the input to the ig

Re: Error using ignite cache with Zookeeper for Node Discovery

2017-07-04 Thread Nikolai Tikhonov
Hello, Could you share more information about your setup? Which version OS and java did you use? On Tue, Jul 4, 2017 at 10:00 AM, Venkat Raman wrote: > Hi All, > > I am using Ignite cache on two node cluster with Zookeeper for node > discovery. I see the following error while trying to update C

Re: Dynamically update the Cache Configuration without restsrting client and serve

2017-07-04 Thread Nikolai Tikhonov
Hello, Ignite does not support to change configuration for working caches. You only can only destroy cache and create new cache with the same name with new configuration. On Tue, Jul 4, 2017 at 9:24 AM, volijaadu wrote: > Hi, > > I am using Apache Ignite in client mode true with my web applicat

Re: Apache Ignite client gets disconnected on Amazon EC2 Scale In

2017-06-21 Thread Nikolai Tikhonov
Which version ignite do you use? On Wed, Jun 21, 2017 at 6:08 AM, robbie wrote: > Hi. Below are the logs for server and client nodes > > server: > https://pastebin.com/ashC5EN8 > > client: > https://pastebin.com/xTa0sQ9t > > > > -- > View this message in context: http://apache-ignite-users. > 70

Re: Ignite Yardstick - Package built from source

2017-06-20 Thread Nikolai Tikhonov
Hi, Can you to make sure that com.test.ignite.yardstick.Ignite Put Benchmark really exist in classpath? On Mon, Jun 19, 2017 at 9:54 PM, Swetad90 wrote: > Hi > I am trying to use Ignite yardstick on packages that I build rather than > using the ones given in example packages(org.apache.ignite).

Re: Apache Ignite client gets disconnected on Amazon EC2 Scale In

2017-06-19 Thread Nikolai Tikhonov
Hello, At the first look it's network problem. Where are you client located? Also could you share full logs server and client node? On Fri, Jun 16, 2017 at 3:59 PM, robbie wrote: > I've also noticed a similar behavior whenever I kill multiple EC2 instances > when a compute task is running. I fi

Re: What is the difference in cache speed between ignite 1.7 and 1.9

2017-06-16 Thread Nikolai Tikhonov
Thank you! Simple benchmark would be the best information for further investigation! ;)

Re: messaging behavior

2017-06-16 Thread Nikolai Tikhonov
ft grid?) > it seems the node gone are too fast. > > How to solve this? another question is how can I get the feedback of how > message are received by other nodes. > > Thanks > Shawn > > On 06/12/2017 20:52,Nikolai Tikhonov > wrote: > > Hi, > > Ignite doe

Re: What is the difference in cache speed between ignite 1.7 and 1.9

2017-06-16 Thread Nikolai Tikhonov
Hi, Diff between this releases huge, but developers hard works on that the next release will be faster than previous. Every release passes is benchmarked. Can you share your case which show slowdown? On Fri, Jun 16, 2017 at 8:16 AM, wychoi wrote: > hi > > I upgraded to ignite 1.9 and tested the

Re: swift store as secondary file system

2017-06-13 Thread Nikolai Tikhonov
I got it! If you do it yourself doesn't shy to share your experience with community. ;) On Mon, Jun 12, 2017 at 7:23 PM, Antonio Si wrote: > Thanks Nikolai. I am wondering if anyone has done something similar. > > Thanks. > > Antonio. > > On Mon, Jun 12, 2017 at

Re: Grid/Cluster unique UUID possible with IgniteUuid?

2017-06-13 Thread Nikolai Tikhonov
UID);* > * deptCache.getAndPut(uUID, dept);* > System.out.println(" in ObjectCacheMgrService.insertDepartment : > department inserted successfully : " + dept); > ... > ... > > Regards, > Muthu > > On Mon, Jun 12, 2017 at 3:24 AM, Nikolai Tikhonov > wr

Re: System Parameters to improve CPU utilization

2017-06-12 Thread Nikolai Tikhonov
Hi, Can provide more details about your case? Which operations you perform under grid? On Fri, Jun 9, 2017 at 1:21 PM, rishi007bansod wrote: > Hi, >For my ignite data caching process i have recorded following > statistics. In which I have found my CPU utilization is not much(only > 60-7

Re: messaging behavior

2017-06-12 Thread Nikolai Tikhonov
Hi, Ignite does not accumulate messages which were sent to non-exist topic. Messages will be lost in your case. On Mon, Jun 12, 2017 at 12:30 PM, shawn.du wrote: > Hi, > > I am trying ignite topic based messaging. I wonder to know ignite behavior > in blow case: > > Client A send a message with

Re: ignite 1.5 network imbalance

2017-06-12 Thread Nikolai Tikhonov
Hi Libo! Would you describe your imbalance in percent? Also can you try to upgrade Ignite to 1.9 and check it? On Fri, Jun 9, 2017 at 11:05 PM, Libo Yu wrote: > Hi, > > > > We have used embedded ignite cache on three application servers which are > behind a load balancer. > > The cache is set t

Re: swift store as secondary file system

2017-06-12 Thread Nikolai Tikhonov
Hi, Antonio! You can implement your own CacheStore which will propagate data to the swift. Or do you mean other integration with this product? On Sat, Jun 10, 2017 at 9:04 AM, Antonio Si wrote: > Hi Alexey, > > I meant a swift object storage: https://wiki.openstack.org/wiki/Swift > > Thanks. >

Re: FW: QueryCursor.iterator() hanges forever

2017-06-12 Thread Nikolai Tikhonov
Hello, It looks strange. Could you share full example (how maven project)? Which version of apache ignite do you use? On Sat, Jun 10, 2017 at 1:14 PM, Reshma Bochare wrote: > Same thing works fine if executed at server side > > > > *From:* Reshma Bochare > *Sent:* Friday, June 09, 2017 4:21 PM

Re: Grid/Cluster unique UUID possible with IgniteUuid?

2017-06-12 Thread Nikolai Tikhonov
Muthu, Yes, you can use IgniteUUID as unique ID generator. What you will use depends your requirements. IgniteAtomicSequence takes one long and IgniteUUID takes 3 long. But getting new range sequence is distributed operation. You need to decied what more critical for your. On Fri, Jun 9, 2017 at

Re: Node can't start. java.lang.NullPointerException in GridUnsafe.compareAndSwapLong()

2017-06-12 Thread Nikolai Tikhonov
Hi, Seems that known issue with IBM JDK http://www-01.ibm.com/support/docview.wss?uid=swg1IV76872. You need to update on jdk which contains fixes. On Fri, Jun 9, 2017 at 7:06 PM, Vladimir wrote: > Hi, > > Having no problems on Windows and Linux application suddenly couldn't start > on IBM AIX w

  1   2   3   >