Re: CacheJdbcPojoStoreFactory met error "Spring application context resource is not injected."

2016-02-29 Thread anovikov
Configuration example: https://apacheignite.readme.io/docs/automatic-persistence#cachejdbcpojostore Possibly, you don't declare "dataSource" bean. -- View this message in context: http://apache-ignite-users.70518

Re: update the sql database after a particular limit?

2016-02-29 Thread Vladimir Ozerov
Ravi, There is no built-in mechanism to automatically retrieve updates from database. I would suggest you to do the following: 1) Configure a cache store (e.g. see CacheJdbcPojoStore). 2) Set flags CacheConfiguration.setReadThrough() and CacheConfigutration.setWriteThrough() to true. 3) Whenever y

Re: storekeepbinary error?

2016-02-29 Thread Vladimir Ozerov
Ravi, Probably you have old Ignite version where there is no such method. Vladimir. On Tue, Mar 1, 2016 at 10:02 AM, Ravi Puri wrote: > > > > how to resolve above error? > > > > -- > View this message in context: > ht

storekeepbinary error?

2016-02-29 Thread Ravi Puri
how to resolve above error? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/storekeepbinary-error-tp3284.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: QueryCursor entry does not return "versioned" cache entry.

2016-02-29 Thread Vladimir Ozerov
Hi, Can you please properly subscribe to the mailing list so that the community receives email notifications? Please follow this instruction: http://apache-ignite-users.70518.x6.nabble.com/mailing_list/MailingListOptions.jtp?forum=1 Queries are not transactional, so you cannot update entries retu

About fetch cache data's question

2016-02-29 Thread 上帝已死
I have 3 ignite instance in 3 tomcat.The cache mode is Replicated.If one of them's ignite instance stoped, will it fetch data from other 2 ingnite instance?The following is my configuration: -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/About-fetch-cache-data-

Re: About fetch cache data's question

2016-02-29 Thread Vladimir Ozerov
If you stop one Tomcat/Ignite instance, then all data will be available still on remaining two instances. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/About-fetch-cache-data-s-question-tp3281p3282.html Sent from the Apache Ignite Users mailing list archive at

Re: How to start ignite instance when tomcat start?

2016-02-29 Thread 上帝已死
I had solved this problem with Spring Bean. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-to-start-ignite-instance-when-tomcat-start-tp3278p3280.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: update the sql database after a particular limit?

2016-02-29 Thread Ravi Puri
Suppose i have a employee data and its login time . I want to fetch the data from database and store it in cache and everytime i login if its changes in database then i want to reflect back in cache too. As i want my code to work consistently with cache data rather than database ?? please suggest

How to start ignite instance when tomcat start?

2016-02-29 Thread 上帝已死
Ignite start cost me almost 1 minute.So I try to start ignite instance when tomcat start.But the following code didn't work. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-to-start-ignite-instance-when-tomcat-start-tp3278.html Sent from the Apache Ignite U

Re: If Apache Ignite's cacheMode is REPLACATED, there will be a delay?

2016-02-29 Thread 上帝已死
Sorry, It's my mac's(192.168.2.232.) problem. I change a PC is OK -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/If-Apache-Ignite-s-cacheMode-is-REPLACATED-there-will-be-a-delay-tp3195p3277.html Sent from the Apache Ignite Users mailing list archive at Nabble.co

Re: If Apache Ignite's cacheMode is REPLACATED, there will be a delay?

2016-02-29 Thread 上帝已死
-- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/If-Apache-Ignite-s-cacheMode-is-REPLACATED-there-will-be-a-delay-tp3195p3276.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: If Apache Ignite's cacheMode is REPLACATED, there will be a delay?

2016-02-29 Thread 上帝已死
Sorry, I'am chinese.My English is not good.

Re: Control cache datanodes in an ignite cluster

2016-02-29 Thread vkulichenko
Hi Manish, This is not possible. A node can be added to the existing cache topology only on startup. To achieve the behavior you described, you can start a new node with both caches and stop one of the old ones. Will this work for you? -Val -- View this message in context: http://apache-ignit

答复: How can I only get the local data(Internet mail)

2016-02-29 Thread 洪利平
thank you, and you means that use Query.setLocal(true) can achieve this goal ? 发件人: Dmitriy Setrakyan [mailto:dsetrak...@apache.org] 发送时间: 2016年3月1日 5:30 收件人: user 主题: Re: How can I only get the local data(Internet mail) I think the answer is to use Query.setLocal(true) flag which will return co

答复: How can I only get the local data(Internet mail)

