Re: Multiple Caches in same configuration XML ?

2015-11-12 Thread Anton Vinogradov
Hello, please try to do something similar to following:

Re: Stop the node but keep the process

2015-11-12 Thread Anton Vinogradov
Alexandre, As far as I undesrtand "grid" is an Ignite instance. Could you please check that grid.close(); works correct in this case? On Thu, Nov 12, 2015 at 11:03 AM, Alexandre Boudnik < alexander.boud...@gmail.com> wrote: > Hello, > > In my cluster, each node is running as web application.

Re: Multiple Caches in same configuration XML ?

2015-11-12 Thread Anton Vinogradov
Also, Please properly subscribe to the user list (this way we will not have to manually approve your emails). All you need to do is send an email to “user-subscr...@ignite.apache.org” and follow simple instructions in the reply. On Thu, Nov 12, 2015 at 12:56 PM, Anton Vinogradov <avino

Re: [RESULT] [VOTE] Apache Ignite 1.4.0 Release (RC1)

2015-09-29 Thread Anton Vinogradov
; maven central > > > -- Enrico > > 2015-09-28 19:52 GMT+02:00 Konstantin Boudnik <c...@apache.org>: > >> Congrats! Well timed to @ApacheCon too! >> >> Please make sure to do the announcement cc'ed to annou...@apache.org >> >> Thanks &

Re: Upgrading from 1.3 to 1.4

2015-09-29 Thread Anton Vinogradov
Enrico, Classes inside internal package has no compatibility guarantee between releases. IgniteConfiguration.consistentId can't guarantee correct node identifying. Usage of user-attribute seems to be a correct choice. On Tue, Sep 29, 2015 at 11:07 AM, Enrico Olivelli

Re: Help with integrating Ignite(as JCache) with JBoss EAP 6.4

2015-12-17 Thread Anton Vinogradov
12-16 17:00 GMT+03:00 Anton Vinogradov <avinogra...@gridgain.com>: > >> Val, >> Yes, Please check my pull-request >> https://github.com/apache/ignite/pull/345 >> I'll megre changes tomorrow morning in case everything is ok & TC passed. >> >> On Wed, D

Re: Help with integrating Ignite(as JCache) with JBoss EAP 6.4

2015-12-15 Thread Anton Vinogradov
Juan, I've checked fix and pushed it to ignite-1.5. On Mon, Dec 14, 2015 at 3:29 PM, Yakov Zhdanov <yzhda...@apache.org> wrote: > Juan, > > Anton Vinogradov has identified the problem in cache manager and fixed it > (one-liner fix) and will check tc today. If this does not br

Re: Help with integrating Ignite(as JCache) with JBoss EAP 6.4

2015-12-17 Thread Anton Vinogradov
PR merged to branch ignite-1.5. Issue not closed with reason: need to write tests. On Thu, Dec 17, 2015 at 1:59 PM, Alexey Goncharuk < alexey.goncha...@gmail.com> wrote: > Looks good to me as well. However, shouldn't any tests be added as well? >

Re: Can I set an expiry policy for some specify entry?

2015-12-01 Thread Anton Vinogradov
Lin, As you can see at example you can use cache.withExpiryPolicy() to gain cache wrapper with specific ExpiryPolicy. This policy will be used during operations on this cache wrapper, only. You can create as much wrappers as you need and put/get/etc entries using them. I recomend you to use

Re: putting to cache as generic object

