delete data error

2018-01-16 Thread Lucky
Hi When delete some data,it got an error. sql = "delete from \"tmpCompanyCuBaseDataCache\".TmpCompanyCuBaseData "; cache.query(new SqlFieldsQuery(sql)) I use jdbc to excute this sql ,it's the same. This table has about 20 records. I had check the data ,and found the data is

Re: ignite c++ client CacheEntryEventFilter has no effect!

2018-01-16 Thread Edward Wu
Yes, my server node is a plain Java node. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: 3rd Party Persistence and two phase commit

2018-01-16 Thread vkulichenko
Aleksey, Are you talking about use case when a transaction spawns a distributed cache AND a local cache? If so, this sounds like a very weird use case. Do we even allow this? -Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: 3rd Party Persistence and two phase commit

2018-01-16 Thread Denis Magda
Guys, let me step in and explain how it works with a 3rd party database like an RDBMS. 1. Write-through mode (all the changes are persisted right away). Transaction coordinator commits a transaction at the RDBMS level first and only *then* commits it at the cluster level. This is actually what

Re: Limit cache size ?

2018-01-16 Thread vkulichenko
Jeff, By default you will have a single data region limited to 80% of physical memory, and all caches will be assigned to this region. -Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cursor in TextQuery - first hasNex() is slow

2018-01-16 Thread vkulichenko
zbyszek, Would you mind creating a Jira ticket that would describe the issue and proposed solution? Even better if you provide a patch for it, sounds like you're bigger expert in Lucene than me :) -Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: How to handle Cache adapter failures?

2018-01-16 Thread vkulichenko
Matt, Can you please clarify what you mean by a custom cache adapter? -Val -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

How to handle Cache adapter failures?

2018-01-16 Thread matt
Hi, Our application has a custom cache adapter, and we'd like to deal with failures when attempting to execute one of the adapter methods (load, deleteAll etc.) - if our application has one centralized node to coordinate a job, how can we detect these failures happening on other nodes? And I guess

Re: Create BinaryObject without starting Ignite?

2018-01-16 Thread zbyszek
Hi Val, thank you for confirmation. >> What is the purpose of this? Purpose of that was to prepare object prototype (object with the same structure layout to ensure the same schema version for all updates) without having access to Ignite. But as it turned out I managed to obtain the reference to

Re: IgniteOutOfMemoryException when using putAll instead of put

2018-01-16 Thread Larry Mark
no problem, this is not a short term blocker, it is just something I need to understand better to make sure that I do not configure things in a way to get unexpected OOM in production. On Mon, Jan 15, 2018 at 1:18 PM, Alexey Popov wrote: > Hi Larry, > > I am without my PC for a while. I will ch

Re: Questions regarding Ignite as hdfs cache

2018-01-16 Thread Evgenii Zhuravlev
Hi, 1) I think you can run Ignite in the non-quiet mode with flag '-v' or even with DEBUG logs, it will definitely show information if it used. Otherwise, you can make some mistake in IGFS configuration and check if it will work. If you will face exceptions, this means that Ignite worked. 2,3,4)

Re: ignite.sh spring xml file secret.properties file not found error

2018-01-16 Thread Ganesh Kumar
I have tried setting CLASSPATH $ echo $CLASSPATH /opt/vdp/ignite/config and also providing the full path of secret.properties in my spring xml file. Still I am getting the same error when I try to start the ignite instance. **code snippet from the xml file : Error : clas

Re: IgniteDataStreamer

2018-01-16 Thread gene
Thank you - going to trying this in a bit. -gene -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Purpose of cache in cache.query(Create Table ...) statement

2018-01-16 Thread Andrey Mashenkov
Hi Seems, you are looking for CacheGroup [1]. You can use same cache group for number of caches [2] via setting additional parameter in 'Create table' query. [1] https://apacheignite.readme.io/docs/cache-groups [2] https://apacheignite-sql.readme.io/docs/create-table On Tue, Jan 16, 2018 at 9:43

Re: Nodes can not join the cluster after reboot

2018-01-16 Thread Evgenii Zhuravlev
Hi, Most possible that on the of the nodes you have hanged transaction/future/lock or even a deadlock, that's why new nodes can't join cluster - they can't perform exchange due to pending operation. Please share full logs from all nodes with thread dumps, it will help to find a root cause. Evgeni

Re: ZooKeeper Based Discovery

2018-01-16 Thread Yakov Zhdanov
Dmitry, there were few threads on dev list discussing new discovery SPI implementation. You can find current code in "ignite-zk" branch. The work is still in progress, but is mostly ready and will be merged to master soon. Documentation and algorithms descriptions are still on TODO list. Stay tune

ZooKeeper Based Discovery

2018-01-16 Thread Kvon, Dmitriy
Hi, 1. What should be in the ZooKeeper node? 2. Will DiscoverySpi watches the ZooKeeper node for changes? Thanks, Dmitriy

Re: ignite c++ client CacheEntryEventFilter has no effect!

2018-01-16 Thread Igor Sapego
Hello. So are your server node is a plain Java node? Best Regards, Igor On Sat, Jan 13, 2018 at 5:46 AM, Edward Wu wrote: > Hello Everyone, I use c++ client library to connect to ignite server node > as > a client node(),then run > continuous-query-example,I find the RangeFilter(RangeFilter : >

Re: Segmentation fault (JVM crash) while memory restoring on start with native persistance

2018-01-16 Thread Arseny Kovalchuk
Hi Andrey. Unfortunately I couldn't copy all data from file system to try reproducing that locally or in our cluster. That was very likely due to some issues with our underlying CEPH behavior, I mean we also got some problems with CEPH in our cluster at the same time, so that might cause data corr