2016-02-29 Thread 洪利平
thank you for your response, I use the “ignite.compute().broadcast()” because I hope to execute some other operation in the data in each server node, for example, Seeking maximum , if we can execute in each server node, then the server node will not return all data but only the maximum data.

Re: "Failed to send message"

2016-02-29 Thread vkulichenko
Paolo, >From what I see in the code, it can be even a client node (you can check by the ID, btw). Task topology is defined by a cluster group that is used to get IgniteCompute. By default it's all server nodes. In any case, this is just a debug message and if job stealing works for you as expecte

Re: Control cache datanodes in an ignite cluster

2016-02-29 Thread Manishag
Thanks Val. This is really helpful. One last issue I have is that there is a possibility that I might want to add an existing ignite node hosting a cache say cache1 to cache2 as well. The problem is how do I tell ignite to force repartitioning so that it calls the node filter and adds this node. Th

Re: "Failed to send message"

2016-02-29 Thread Paolo Di Tommaso
Val, I guess I'm missing something but I was expecting that having a two nodes cluster, one should still the waiting tasks from the other. What is defining the task topology or how to control it? Cheers, Paolo On Mon, Feb 29, 2016 at 11:02 PM, vkulichenko wrote: > Paolo, > > This is not an e

Re: Race condition in IgniteScheduler.nextExecutionTime()

2016-02-29 Thread vkulichenko
Hi Steve, I looked at the code and don't see such a race there. But I noticed that nextExecutionTime() uses U.currentTimeMillis() as start time, which looks suspicious. Do you have a test that reproduces the issue? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabb

Re: "Failed to send message"

2016-02-29 Thread vkulichenko
Paolo, This is not an error. This is a debug message which means that there is a node in topology (thief candidate) which is not in task topology - this is absolutely legal situation. Does it break something for you? -Val -- View this message in context: http://apache-ignite-users.70518.x6.na

Re: A Question About Behavior

2016-02-29 Thread vkulichenko
Kevin, Got it. I will try to reproduce it myself as well. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/A-Question-About-Behavior-tp3235p3264.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: If Apache Ignite's cacheMode is REPLACATED, there will be a delay?

2016-02-29 Thread vkulichenko
Hi, Please subscribe to the mailing list according to this instruction: http://apache-ignite-users.70518.x6.nabble.com/mailing_list/MailingListOptions.jtp?forum=1. Otherwise community doesn't receive notifications about your messages. 上帝已死 wrote > If I have 3 server, how to start the ignite (Ign

Re: How can I only get the local data

2016-02-29 Thread Dmitriy Setrakyan
I think the answer is to use Query.setLocal(true) flag which will return correct results on the stable topology. The issue with changing topology is being addressed right now and should become part of the next release. D. On Mon, Feb 29, 2016 at 3:11 AM, Denis Magda wrote: > Hi, > > Presently t

Race condition in IgniteScheduler.nextExecutionTime()

2016-02-29 Thread Steve Scheck
It seems there is a race condition between the IgniteScheduler scheduleLocal() and nextExecutionTime() methods, so that nextExecutionTime() sometimes reports the current execution time when called from with the closure being executed by scheduleLocal() - my hypothesis is that the data structures

Re: Version issue with concurrent cache updates (EntryProcessor)

2016-02-29 Thread Myron Chelyada
Alexey, For now, I've only figured out that problem is on node that is joining the grid and with records/keys for which it becomes primary. Also I tried different rebalance modes but with no luck. But now I can confirm that "cacheStore" makes no impact on that (tried to disable cacheStore and resu

Re: NoSuchMethod Error

2016-02-29 Thread jitesh dundas
HI Vladimir, I will surely check that out. Thanks & Regards, Jitesh Dundas Phone - 732-357-6292 On Mon, Feb 29, 2016 at 8:14 AM, Vladimir Ozerov wrote: > Hi Jitesh, > > It looks like you should try configuring Resin classloading somehow so > that your application JARs are picked first. Nor

Re: "Failed to send message"

2016-02-29 Thread Paolo Di Tommaso
Hi Valentin, It looks the problem was the OSX firewall. I've disabled it and the exception is not raised any more. However I'm still still struggling with a strange communication error. I'm testing the JobStealingCollisionSpi, with two nodes in the same machine. I'm executing three jobs having s

Re: Semaphore waiting for permit even if node is shut down

