Re: failureDetectionTimeout NotWritablePropertyException

2016-08-25 Thread yucigou
I just thought of the same thing, the version of Spring :-) But thanks very much for the explanation. I'm currently using Spring version 3.1.2.RELEASE. I'll try a newer version of Spring today, and hope it won't break any existing functionalities of the application. -- View this message in con

Re: Spring application context resource is not injected exception while starting ignite in jdbc driver mode

2016-08-25 Thread san
Hi, please let know, If JDBC driver is read only then what is the advantage we are getting. our scenario is 1. Populate cache using 'Automatic Persistence' in server. 2. client will connect to server using JDBC Driver and access the cache using standard sql queries. 3. And we are expecting if v

Re: Ignite with Cassandra

2016-08-25 Thread Igor Rudyak
Could you please provide full definition of key and value classes and xml persistence descriptor you are using for Ignite cache? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-with-Cassandra-tp7242p7331.html Sent from the Apache Ignite Users mailing list

Re: Ignite with Cassandra

2016-08-25 Thread vkulichenko
Hi, 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. yvladimirov wrote > Hello guys! > Can you help me? > I want u

Re: Limit on size of Apache Ignite value stored using Memcache protocol

2016-08-25 Thread vkulichenko
Hi, I reproduced the issue and created a ticket [1]. Someone in the community will pick it up and fix. BTW, contributions are welcome :) [1] https://issues.apache.org/jira/browse/IGNITE-3772 -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Limit-on-size-of

Re: Spring application context resource is not injected exception while starting ignite in jdbc driver mode

2016-08-25 Thread vkulichenko
Hi, This happens because JDBC driver tries to initialize the store. This is needed for regular client nodes, but for the driver this doesn't make much sense. I created a ticket: https://issues.apache.org/jira/browse/IGNITE-3771 -Val -- View this message in context: http://apache-ignite-users.

partitions' balance among ignite nodes

2016-08-25 Thread bluehu
I have test the partitions' balance among ignite nodes, parts=1024, backup=1 I use 32 ignite nodes to test, and found one node have 50 primary partitions(max) but the other only have 21 primary partitions(min), in addition, one node have 83 primary+backup partitions(max) but the other only have 52

Re: failureDetectionTimeout NotWritablePropertyException

2016-08-25 Thread vkulichenko
You config works fine for me. But I noticed that the property accepts primitive long in setter, but returns Long from getter. I guess this could cause issues on older versions of Spring? What version of Spring do you have? Is it the one Ignite depends on? -Val -- View this message in context:

Re: Ignite Cache Update(k,v)

2016-08-25 Thread vkulichenko
Spark RDDs are actually designed to be read-only. Are you sure you need to use IgniteRDD in the first place? Sounds like your use case is bigger than that which probably means that it's better to use IgniteCache API directly. -Val -- View this message in context: http://apache-ignite-users.705

Re: data loss occurred sometimes when configured primary-backups with full_async

2016-08-25 Thread vkulichenko
Hi, 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. seyeon.yoon wrote > i faced a problem newly while i was testi

Re: Near Cache

2016-08-25 Thread vkulichenko
You can search for GridNearCacheEntry or GridNearOffHeapCacheEntry, but that sounds like a very complicated approach indeed :) -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Near-Cache-tp7033p7323.html Sent from the Apache Ignite Users mailing list archive

Re: Re: null exception about EntryProcessor

2016-08-25 Thread vkulichenko
Hi, We use anonymous classes in examples to improve readability of the code. But in real world it's not recommended to use anonymous classes for something that can be serialized, because they capture the reference to enclosing class (this is a recommendation for any Java product, not only Ignite).

Re: SpringTransactionManager - Participating in existing transactions is not supported

2016-08-25 Thread vkulichenko
Hi, Can you show the source of ChainedTransactionManager? What is the use case? As for you fix, we would be happy to review it and accept the contribution. Can you create a ticket with fll description and a pull request? -Val -- View this message in context: http://apache-ignite-users.70518.

Re: DiscoveryMetricsProvider implementation ?

