Re: Issue with peerclassloading when using dataStreamers

2019-05-20 Thread Ilya Kasnacheev
e a > need to do an 'upsertion' to the data being ingested, therefore I'm using > streamReceiver too. > > See attached java class and log snippet. When we run the code calling > addData on the datastreamer after a while, we start seeing exceptions being > thrown. But this d

Issue with peerclassloading when using dataStreamers

2019-05-09 Thread Abhishek Gupta (BLOOMBERG/ 731 LEX)
r after a while, we start seeing exceptions being thrown. But this doesn't happen always. I.e. Peerclassloading seems to work at times and not at others with no code change. It seems like there is a race. Any suggestions on what might be happening or is there a better, more reliable way

Re: ScanQuery throwing Exception for java Thin client while peerclassloading is enabled

2018-09-20 Thread Ilya Kasnacheev
Hello! Not unless you have value class on server nodes. If you don't have value class available (or key for that matter) you are restricted ro BinaryObject's. Regards, -- Ilya Kasnacheev ср, 19 сент. 2018 г. в 10:26, Saby : > Hi Ilya, > Thanks for your response, yes I had tried with withKeepB

Re: ScanQuery throwing Exception for java Thin client while peerclassloading is enabled

2018-09-19 Thread Saby
Hi Ilya, Thanks for your response, yes I had tried with withKeepBinary() option. If I call with withKeepBinary() option then there no deserialization related exception is coming but the returned entries are being wrapped to 'BinaryObjectImpl' and hence getting ClassCastException. Is there any optio

Re: ScanQuery throwing Exception for java Thin client while peerclassloading is enabled