2016-02-29 Thread nyname00
Vladimir, in my original tests I used two nodes, one owning the permit and the second one waiting in acqire(). I then used a poison-pill (using a client and from a separate JVM) to shutdown both nodes at the same time (similar to the solution posted here: http://apache-ignite-users.70518.x6.nabble

Re: 答复: How can I only get the local data

2016-02-29 Thread Denis Magda
> but I will use the “ignite.compute().broadcast()” method to get all data(for example, aggregate in server node) There is no sense to use compute.broadcast() and local query at all because SQL engine does this properly for you out of the box. So in such a case just execute query and all the n

Re: update the sql database after a particular limit?

2016-02-29 Thread Vladimir Ozerov
Ravi, What do you mean by "update the sql database"? If you configured a store and enabled write-through mode, database will be updated as soon as corresponding cached entry is changed. Vladimir. On Mon, Feb 29, 2016 at 2:54 PM, Ravi Puri wrote: > How to update the sql database using cache aft

Re: IgniteCache: How to receive Load Re-balance notifications?

2016-02-29 Thread Vladimir Ozerov
Kamal, You should enable these event type in configuration. See IgniteConfiguration.setIncludeEventTypes(int ...) method. Vladimir. On Mon, Feb 29, 2016 at 12:00 PM, Kamal C wrote: > Hi, > > I have a replicated ignite cache with 3 nodes. I want to listen for > data rebalance notifications

Re: Semaphore waiting for permit even if node is shut down

2016-02-29 Thread Vladimir Ozerov
Hi, I tested your code in multi-node scenario, and semaphore is released fine when node owning a permit has been closed. In your code sample there is only one node, and in this case semaphore is not released. I think that "acquire" method should throw an exception in this case (say, InterruptedExc

Re: NoSuchMethod Error

2016-02-29 Thread Vladimir Ozerov
Hi Jitesh, It looks like you should try configuring Resin classloading somehow so that your application JARs are picked first. Normally application servers should support this option. Did you have a chance to investigate it? E.g. see "servlet-hack" property: http://www.caucho.com/resin-4.0/admin/a

Re: A Question About Behavior

2016-02-29 Thread Kevin Daly
I think this is a bug.. I have meetings most of today.. I will definitely get you a code Sample.. copyOnRead is set to true. Will work around it and try to get you code examples later today.. Basically this is easy to re-produce though, all you have to do is do a query and pull an object out of

update the sql database after a particular limit?

2016-02-29 Thread Ravi Puri
How to update the sql database using cache after a particular time interval?? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/update-the-sql-database-after-a-particular-limit-tp3250.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

答复: How can I only get the local data

2016-02-29 Thread 洪利平
Yes, You are right, but I will use the “ignite.compute().broadcast()” method to get all data(for example, aggregate in server node), so I want to know that set Query.setLocal to "true" can solute this problem ( Get data only from local node) ? Or, Is there another method to use “select * from

unsubscribe

2016-02-29 Thread jaroslav.saxa
unsubscribe Jaroslav Saxa Accenture - Technology Architecture Plynarenska 7/C, 829 01 Bratislava Mobile: +421-904-706113 Email: jaroslav.s...@accenture.com This message is for the designated recipient only and may contain priv

unsubscribe

2016-02-29 Thread Dor Ben Dov
unsubscribe This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at http://www.amdocs.com/email_disclaimer.asp

Re: How can I only get the local data

2016-02-29 Thread Denis Magda
Hi, Presently there is no a reliable way to execute a SQL query over local collocated data. Even if you set Query.setLocal to "true" there is a chance that you will get incomplete result set if re-partitioning happened at some point of the query execution. However, it's planned to support th

Re: Local machine won't connect to grid

2016-02-29 Thread Yakov Zhdanov
This is not a crash, but rather a warning that some unknown process tries to connect to node. Node should be fully functional. Can you please try establishing telnet connection from home laptop to droplet? --Yakov 2016-02-27 3:35 GMT+03:00 szabkel : > I can ping the droplets from home (and also

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

2016-02-29 Thread Yakov Zhdanov
Vlad, that's great! I will take a look this week. Reassigning ticket to myself. --Yakov 2016-02-26 18:37 GMT+03:00 Vladisav Jelisavcic : > Hi, > > i recently implemented distributed ReentrantLock - IGNITE-642, > i made a pull request, so hopefully this could be added to the next > release. > > B

IgniteCache: How to receive Load Re-balance notifications?

2016-02-29 Thread Kamal C
Hi, I have a replicated ignite cache with 3 nodes. I want to listen for data rebalance notifications in all the nodes whenever a new node joined / left the cluster. Using Ignite Events, I'd tried to register for cache re-balance notifications. But, I'm unable to receive any notifications. Ca