2016-08-25 Thread vkulichenko
Hi Vinay, DiscoveryMetricsProvider is a different beast and it's an internal interface implemented by DiscoveryManager. It's not intended to be provided by user. The abstraction of the store was removed and all the metrics are stored in the local memory now (which is equivalent for GridTcpDiscove

Re: Re: null exception about EntryProcessor

2016-08-25 Thread 胡永亮/Bob
Hi, How to do for static EntryProcessor? I don't understand this clearly. Can you give me some code example? Thanks very much. bob From: Vladislav Pyatkov Date: 2016-08-25 17:09 To: user@ignite.apache.org Subject: Re: Re: null exception about EntryProcessor Hi, I think, so it d

Re: Embedded mode ignite on spark

2016-08-25 Thread vkulichenko
Hi, Sorry I didn't understand the question. Can you please clarify and give more details? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Embedded-mode-ignite-on-spark-tp6942p7318.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Query: Error in Ignite grid | CachePartialUpdateException

2016-08-25 Thread vkulichenko
Hi, Please provide the whole trace. You will find the actual root cause of the issue there. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Query-Error-in-Ignite-grid-CachePartialUpdateException-tp7292p7317.html Sent from the Apache Ignite Users mailing li

Re: Cannot recreate cache after cache.destroy()

2016-08-25 Thread vkulichenko
Hi, Please provide the whole trace. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Cannot-recreate-cache-after-cache-destroy-tp7291p7316.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: IgniteCompute.broadcast() stuck

2016-08-25 Thread vkulichenko
Binti, These are just listener threads for JMX and they are not locking anything. And as I said, I don't see any evidence of blocked compute Actually, I just tried to search for 'Compute', 'broadcast' and other related words in dumps and found nothing which means that nobody is executing any compu

Re: IgniteCompute.broadcast() stuck

2016-08-25 Thread bintisepaha
Also, it looks like a lot of other nodes did not have these TCP threads. Could that be the reason for this issue? server nodes not accepting connections? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/IgniteCompute-broadcast-stuck-tp7255p7314.html Sent from the

Re: IgniteCompute.broadcast() stuck

2016-08-25 Thread bintisepaha
Vlad, Look at this one below in file 2511995.txt "RMI TCP Connection(8)-10.10.11.100" #202 daemon prio=5 os_prio=0 tid=0x7ff050009000 nid=0x2a7a23 in Object.wait() [0x7fef5aef5000] java.lang.Thread.State: TIMED_WAITING (on object monitor) at java.lang.Object.wait(Native Method

DiscoveryMetricsProvider implementation ?

2016-08-25 Thread Vinay B,
Is there a concrete implementation of DiscoveryMetricsProvider available in Ignite. In gridgain, we used *MetricsStore to access various metrics like below. In ignite, this funcatinality has been delegated to DiscoveryMetricsProvider / ClusterMetrics) but I couldn't find an actual implementation t

Re: SpringTransactionManager - Participating in existing transactions is not supported

