Re: KARAF 4.6/4.8.Snapshot IgniteAbstractOsgiContextActivator

2016-10-28 Thread devis76
Hi, thank you for your update... These are my step to work with Karaf, i found no alternative to work.. 1) feature:install ignite-core 2) I don't understand because index-osgi was not download (same issue in 3 different Karaf) .. i see your features it's ok mvn:org.apache.ignite/ignite-osgi/1

Re: Service Singleton Callback

2016-10-28 Thread devis76
Thank you for your help -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Service-Singleton-Callback-tp8583p8606.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Using OFF_HEAP_TIERED and Replicated Heap continously grows eventually heap crash

2016-10-28 Thread styriver
I should add we need to run in Replicated mode but as a test I switched to local mode and we did not see the heap increasing as we ran repeated load tests. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Using-OFF-HEAP-TIERED-and-Replicated-Heap-continously-grows

Using OFF_HEAP_TIERED and Replicated Heap continously grows eventually heap crash

2016-10-28 Thread styriver
We have a cache configured as Replicated OFF_HEAP_TIERED and when we execute our load test we watch Heap space grow in JConsole to the point where the application becomes unresponsive when it reaches heap limit. We see no signs in JConsole or Cache Metrics that off heap is growing? Here is our tes

Re: Affinity Collocation

2016-10-28 Thread ght230
If Organization cache mode is Partitioned, We all know that it can save all the Person data with the same OrganizationID in the same node. For example: All Person data with OrganizationID(3) is save in Node(2). But I still want to know, can it ensure the Organization data with the same Organizati

Cache hit rate for Ignite not adding up

2016-10-28 Thread Himetic
I've got a process running ignite with 5 nodes, and a partitioned cache. Checking jconsole for the hit rates and stuff, I see the following: CacheGets: 912287 CacheHits: 142473 CacheMisses: 769814 Size: 27539 CacheRemovals: 0 CacheEvictions: 0 The other hosts have very similar stats. The larges

Re: What happens when backup is set as 1 and cache mode as LOCAL

2016-10-28 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. pmazumdar wrote > I was wondering if we can configure Ignite

Re: BinaryObject pros/cons

2016-10-28 Thread Valentin Kulichenko
Vova, Why do we need to write zeros and nulls in the first place? What's the value of having them in the byte array? -Val On Fri, Oct 28, 2016 at 1:18 AM, Vladimir Ozerov wrote: > Valya, > > Currently null value is written as one byte, while zero value of long type > is written as 9 bytes. I w

Re: aiex webSocket error

2016-10-28 Thread vkulichenko
Hi, Default REST port in Ignite is 8080. Did you change it to 8090 in the configuration? Also you should make sure that ignite-rest-http module is enabled on server nodes. Move IGNITE_HOME/libs/optional/ignite-rest-http folder to IGNITE_HOME/libs prior to startup. -Val -- View this message in

Re: How to run Apache Ignite on localhost only?