2018-09-18 Thread Ilya Kasnacheev
Hello! Have you tried to do cache.withKeepBinary().query(yourScanQuery)? This will avoid demarshalling of binary objects in predicate. Regards, -- Ilya Kasnacheev вт, 18 сент. 2018 г. в 13:29, Saby : > Hi Ilya, > I tested it with nightly build of 17/09/2018(ver. > 2.7.0.20180917#19700101-sha1

Re: ScanQuery throwing Exception for java Thin client while peerclassloading is enabled

2018-09-18 Thread Saby
Hi Ilya, I tested it with nightly build of 17/09/2018(ver. 2.7.0.20180917#19700101-sha1:DEV), but getting the same exception. Getting the following exception while trying to fetch the data from cache using ScanQuery from Java Thin client, but SqlQuery giving the correct result. ScanQuery exceptin

Re: Question about Caching, Console, and PeerClassLoading

2018-09-14 Thread Ilya Kasnacheev
, -- Ilya Kasnacheev пт, 14 сент. 2018 г. в 6:53, KJQ : > I have a question about how Caching, the Web Console, and Peer ClassLoading > work... > > I have 2 nodes, both with PeerClassLoading enabled, and the web console > started. From the caching side, it appears everything i

Question about Caching, Console, and PeerClassLoading

2018-09-13 Thread KJQ
I have a question about how Caching, the Web Console, and Peer ClassLoading work... I have 2 nodes, both with PeerClassLoading enabled, and the web console started. From the caching side, it appears everything is working as it should (without peer class loading I seemed to get intermittent

Re: ScanQuery throwing Exception for java Thin client while peerclassloading is enabled

2018-09-03 Thread Ilya Kasnacheev
Hello! It's not resolved so it's not in Nightly yet! Please check again once it is in Resolved state. Regards, -- Ilya Kasnacheev пн, 3 сент. 2018 г. в 14:25, Saby : > Hi Ilya, > Thanks for your response. > Is the fix included in the Nightly build? I took the nightly build of 3rt > Sep, but i

Re: ScanQuery throwing Exception for java Thin client while peerclassloading is enabled

2018-09-03 Thread Saby
Hi Ilya, Thanks for your response. Is the fix included in the Nightly build? I took the nightly build of 3rt Sep, but it didn't work. It(ScanQuery) is still expecting all the pojos and predicate classes in the Server lib when trying to fetch the data using Thin client. [16:50:15,180][SEVERE][clie

Re: ScanQuery throwing Exception for java Thin client while peerclassloading is enabled

2018-08-30 Thread Ilya Kasnacheev
e >> server side. >> P2P class loading works only for regular nodes, server or client as well. >> >> Denis >> >> чт, 30 авг. 2018 г. в 9:14, Saby : >> >>> ScanQuery is reporting the following exception while trying to fetch the >>> data >

Re: ScanQuery throwing Exception for java Thin client while peerclassloading is enabled

2018-08-30 Thread Serty J
etch the >> data >> from remote Ignite Server through the Java thing client keeping the >> peerClassLoading is enabled, But SqlQuery is fetching the correct result >> and >> is sending it back to the client. >> If Lamda expression is used as filter in the Sca

Re: ScanQuery throwing Exception for java Thin client while peerclassloading is enabled

2018-08-30 Thread Denis Mekhanikov
ollowing exception while trying to fetch the > data > from remote Ignite Server through the Java thing client keeping the > peerClassLoading is enabled, But SqlQuery is fetching the correct result > and > is sending it back to the client. > If Lamda expression is used as filter in the Sc

ScanQuery throwing Exception for java Thin client while peerclassloading is enabled

2018-08-29 Thread Saby
ScanQuery is reporting the following exception while trying to fetch the data from remote Ignite Server through the Java thing client keeping the peerClassLoading is enabled, But SqlQuery is fetching the correct result and is sending it back to the client. If Lamda expression is used as filter in

Re: peerclassloading property to true while we are loading data with persistence property set to true?

2018-03-23 Thread Вячеслав Коптилин
Perhaps, this page will be useful as well https://apacheignite.readme.io/docs/cluster-activation Thanks! 2018-03-23 17:37 GMT+03:00 Вячеслав Коптилин : > Hi Teja, > > > Is it mandatory to set peerclassloading property to true while we are > loading data with persistence prope

Re: peerclassloading property to true while we are loading data with persistence property set to true?

2018-03-23 Thread Вячеслав Коптилин
Hi Teja, > Is it mandatory to set peerclassloading property to true while we are loading data with persistence property set to true? Peer class loading property is not mandatory. This feature relates to Compute Grid https://apacheignite.readme.io/docs/compute-grid Please check this page for

peerclassloading property to true while we are loading data with persistence property set to true?

2018-03-23 Thread Teja
Is it mandatory to set peerclassloading property to true while we are loading data with persistence property set to true? Every time when we are loading the data to ignite cache with persistence enabled, should we need to activate the cluster as shown below? ignite.active(true); -- Sent

Re: PeerClassLoading example using cacheLoaders

2017-08-17 Thread Razmik Mkrtchyan
ate.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >> > > > -- > View this message in context: Re: PeerClassLoading example using > cacheLoaders > <http://apache-ignite-users.70518.x6.nabble.com/PeerClassLoading-example-using-cacheLoaders-tp16136p16177.html> > Sent from the Apache Ignite Users mailing list archive > <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com. >

Re: PeerClassLoading example using cacheLoaders

2017-08-14 Thread afedotov
added to the discussion > below: > http://apache-ignite-users.70518.x6.nabble.com/PeerClassLoading-example- > using-cacheLoaders-tp16136p16149.html > To start a new topic under Apache Ignite Users, email > ml+s70518n1...@n6.nabble.com > To unsubscribe from Apache Ignite Users, cl

Re: PeerClassLoading example using cacheLoaders

2017-08-11 Thread daniels
ds do putIfAbsent but in my code ? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/PeerClassLoading-example-using-cacheLoaders-tp16136p16149.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: PeerClassLoading example using cacheLoaders

2017-08-11 Thread vkulichenko
tom one in the first place. [1] https://apacheignite.readme.io/docs/3rd-party-store#cachejdbcpojostore [2] https://apacheignite.readme.io/docs/3rd-party-store#cassandra-cache-store -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/PeerClassLoading-exa

Re: PeerClassLoading example using cacheLoaders

2017-08-11 Thread daniels
-- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/PeerClassLoading-example-using-cacheLoaders-tp16136p16139.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: PeerClassLoading example using cacheLoaders

2017-08-11 Thread afedotov
added to the discussion > below: > http://apache-ignite-users.70518.x6.nabble.com/PeerClassLoading-example- > using-cacheLoaders-tp16136.html > To start a new topic under Apache Ignite Users, email > ml+s70518n1...@n6.nabble.com > To unsubscribe from Apache Ignite Users, click here

PeerClassLoading example using cacheLoaders

2017-08-11 Thread daniels
licyFactory(EternalExpiryPolicy.factoryOf())) -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/PeerClassLoading-example-using-cacheLoaders-tp16136.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Understanding peerclassloading

2017-06-16 Thread Helge Waastad
w > > > > > > > > to., 15.06.2017 kl. 05.21 -0700, skrev afedotov: > > > > > > Hi, please share the full log containing the error. > > > Which version of Ignite do you use? > > > It's not reproducible on my side. > > > &g

Re: Understanding peerclassloading

2017-06-16 Thread Helge Waastad
; > > Kind regards, > > Alex. > > > > On Thu, Jun 15, 2017 at 2:46 PM, Helge Waastad [via Apache Ignite > > Users] <[hidden email]> wrote: > > > Hi, and thx for answering.  > > > peerclassloading is enabled on both server and clien

Re: Understanding peerclassloading

2017-06-15 Thread Helge Waastad
l]> wrote: > > Hi, and thx for answering.  > > peerclassloading is enabled on both server and client.  > > > > My trouble is the understanding of the reason why  > > cache.put(key,arraylist) will not work (not trigger class loading) > > but  > &g

Re: Understanding peerclassloading

2017-06-15 Thread afedotov
for answering. > peerclassloading is enabled on both server and client. > > My trouble is the understanding of the reason why > cache.put(key,arraylist) will not work (not trigger class loading) but > cache.put(key,Arrays.aslist(arraylist.toArray())) will. > > /hw > > to., 1

Re: Understanding peerclassloading

2017-06-15 Thread Helge Waastad
Hi, and thx for answering. peerclassloading is enabled on both server and client. My trouble is the understanding of the reason why cache.put(key,arraylist) will not work (not trigger class loading) but cache.put(key,Arrays.aslist(arraylist.toArray())) will. /hw to., 15.06.2017 kl. 03.22 -0700

Re: Understanding peerclassloading

2017-06-15 Thread afedotov
regards, Alex. On Thu, Jun 15, 2017 at 10:42 AM, Helge Waastad [via Apache Ignite Users] < ml+s70518n13805...@n6.nabble.com> wrote: > Hi, > I'm pretty new to the Apache Ignite. > I'm working with peerclassloading and need to understand a couple of thing. > > Scenario: >

Understanding peerclassloading

2017-06-15 Thread Helge Waastad
Hi, I'm pretty new to the Apache Ignite. I'm working with peerclassloading and need to understand a couple of thing. Scenario: 1x server and 1x client Cache: CacheConfiguration cc = new CacheConfiguration<>("my- cache"); Code creating classnotfound: FluidGridIte

Re: peerClassLoading

2016-12-07 Thread Denis Magda
Hi Alisher, A node filter must be added to the classpath of all the nodes regardless of the fact whether you’re going to deploy a service there or not. Please refer to this documentation section for more details https://apacheignite.readme.io/docs/service-grid#deployment-management

peerClassLoading

2016-12-07 Thread Alisher Alimov
Hello! I have got a problem. I have 3 ignite (1.7 ver) nodes in the test cluster. On one of them placed ignite server with NodeFilter class that is locally available but I can’t deploy service “km.service” with provided NodeFilter into the cluster (when number of ignite service > 2) ClassNotF

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.

Re: PeerClassLoading for Cache Load

2016-10-27 Thread vkulichenko
saved in cache Ignite uses binary format, so these are not required to be deployed on server classpath at all. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/PeerClassLoading-for-Cache-Load-tp8545p8565.html Sent from the Apache Ignite Users mailing list

Re: PeerClassLoading for Cache Load

2016-10-27 Thread Sergej Sidorov
Hi Labard! Yes, you can use peerClassLoading for that. The peerClassLoading feature should be enabled on all nodes in the cluster. For more information check [1]. [1] http://apacheignite.gridgain.org/docs/zero-deployment Thanks, Sergej -- View this message in context: http://apache-ignite

PeerClassLoading for Cache Load

2016-10-27 Thread Labard
Hi. I want to use peerClassLoading for cacheConfig. I have empty config on servers nodes, and different configs with few caches and Persistent Store Adapters on few client nodes. I work with all nodes in one cluster. Can I use peerClassLoading instead of deploying all cache and adapters classes on

Re: The 3rd node will fail to join the cluster, if peerClassLoading is enable on CQ situation.

2016-08-08 Thread vkulichenko
-peerClassLoading-is-enable-on-CQ-situation-tp6700p6858.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: The 3rd node will fail to join the cluster, if peerClassLoading is enable on CQ situation.

2016-08-07 Thread Lin
Hi all, Is it a bug? Maybe I can submit a ticket. -- Original -- From: "Lin";; Date: Wed, Aug 3, 2016 04:21 PM To: "user"; Subject: Re: The 3rd node will fail to join the cluster, if peerClassLoading is enable on CQ situation. I

Re: The 3rd node will fail to join the cluster, if peerClassLoading is enable on CQ situation.

2016-08-03 Thread Lin
I also tested another case with changing the 3rd node from a simple client to a simple server(run the IgniteServer again), the problem is the same. All the 3rd node are failed to get the remote filter from the remoteFilterFactory as it is null value, but the remoteFilterFactoryDep is not null,

The 3rd node will fail to join the cluster, if peerClassLoading is enable on CQ situation.

2016-08-03 Thread Lin
Hi all, I have met a problem when using continuous query with remote filter if p2p class loading is enabled. I have pasted the testing code in gist https://gist.github.com/jackeylu/edf600b66273d17db0438065ae362934 , and you can reproduce it with the follow operations, 1. start an Ignite serv

Re: Distributed queue problem with peerClassLoading enabled

2016-02-24 Thread Denis Magda
ied in http://apache-ignite-users.70518.x6.nabble.com/Distributed-queue-problem-with-peerClassLoading-enabled-tp1762p1780.html In 1.4.0 it works as follows: 1. A server node is started. 2. Client node (which acts as a server as well) is started, creates a queue, fills it with 100 tasks, and both

Re: Distributed queue problem with peerClassLoading enabled

2016-02-17 Thread mp
form before > execution. This will lead to ClassNotFoundExceptions in your case. > No, I'm not filling the queue with different class versions. My test case is quite simple. Please check the original description specified in http://apache-ignite-users.70518.x6.nabble.com/Distributed-queue-problem-with-peerCla

Re: Distributed queue problem with peerClassLoading enabled

2016-02-16 Thread Denis Magda
only with SHARED and CONTINUOUS deployment modes (this was announced by Dmitriy in http://apache-ignite-users.70518.x6.nabble.com/Distributed-queue-problem-with-peerClassLoading-enabled-tp1762p1829.html ) Is there any chance the above use case will be pos

Re: Distributed queue problem with peerClassLoading enabled

2016-02-16 Thread mp
the same class (from different clients) running on >> the cluster at the same time? >> >> As far as I understand this involves: >> 1. https://issues.apache.org/jira/browse/IGNITE-1823 >> 2. https://issues.apache.org/jira/browse/IGNITE-2339 >> 3. Removing the require

Re: Distributed queue problem with peerClassLoading enabled

2016-02-12 Thread Denis Magda
is was announced by Dmitriy in http://apache-ignite-users.70518.x6.nabble.com/Distributed-queue-problem-with-peerClassLoading-enabled-tp1762p1829.html ) Is there any chance the above use case will be possible in near future (any upcoming version)? I really like the API and co

Re: Distributed queue problem with peerClassLoading enabled

2016-02-12 Thread mp
uirement for caches to work only with SHARED and > CONTINUOUS deployment modes (this was announced by Dmitriy in > http://apache-ignite-users.70518.x6.nabble.com/Distributed-queue-problem-with-peerClassLoading-enabled-tp1762p1829.html > ) > > Is there any chance the above use case wil

Re: Distributed queue problem with peerClassLoading enabled

2016-02-10 Thread Denis Magda
s.70518.x6.nabble.com/Distributed-queue-problem-with-peerClassLoading-enabled-tp1762p1829.html ) Is there any chance the above use case will be possible in near future (any upcoming version)? I really like the API and concept of Ignite. If only I could achieve the above scenario... Cheers, -Mat

Re: Distributed queue problem with peerClassLoading enabled

2016-02-10 Thread mp
.nabble.com/Distributed-queue-problem-with-peerClassLoading-enabled-tp1762p1829.html ) Is there any chance the above use case will be possible in near future (any upcoming version)? I really like the API and concept of Ignite. If only I could achieve the above scenario... Cheers, -Mateusz On Thu

Re: Distributed queue problem with peerClassLoading enabled

2016-01-07 Thread mp
Hello Denis, Thanks a lot for your reply! Concerning point 2: does it mean that "peerClassLoading" simply does not work in 1.5? It used to work (partially) in 1.4 (details described earlier in the message thread). Cheers, -Mateusz On Thu, Jan 7, 2016 at 1:38 PM, Denis Magda wr

Re: Distributed queue problem with peerClassLoading enabled

2016-01-07 Thread Denis Magda
che-ignite-developers.2346864.n4.nabble.com/Fwd-Distributed-queue-problem-with-peerClassLoading-enabled-tp4521p6440.html 2. When I run my simple test code in the default SHARED mode (the same as specified in https://issues.apache.org/jira/browse/IGNITE-1823 jira issue), I still get an error. However

Re: Distributed queue problem with peerClassLoading enabled

2015-11-04 Thread Dmitriy Setrakyan
be able to use PRIVATE or > ISLOLATED mode (where distributed cache will work, making IgniteQueue > usable), and in such modes "true" peerClassLoading will also work (ie, > different versions of the same class from different client nodes at the > same time). If that is

Re: Distributed queue problem with peerClassLoading enabled

2015-11-04 Thread mp
that in Ignite 1.5 it *will* be possible to use distributed cache in both PRIVATE and ISOLATED modes. Am I right? If this is correct, I assume that I will be able to use PRIVATE or ISLOLATED mode (where distributed cache will work, making IgniteQueue usable), and in such modes "true" peerClass

Re: Distributed queue problem with peerClassLoading enabled

2015-11-04 Thread Denis Magda
to use IgniteQueue in your tests because, yes, neither PRIVATE nor ISOLATED modes are supported for user caches. -- Denis -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Distribut

Re: Distributed queue problem with peerClassLoading enabled

2015-11-04 Thread mp
fer to DeploymentMode documentation for more info on different mode >>> types. >>> >>> Do you really need to use IgniteQueue in your tests because, yes, neither >>> PRIVATE nor ISOLATED modes are supported for user caches. >>> >>> -- >>> Denis >>> >>> >>> >>> -- >>> View this message in context: >>> http://apache-ignite-users.70518.x6.nabble.com/Distributed-queue-problem-with-peerClassLoading-enabled-tp1762p1820.html >>> Sent from the Apache Ignite Users mailing list archive at Nabble.com. >>> >> >> >

Re: Distributed queue problem with peerClassLoading enabled

2015-11-03 Thread Dmitriy Setrakyan
yes, neither >> PRIVATE nor ISOLATED modes are supported for user caches. >> >> -- >> Denis >> >> >> >> -- >> View this message in context: >> http://apache-ignite-users.70518.x6.nabble.com/Distributed-queue-problem-with-peerClassLoading-enabled-tp1762p1820.html >> Sent from the Apache Ignite Users mailing list archive at Nabble.com. >> > >

Re: Distributed queue problem with peerClassLoading enabled

2015-11-03 Thread Denis Magda
-- Denis -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Distributed-queue-problem-with-peerClassLoading-enabled-tp1762p1820.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Distributed queue problem with peerClassLoading enabled

2015-11-03 Thread mp
ported for user caches. > > -- > Denis > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/Distributed-queue-problem-with-peerClassLoading-enabled-tp1762p1820.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. >

Re: Distributed queue problem with peerClassLoading enabled

2015-11-03 Thread Denis Magda
fo on different mode types. Do you really need to use IgniteQueue in your tests because, yes, neither PRIVATE nor ISOLATED modes are supported for user caches. -- Denis -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Distributed-queue-problem-with-peerClassLo

Re: Distributed queue problem with peerClassLoading enabled

2015-11-02 Thread mp
Hi Denis, I tried PRIVATE deployment mode but either I'm doing something wrong or distributed cache is not supported for this (and ISOLATED) mode. Is that so? When queue creation method is called, ie, the line: IgniteQueue queue = ignite.queue("myTaskQueue", 0, new CollectionConfiguration()

Re: Distributed queue problem with peerClassLoading enabled

2015-11-02 Thread Denis Magda
http://apache-ignite-users.70518.x6.nabble.com/Distributed-queue-problem-with-peerClassLoading-enabled-tp1762p1809.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Distributed queue problem with peerClassLoading enabled

2015-11-02 Thread mp
nment): I'd like the developers to be able to quickly verify/test their custom ad-hoc code on CPU-intensive computations (for this I can dedicate a couple of powerful multi-core, huge RAM machines). Therefore I assume that peerClassLoading is a must. I just want their modified/new classes to be i

Re: Distributed queue problem with peerClassLoading enabled

2015-10-30 Thread Artem Shutak
case Ignite works fine with CONTINUOUS deployment mode. - Don't use peer class loading and add jars with custom tasks to classpath of server nodes. Thanks, Artem. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Distributed-queue-problem-with-peerClassLo

Re: Distributed queue problem with peerClassLoading enabled

2015-10-30 Thread mp
Hi Artem, Many thanks for your response. Below please find all information you requested. 1. Logs are attached in 3 files: server log, client log 1st run, client log 2nd run. 2. The Task class exists only on client side. It is loaded by the server node through peerClassLoading. Steps to

Re: Distributed queue problem with peerClassLoading enabled

2015-10-30 Thread Artem Shutak
rovide steps to reproduce. Have you been used different Task class versions with one server? - ensure that you run nodes under the same jvm (you don't mix Java 7 and 8). Thanks, Artem. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Distributed-queue-problem-w