Re: Ignite Events

2018-10-10 Thread Павлухин Иван
Hi drosso, Indeed looks strange. If you provide a reproducer I will take a look. ср, 10 окт. 2018 г. в 16:44, drosso : > Hi, > I've been playing with Ignite events for a couple of days but there's a > behavior of my sample programs that I really can't understand. > I've prepared 2 sample

Re: BufferUnderflowException on GridRedisProtocolParser

2018-10-10 Thread Michael Fong
Hi, The symptom seems very likely to IGNITE-7153, where the default tcp send buffer on that environment happens to be 4096 [root]# cat /proc/sys/net/ipv4/tcp_wmem 4096 Regards, On Thu, Oct 11, 2018 at 10:56 AM Michael Fong wrote: > Hi, > > Thank you for your response. Not to every request; we

Re: Writing binary [] to ignite via memcache binary protocol

2018-10-10 Thread Michael Fong
Hi, We have a libmemcached (C) client to write pure binary[] to Ignite and another Java client to read from it. We suspect Ignite stores it as String(UTF-8), perhaps related IGNITE-7028 - even from the packet dump, the data type is raw bytes (0) As the workaround, we modified the code a bit to

Re: Does Ignite support GPB serialized data

2018-10-10 Thread Michael Fong
Very clear answer. Thank you. On Mon, Oct 8, 2018 at 4:18 PM Ilya Kasnacheev wrote: > Hello! > > Ignite does not have special support for protocol buffers. > > You are welcome to implement Binarylizable or Externalizable interfaces on > your objects to specify serialization for them. > > You

Re: BufferUnderflowException on GridRedisProtocolParser

2018-10-10 Thread Michael Fong
Hi, Thank you for your response. Not to every request; we only see this for some specific ones - when elCnt (4270) > buf.limit (4096). We are trying to narrowing down the data set to find the root cause. Thanks. Regards, On Thu, Oct 11, 2018 at 12:08 AM Ilya Kasnacheev wrote: > Hello! > >

Re: Delay queue or similar?

2018-10-10 Thread matt
Thanks for the feedback, Ilya! In your example, where would the initial "host" in "long time = cache.get(host);" come from? In the case I need to solve for, I would not know what host would be most suitable to make a request to, so would need to continuously loop over all available keys until the

Re: odbc caches - cannot browse

2018-10-10 Thread Igor Sapego
Can you please collect and share logs with us? You can find instructions on how to enable ODBC log for example here: [1] [1] - https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=BGOD_logging_logwin Best Regards, Igor On Wed, Oct 10, 2018 at 5:46 PM wt wrote: > i would

RE: Ignite on Spring Boot 2.0

2018-10-10 Thread Stanislav Lukyanov
Looks like you’re not actually starting Ignite there. You need to either - Provide Ignite configuration path via SpringcacheManager.configurationPath - Provide Ignite configuration bean via SpringcacheManager.configuration - Start Ignite manually in the same JVM prior to the SB app initialization

Re: Ignite on Spring Boot 2.0

2018-10-10 Thread ignite_user2016
Attaching sample project on spring boot 1 in which Spring Cache Manager initialize correctly. sb1-cache-app.7z -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

RE: Partition Loss Policy options

2018-10-10 Thread Stanislav Lukyanov
Oh, sure, you’re right. Turns out it only works this way for in-memory caches, need to fix it for persistence. Filed https://issues.apache.org/jira/browse/IGNITE-9841 for this. Thanks for reporting this! Stan From: Roman Novichenok Sent: 9 октября 2018 г. 22:46 To: user@ignite.apache.org

Re: Ignite as Hibernate L2 Cache

2018-10-10 Thread Ilya Kasnacheev
Hello! I guess you will have to downgrade to 5.1 then. You can fill a ticket against Apache Ignite JIRA so maybe we support 5.2 too in the future. Regards, -- Ilya Kasnacheev ср, 10 окт. 2018 г. в 7:19, Scott Feldstein : > It’s an AbstractMethodError caused since the library isn’t compiled

Re: BufferUnderflowException on GridRedisProtocolParser