2016-10-28 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. landon9720 wrote > In a development environment (multiple no

Re: Service Singleton Callback

2016-10-28 Thread vkulichenko
Hi, There is no callback out of the box. However, you can probably utilize custom events [1] for this. Use IgniteEvents.recordLocal(..) method to fire an event that will indicate that service is started, and then subscribe for this event as described in documentation. The listener will be your cal

Re: dynamic data structure with binaryobject

2016-10-28 Thread vkulichenko
Hi Shawn, Yes, binary format provides direct support for this. You can change the class definition on the client and transparently use the new version. Another option is to use builder [1] to modify the object. [1] https://apacheignite.readme.io/docs/binary-marshaller#modifying-binary-objects-usi

Re: Re: SqlFieldsQuery error when I update ignite version to 1.7.0(it works with 1.6.0)

2016-10-28 Thread vkulichenko
Ignite depends 1.4.191 not 192. You should use 1.4.191 for Ignite queries. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/SqlFieldsQuery-error-when-I-update-ignite-version-to-1-7-0-it-works-with-1-6-0-tp8577p8594.html Sent from the Apache Ignite Users mail

Re: Explicit lock whithin a transaction

2016-10-28 Thread vkulichenko
Hi, You should use PESSIMISTIC, REPEATABLE_READ transaction in this case. It will lock the entry on read. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Explicit-lock-whithin-a-transaction-tp8586p8593.html Sent from the Apache Ignite Users mailing list ar

Re: Does read-through work with replicated caches ?

2016-10-28 Thread vkulichenko
Kristian, Nodes actually become non-functional after segmentation, it's not only about read-through. Having two clusters sharing the same store is also risky - what if they update the same entry with different values, for example? In general case, split-brain is very bad from consistency standpoin

Re: KARAF 4.6/4.8.Snapshot IgniteAbstractOsgiContextActivator

2016-10-28 Thread Sergej Sidorov
Hi! As I know, "Resolved" is right state for fragment bundle. You should not change MANIFEST files in ignite-* libraries. You should build correct MANIFEST.MF in your own bundle. Thanks, Sergej -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/KARAF-4-6-4-8-Snaps

Re: Does read-through work with replicated caches ?

2016-10-28 Thread Kristian Rosenvold
Ok, I understand the bit about the split. So instead of a cluster I now have a bunch of individual nodes all thinking they are the center of the known universe. But why don't they read-through to the database for non-existing data ? (I can understand that the node would avoid read-through for data

Re: Any plan for a book on Apache Ignite

2016-10-28 Thread Manuel Núñez
Good point!! El 28 oct 2016, a las 2:08, Denis Magda mailto:dma...@gridgain.com>> escribió: Prachi, Would you add a reference to this book [1] under "Community"->"Resources" section? It contains useful and valuable information a lot of guys who will start working with Ignite will benefit from

Re: [EXTERNAL] Re: SLF4J AND LOG4J delegation exception with ignite dependency

2016-10-28 Thread Vladislav Pyatkov
Hi, I will not recommend to use spring boot together with Ignite-rest-http, because these both dependencies will start Jetty themselves, as soon Jetty hits on classpath. You need to exclude spring boot or use matching variant for Jetty 9.3. On Thu, Oct 27, 2016 at 10:02 AM, chevy wrote: > Attach

Explicit lock whithin a transaction

2016-10-28 Thread akaptsan
Hi According to https://apacheignite.readme.io/docs/distributed-locks explicit locks are not transactional and cannot not be used from within transactions We use PESSIMISTIC, READ_COMMITTED transactions. Sometimes it's necessary to read an object and explicitly lock it. In SQL database we do it by

Re: IN Query

2016-10-28 Thread Anil
Any inputs please ? On 28 October 2016 at 09:27, Anil wrote: > Hi Val, > > the below one is multiple IN queries with AND but not OR. correct ? > > SqlQuery with join table worked for IN Query and the following prepared > statement is not working. > > List inParameter = new ArrayList<>(); > inPar

Re: PeerClassLoading for Cache Load

2016-10-28 Thread Labard
Thank you for detailed info -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/PeerClassLoading-for-Cache-Load-tp8545p8584.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Service Singleton Callback

2016-10-28 Thread devis76
Hi, i have a OSGI Activator that deploy a service on cluster. What is the best approach to receive a callback when service was execute? I need callback to node that publish Singleton service. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Service-Singleton-Cal

Re: BinaryObject pros/cons

2016-10-28 Thread Vladimir Ozerov
Valya, Currently null value is written as one byte, while zero value of long type is written as 9 bytes. I want to improve that and write zeros as one byte as well. As per var-length encoding, I am strongly against it. It saves IO and memory at the cost of CPU. If we encode numbers in this way we

dynamic data structure with binaryobject

2016-10-28 Thread Shawn Du
Hi experts, I wonder to know the blew scenario is possible in ignite with binaryobject? At first, cache is empty. I put a cache entry with key1 and value with field A. After a while, I put a cache entry with the same key key1 and value with field B, note field A keep the old value. Agai

Re: SqlFieldsQuery error when I update ignite version to 1.7.0(it works with 1.6.0)

2016-10-28 Thread vdpyatkov
Also, yes, Ignite 1.7 depends of h2 1.4, but Ignite 1.6 depends of h2 1.3. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/SqlFieldsQuery-error-when-I-update-ignite-version-to-1-7-0-it-works-with-1-6-0-tp8577p8579.html Sent from the Apache Ignite Users mailing li

Re: SqlFieldsQuery error when I update ignite version to 1.7.0(it works with 1.6.0)

2016-10-28 Thread vdpyatkov
Hi, Please properly subscribe to the user list so that we can see your questions as soon as possible and provide answers on them quicker. All you need to do is send an email to ì user-subscr...@ignite.apache.orgî and follow simple instructions in the reply. Could you please provide full stack of