2016-01-13 Thread Anton Vinogradov
Hello Ambha, Seem you need to use BinaryMarshaller ( https://apacheignite.readme.io/docs/binary-marshaller) In this case you can create objects using binary builder and read field's values using BinaryObject (Reflection like mechanism) On Wed, Jan 13, 2016 at 7:58 AM, Ambha

Re: Ignite-hibernate latest version is not available in maven central

2016-06-02 Thread Anton Vinogradov
Hi, You can use non-apache mvn repositories contain full list of Apache Ignite artifacts. For example you can add dependency to this one: http://www.gridgainsystems.com/nexus/content/repositories/external/org/apache/ignite/ignite-hibernate/ We just uploaded release tags 1.5.0-final and 1.6.0

Re: Ignite Download links broken

2016-06-20 Thread Anton Vinogradov
nton, do you > mind fixing it? > > On Mon, Jun 20, 2016 at 6:13 AM, Anton Vinogradov <a...@apache.org> wrote: > >> We already provides "hard-coded links (without mirror) " to previous >> versions. >> For example >> >> https://archive.apache.org/

Re: Semaphore blocking on tryAcquire() while holding a cache-lock

2016-03-11 Thread Anton Vinogradov
Yakov, I've answered. Seems we have to have special FAQ section at Ignite wiki to publish same things. On Sun, Mar 6, 2016 at 12:21 PM, Yakov Zhdanov wrote: > Vlad and all (esp Val and Anton V.), > > I reviewed the PR. My comments are in the ticket. > > Anton V. there is a

Re: Cache Problems

2016-09-14 Thread Anton Vinogradov
Hi, In a nutshell: Ignite writes to one of these files while another is being packed by Swap compactor. When packing finished files change places. On Wed, Sep 14, 2016 at 5:35 AM, Level D <724172...@qq.com> wrote: > > I use lucense index. > > By the way, > what do these two files mean? > > --

Re: Data grid client errors out when datasource not defined

2016-09-21 Thread Anton Vinogradov
Jason, Thanks for tips, I found that CacheJdbcPojoStoreFactory required to have bean specified at inside client config to use this cache. Another way is to specify *dataSource *property instead. for example: Here's the

Re: Different of publicThreadPoolSize and systemThreadPoolSize

2016-09-20 Thread Anton Vinogradov
Hi, as far as I can see no threadpools used in this case flushThreads = new GridWorker[flushThreadCnt]; writeCache = new ConcurrentLinkedHashMap<>(initCap, 0.75f, concurLvl); for (int i = 0; i < flushThreads.length; i++) { flushThreads[i] = new Flusher(gridName, "flusher-" + i, log);

Re: Data grid client errors out when datasource not defined

2016-09-20 Thread Anton Vinogradov
Jason, Could you please reattach stacktrace as a text. Nabble is down now and I can't recheck exception details. Also, is it possible to create simple maven project with test running server and client node as you described? I tried to run similar configuration but gain no failures. On Tue, Sep

Re: DataStreamer is closed

2016-11-11 Thread Anton Vinogradov
Anil, Unfortunately, at com.test.cs.cache.KafkaCacheDataStreamer.addMessage( KafkaCacheDataStreamer.java:149) does not fits on attached sources. But, java.lang.IllegalStateException: Cache has been closed or destroyed: PERSON_CACHE is a reason of closed datastreamer. It it possible to write

Re: DataStreamer is closed

2016-11-11 Thread Anton Vinogradov
eated. Correct ? > > In the above case, kafka streamer tries to getStreamer and push the data > but streamer is not available. > > Thanks. > > > > On 11 November 2016 at 14:00, Anton Vinogradov <a...@apache.org> wrote: > >> Anil, >> >> Unfortunate

Re: DataStreamer is closed

2016-11-03 Thread Anton Vinogradov
Anil, Could you provide getStreamer() code and full logs? Possible, ignite node was disconnected and this cause DataStreamer closure. On Thu, Nov 3, 2016 at 1:17 PM, Anil wrote: > HI, > > I have created custom kafka data streamer for my use case and i see > following

Re: DataStreamer is closed

2016-11-03 Thread Anton Vinogradov
dating the cache - {} {} " ,msg, ex); > } > > return entries; > } > }); > >kafkaStreamer.start(); > }catch (Exception ex){ > logger.error("Error in kafka data streamer ", ex); > } > > > Please let me know

Re: DataStreamer is closed

2016-11-03 Thread Anton Vinogradov
t; entry : m.entrySet()){ > cache.replace((String)entry.getKey(), (Person) > entry.getValue()); > } > > > cache size with #1 & #3 is 0 > cache size with #2 is 1 as expected. > > Have you see similar issue before ? > > Thanks > >

Re: Ignite cluster

2016-12-14 Thread Anton Vinogradov
Anil, This situation described here https://gridgain.readme.io/docs/network-segmentation On Wed, Dec 14, 2016 at 2:48 PM, Anil wrote: > HI, > > how ignite cluster internally behaves when a node disconnects from cluster > ? > > Lets say A , B, C are three nodes formed

Re: Storing JSON data on Ignite cache

2017-04-03 Thread Anton Vinogradov
Hi, Seems you have to use Cache's query method with transformer. public QueryCursor query(Query qry, IgniteClosure transformer); Usage example: IgniteClosure, Integer> transformer = new IgniteClosure, Integer>() {

Re: Apache Ignite Site Changed its Face

2017-07-28 Thread Anton Vinogradov
Awesome! On Fri, Jul 28, 2017 at 11:22 AM, Sergey Kozlov wrote: > Looks like we're *going over the dark side* :-) > > On Fri, Jul 28, 2017 at 11:17 AM, Pavel Tupitsyn > wrote: > >> Looks great on desktop, but on mobile it is a disaster :( >> >>

Re: SQL query on client stalling the grid when server node dies

2017-05-24 Thread Anton Vinogradov
Hi, Is it possible to provide full logs or reproducer? Anyway, I see that exchange waits for something and you should see reason at logs after phrase "Failed to wait for partition release future". On Wed, May 24, 2017 at 7:31 AM, bintisepaha wrote: > Hi Igniters, > >

Re: With same load Ignite is not able to respond after enabling SSL

2017-05-02 Thread Anton Vinogradov
Hi, I see that code from stack trace you provided was refactored at 1.9, possible this will fix your issue. On Fri, Apr 21, 2017 at 3:00 PM, Ankit Singhai wrote: > igniteClient.gz > n12149/igniteClient.gz> > server1.gz

Re: BinaryObject

2017-05-03 Thread Anton Vinogradov
Anil, This seems to be fixed at https://issues.apache.org/jira/browse/IGNITE-4891, please check. On Wed, May 3, 2017 at 12:08 PM, Anil wrote: > HI Team, > > Did you get a chance to look into it ? thanks. > > Thanks > > On 2 May 2017 at 11:19, Anil

Re: Cannot start/stop cache within lock or transaction

2017-09-20 Thread Anton Vinogradov
Hi All. I've updated reproducer and provided some investigation results at issue. On Fri, Sep 15, 2017 at 7:12 PM, rajivgandhi wrote: > Hi Yakov, > The test will pass if you comment the line: > "IgniteCache cache3 = >

Re: Ignite node crashes after one query fetches many entries from cache

2017-11-29 Thread Anton Vinogradov
Ray, Seems you're looking for org.apache.ignite.cache.query.SqlFieldsQuery#timeout? On Tue, Nov 28, 2017 at 5:30 PM, Alexey Kukushkin wrote: > Ignite Developers, > > I know community is developing an "Internal Problems Detection" feature >

Re: Correct build process for Ignite

2018-02-21 Thread Anton Vinogradov
Hi, Please use instructions provided at DEVNOTES.txt On Wed, Feb 21, 2018 at 6:37 PM, shikharraje wrote: > Errata: mvn clean in the parent directory works. The other goals fail, > though. > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >

Re: Correct build process for Ignite

2018-02-21 Thread Anton Vinogradov
what maven version you use? On Wed, Feb 21, 2018 at 6:49 PM, shikharraje wrote: > Hi Anton, > > As mentioned in my original mail, I tried the following command from > DEVNOTES.txt: > > mvn clean install -Pall-java,all-scala,licenses -DskipTests > > But that gave the same

Re: Is ID generator split brain compliant?

2018-09-25 Thread Anton Vinogradov
Denis, As far as I understand, question is about IgniteAtomicSequence? We fixed IgniteSet to be persisted and recovered properly. Pavel Pereslegin, Could you please check whether we have the same issue with IgniteAtomicSequence? сб, 22 сент. 2018 г. в 4:17, Denis Magda : > So far, it looks

Re: [ANNOUNCE] Apache Ignite ML Extension 1.0.0 released

2024-01-29 Thread Anton Vinogradov
Great job, Ivan! On Mon, Jan 29, 2024 at 12:02 PM Ivan Daschinsky wrote: > All parsers also have been uploaded to maven central: > > https://central.sonatype.com/artifact/org.apache.ignite/ignite-ml-ext/dependents > > пн, 29 янв. 2024 г. в 12:00, Ivan Daschinsky : > > > The Apache Ignite