2016-08-25 Thread nvp152
I tried patching SpringTransactionManager and implement doSetRollbackOnly() and it works for me. Does this look right for a doSetRollbackOnly() impl? If so it probably would make sense to contribute to the main code base: @Override protected void doSetRollbackOnly(DefaultTransactionStatu

Re: failureDetectionTimeout NotWritablePropertyException

2016-08-25 Thread yucigou
It does not help. If I add the following method to IgniteConfiguration.java public IgniteConfiguration setFailureTimeout(long failureDetectionTimeout) { this.failureDetectionTimeout = failureDetectionTimeout; return this; } And change the configuration to: It works. B

Re: IgniteCompute.broadcast() stuck

2016-08-25 Thread Vladislav Pyatkov
Hello, I do not see locks on RMI threads. I think, you gave wrong dump files. Please, could you check files or provide the fragment from the dump where a thread locked? On Wed, Aug 24, 2016 at 11:53 PM, bintisepaha wrote: > Did you see the dumps for RMI threads? We are seeing some RMI TCP > Co

Re: Spring application context resource is not injected exception while starting ignite in jdbc driver mode

2016-08-25 Thread Andrey Gura
Hi, unfortunatelly I can't reproduce this problem. Could you please provide some reproducer? On Thu, Aug 25, 2016 at 7:54 AM, san wrote: > Hi, > > Any update onthis?.. please let know the solution for the same. > > Thanks > > > > -- > View this message in context: http://apache-ignite-users. >

Re: Web Console on Local Machine not working

2016-08-25 Thread Alexey Kuznetsov
It seems that we forget to push changes to ignite-1.7. I will push all changes to master tomorrow and you will be able to start Web Console from master. On Thu, Aug 25, 2016 at 6:50 PM, pawantlor wrote: > I saw your new instructions mentioned on > https://cwiki.apache.org/confluence/display/IGNI

Re: failureDetectionTimeout NotWritablePropertyException

2016-08-25 Thread Vladislav Pyatkov
Hi, I think you need to use value of long directly, like this: On Thu, Aug 25, 2016 at 5:06 PM, yucigou wrote: > Wonder if anyone understands why I get the following error? All I want to > do > is set the failureDetectionTimeout property: > > Aug 25, 2016 2:52:31 PM org.apache.catalina.core.S

failureDetectionTimeout NotWritablePropertyException

2016-08-25 Thread yucigou
Wonder if anyone understands why I get the following error? All I want to do is set the failureDetectionTimeout property: Aug 25, 2016 2:52:31 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class org.apache.igni

Re: How to estimate offHeapMaxMemory?

2016-08-25 Thread Vladislav Pyatkov
Hello, Look at the thread http://apache-ignite-users.70518.x6.nabble.com/Reducing-On-Heap-Cache-Memory-Footprint-td3836.html I just want to add, which property offHeapMaxMemory is set for each node individually. On Thu, Aug 25, 2016 at 4:18 PM, ght230 wrote: > I am trying to do capacity plan.

How to estimate offHeapMaxMemory?

2016-08-25 Thread ght230
I am trying to do capacity plan. I want to know how to set offHeapMaxMemory. For example: The primary data size is 3G, I will save it to 3 nodes(each node in one machine) with Partitioned Mode. And set memoryMode to OFFHEAP_TIERED. If the Backups number is 0, how much size of offHeapMaxMemory sho

Re: Web Console on Local Machine not working

2016-08-25 Thread pawantlor
I saw your new instructions mentioned on https://cwiki.apache.org/confluence/display/IGNITE/Web+Console. I cant see folders backend and frontend in web-console folder. I have git cloned following directory https://github.com/apache/ignite.git -- View this message in context: http://apache

Re: Query: Error in Ignite grid | CachePartialUpdateException

2016-08-25 Thread Vladislav Pyatkov
Hi, I think, need to look cause exception. This piece of stack trace is not enough. Could you please provide whole log? On Thu, Aug 25, 2016 at 10:24 AM, Anmol Rattan wrote: > Hi, > > > > We often get following exception in our logs. Can someone help with root > cause/reason and suggestion to

Spring application context resource is not injected exception while starting ignite in jdbc driver mode

2016-08-25 Thread san
Hi, I am facing an issue while starting ignite in JDBC driver mode. i have my cache in remote node and i need to access using plain sql queries. Hence i am using ignite jdbc driver. please find the code snippet. please find the exception stack trace and complete jdbc driver client xml file. I use

Re: Re: null exception about EntryProcessor

2016-08-25 Thread Vladislav Pyatkov
Hi, I think, so it doesn't always lead to exception, but you need to do it for prevent issues of serialization. Is static EntryProcessor allow to avoid NPE exception in your case? On Thu, Aug 25, 2016 at 3:56 AM, 胡永亮/Bob wrote: > hi Alexey, > This is example from official website. No static Ent

Ignite Cache Update(k,v)

2016-08-25 Thread percent620
Hello, I faced a issue on real business scope. i have deploy my spark job to ignite(embedded integration) , we have saved RDD(key,v) to ignite. But when we have a key updated, we want to only to update this key? how to handle with this situation? Ignite will call saveRDD to call all the RDDS,

Re: asynchronized cache put cause cache get blocked problem

2016-08-25 Thread Vladislav Pyatkov
Hi, Could you please provide thread dump from all server nodes? It will help to determine reasons of hold. On Wed, Aug 24, 2016 at 10:32 AM, Zhengqingzheng wrote: > Hi there, > > When running performance test, our system always blocked at > “GridFutureAdapter.get0”method. > > Here is the log in

Re: Embedded mode ignite on spark

2016-08-25 Thread percent620
I just saw this article, and only have a question 1)how to different ignite with spark embedded integration, ignite with yarn integration? thanks!!! -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Embedded-mode-ignite-on-spark-tp6942p7294.html Sent from the Ap

Query: Error in Ignite grid | CachePartialUpdateException

2016-08-25 Thread Anmol Rattan
Hi, We often get following exception in our logs. Can someone help with root cause/reason and suggestion to fix it. Server is running on 2 nodes, replicated mode with cache having following configurations.