2018-10-10 Thread Ilya Kasnacheev
Hello! Do you see this error on every request, or on some specific ones? Regards, -- Ilya Kasnacheev вт, 9 окт. 2018 г. в 15:54, Michael Fong : > Hi, all > > We are evaluating Ignite compatibility with Redis protocol, and we hit an > issue as the following: > Does the stacktrace look a bit

Re: Ignite Persistence Storage : Full data is stored in all activated nodes just local Data?

2018-10-10 Thread Ilya Kasnacheev
Hello! If your cache is REPLICATED then all data is stored on each node, if your cache is PARTITIONED then a subset of data is stored on each node. Please see CacheMode enum. Regards, -- Ilya Kasnacheev вт, 9 окт. 2018 г. в 18:27, ApacheUser : > Hi Team, > How does the data stored when the

Re: BUG - .net decimal type creating ignite table produces double

2018-10-10 Thread Ilya Kasnacheev
Hello! You can try removing work/marshaller subdir from your IGNITE_HOME (typically it is in the binary distribution directory). After restart your types should refresh. Regards, -- Ilya Kasnacheev ср, 10 окт. 2018 г. в 17:14, wt : > okay i think i need to close this- not sure why but

Re: odbc caches - cannot browse

2018-10-10 Thread wt
i would love some guidance on this. i have the 2.6 odbc setup and i can query it in excel 2016 but only if i manually type in the query. Excel won't show any of the tables like you would typically expect odbc connection is not configured to use a specific cache and no security is configured

Re: BUG - .net decimal type creating ignite table produces double

2018-10-10 Thread wt
okay i think i need to close this- not sure why but running it on my local machine produces a double but on a server it is coming as a decimal. Must be an issue of some sort with my local pc so i think we can ignore this. thanks though for getting back to me -- Sent from:

Re: BUG - .net decimal type creating ignite table produces double

2018-10-10 Thread Ilya Kasnacheev
Hello! Can you please show an example of REST request and its response? Regards, -- Ilya Kasnacheev ср, 10 окт. 2018 г. в 16:43, wt : > hi > > i am referring to c# classes that have properties that are decimal types. > If > i create caches with those classes the data type in ignite is

Ignite Events

2018-10-10 Thread drosso
Hi, I've been playing with Ignite events for a couple of days but there's a behavior of my sample programs that I really can't understand. I've prepared 2 sample programs: 1. a Putter program that "gets or creates" a simple cache "MyCache" with an Integer Key and a String Value and puts 9 elements

Re: BUG - .net decimal type creating ignite table produces double

2018-10-10 Thread wt
hi i am referring to c# classes that have properties that are decimal types. If i create caches with those classes the data type in ignite is double. Now admittedly i am interrogating schema information using the rest meta but i would have though that the data types returned are not schema bound

Re: Call to getCache never returns on CLIENT_NODE_RECONNECTED event

2018-10-10 Thread Evgenii Zhuravlev
Hi, Yes, it is a bad idea to do such cache operations in discovery thread and this may lead to the deadlock. You can start a different thread if you want to do these operations. Evgenii ср, 10 окт. 2018 г. в 14:35, DanieleBosetti : > Hi, > > I am trying to implement a mechanism so that clients

Call to getCache never returns on CLIENT_NODE_RECONNECTED event

2018-10-10 Thread DanieleBosetti
Hi, I am trying to implement a mechanism so that clients can recover from a full cluster shutdown. Basically on CLIENT_RECONNECTION, my code closes a QueryCursor and then tries issuing another query. The reconnection handling code is executed by a "disco-event-worker-#..." thread; and when

RE: Is ID generator split brain compliant?

2018-10-10 Thread abatra
Server logs -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

RE: Is ID generator split brain compliant?

2018-10-10 Thread abatra
I did not see any locks related logs. I did set consistent ID to make sure Ignite looks for the same folder on a restart. But it did not work. On docker restart i.e. the ID generator starts generating a sequence from the initial value. I am attaching the ignite logs for server restart in this

Re: Re-deploying a continuous query after all server nodes restart

2018-10-10 Thread Evgenii Zhuravlev
Hi, It may work in some cases, but it shouldn't work in case when client node was disconnected because all the server nodes were down. In this case, when client node will reconnect to the cluster, it will be completely new cluster, that doesn't know anything about old CQs. In this case, you