Re: C# client too slow to connect.

2018-05-22 Thread F. D.
AM Igor Sapego <isap...@apache.org> wrote: > Hi, > > Try using "TcpDiscoveryStaticIpFinder" instead of > "TcpDiscoveryMulticastIpFinder". > > Does it take 1 min for connection only or for start up + connection? > > Best Regards, > Igor &g

C# client too slow to connect.

2018-05-22 Thread F. D.
Hi, I'm trying to use Ignite to develop an internal system of data contribution. To do this, I'm launching Ignite inside Excel, and I'm using the C# binding. When try to connect it consumes a lot of time (~1 min.), this is my simple app.config:

Re: Serialization problem when combining Spring boot (hateoas) with Ignite

2018-01-31 Thread Pim D
Hi Andrew, Indeed, I've changed the lambda / anonymous class with field to become an actual class. This fixed one of the problems. The other problem is more of a design issue: CacheStoreAdapters are part of the CacheConfiguration that is being exchanged between nodes. This basically requires

Re: Serialization problem when combining Spring boot (hateoas) with Ignite

2018-01-31 Thread Pim D
UPDATE: I've created an implementation for the IgnitePredicate which is available on both sides (client/server node). This solved the serialization issue with the CacheConfiguration. Next problem: The cache store adapter backing one of the caches, is not known by the client (and I don't want

Re: Serialization problem when combining Spring boot (hateoas) with Ignite

2018-01-31 Thread Pim D
P.s. the stacktrace when using a static method as proposed by Val: Classes: public class WaxPhantomDataActivator implements LifecycleBean { @IgniteInstanceResource private Ignite grid; private IgnitePredicate filter = FlipperkastCluster.spookhuis().data().nodeFilter(); @Override

Re: Serialization problem when combining Spring boot (hateoas) with Ignite

2018-01-31 Thread Pim D
UPDATE: Wiring the application context instead of the bean helped solve the problem in exchanging the cahce configuration (and it's cachestoreadapter). Now I'm only stuck on this when I exclude the jars which the client should not have knowledge of: Caused by: java.lang.ClassCastException:

Re: Serialization problem when combining Spring boot (hateoas) with Ignite

2018-01-31 Thread Pim D
UPDATE: I guess my issue is related to http://apache-ignite-users.70518.x6.nabble.com/Client-requires-DataSource-bean-configuration-copy-td15491.html My caches are ATOMIC and because I want to externalize my datasource configuration (by making it a Spring bean), I have issues now. So how can I

Re: Serialization problem when combining Spring boot (hateoas) with Ignite

2018-01-31 Thread Pim D
Logging of the client (which should not create the cache, yet somehow it gets instructed to create the cache on the client node) 2018-01-31T11:15:58.424 INFO [BackboxPlayerScoreController] - Createdsabled (to enable configure any GridCheckpointSpi implementation) 2018-01-31T11:15:58.900 WARN

Re: Serialization problem when combining Spring boot (hateoas) with Ignite

2018-01-31 Thread Pim D
UPDATE: I've put all my classes on the classpath of the client. Now I get a different issue. One of the caches in the grid has a CacheStoreAdapter which requires a SpringResource which is not available on the client. The client does not create this cache (lookup by name), the server data nodes do

Re: Serialization problem when combining Spring boot (hateoas) with Ignite

2018-01-31 Thread Pim D
Hi Val, This nodeFilter is in fact created from a static utility class. However I had to provide the lambda (IgnitePredicate) because Ignite could not serialiize the static method. What I find strange is that the cache configurations in the grid are communicated to a client node. And if this is

Re: Serialization problem when combining Spring boot (hateoas) with Ignite

2018-01-31 Thread Pim D
Hi Amir, Regarding your questions: 1) Clients are not able to communicatie with the nodes in the grid, none of the ignite messages can be deserialized by the client. 2) The project is to big to share for reproduction, but I try to provide the relevant parts. Server(s): @Bean

Re: Serialization problem when combining Spring boot (hateoas) with Ignite

2018-01-30 Thread Pim D
Update: Not quite sure if this is the problem but the issue is with client nodes. I have peer class loading disabled and the client is also logging unknown classes of Ignite lifecyclebeans which are present on server nodes (but definitely NOT on client nodes). This behaviour seems really awkward

Serialization problem when combining Spring boot (hateoas) with Ignite

2018-01-30 Thread Pim D
Hi, I'm encountering an issue when I start an ignite client inside a spring boot app (with hate-aos). It seems as if there are classloader or marshalling conflicts between both frameworks. Can anyone confirm (or even better: a clue on how to solve this?): -- Sent from:

Re: CacheStoreAdapter write and delete are not being called by Ignite's GridCacheStoreManager

2018-01-26 Thread Pim D
Hi Slava, Guess I overlooked that part, thanx! -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: When is CacheStoreAdapter sessionEnd method called?

2018-01-20 Thread Pim D
How did you guys managed to get this working? My sessionEnd is not called either (nor are write and delete). Details: http://apache-ignite-users.70518.x6.nabble.com/CacheStoreAdapter-write-and-delete-are-not-being-called-by-Ignite-s-GridCacheStoreManager-td19624.html -- Sent from:

RE: CacheStoreAdapter not getting called on cache operation.

2018-01-20 Thread Pim D
Hi, I'm experiencing the same problem (with write-behind set to false). Were you able to identify the problem? http://apache-ignite-users.70518.x6.nabble.com/CacheStore-example-for-partitioned-cache-backed-with-a-postgres-database-td19624.html

DataStreamer does not persist in cache when a receiver is set

2018-01-20 Thread Pim D
Hi, I have created a datastreamer that will stream data from a database to my cache. This works very nice, untill... ... I include a StreamTransformer in the data streamer. When the transformer is set, nothing gets stored in the cache?!? In a simple example my transformer extends the

CacheStore example for partitioned cache backed with a postgres database

2018-01-20 Thread Pim D
Hi, I can't seem to find a good example on how to implement a CacheStoreAdapter that also writes cache updates to a postgres database. I've tried the standaard CacheJdbcStoreFactory, yet it does not write the updates (even with read and write through set to true and WAL disabled). I've created

Re: Prefer ignite nodes on same Availability Zone

2017-10-07 Thread Pim D
Have a look at the clustergroup feature of Ignite. This feature can be used widely (computation, data). Also interesting: AffinityKey and AffinityKeyFunction. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite Web Console login?

2017-10-07 Thread Pim D
Hi, Unfortunately, creating a new account does not seem to work with de Web Console provided in the Docker image by Apache. I get a connection refused on http://localhost/api/v1/user/ when filling the signup form (on http://locahost/). @ Apache documentation I could not find any information on

Re: SqlQuery results missing

2017-10-07 Thread Pim D
Ok, I found the problem. CacheConfiguration.setIndexTypes(a1,a2,...) requires pairs of type key.class and value.class. I used String.class for key while I should have been using AffinityKey.class. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: SqlQuery results missing

2017-10-05 Thread Pim D
Hi, No, not executed locally (would not work either because of client mode). Here the output generated during the test against 5 nodes in docker containers having 2 caches where I'm only searching through 'sectie-passage': [17:40:14] Quiet mode. [17:40:14] ^-- To see **FULL** console

Re: SqlQuery results missing

2017-10-05 Thread Pim D
The data is generated during start-up of the test. Data has a non expiration policy -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: SqlQuery results missing

2017-10-05 Thread Pim D
Hi, Yes, in fact I also have a map task to search each cache on each node. That task does find all items. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Ignite Web Console login?

2017-10-04 Thread Pim D
Hi, I have the standalone version of the web console running in Docker (apacheignite/web-console-standalone:2.1.0) together with some ignite nodes (network=host). When I go to http://localhost/ (port 9000 has no listeners) a login page is presented. The documentation and online webinars do not

SqlQuery results missing

2017-10-04 Thread Pim D
Hi, I have a partitioned cache distributed on 5 nodes without replication nor persistence. This cache contains 5000 items (id: [passage-0...4999]) of type: public class SectiePassage implements Serializable { @QuerySqlField(index = true) public String id; @QuerySqlField public

Re: update existing cache

2017-06-08 Thread Chetan D
reInvoke(Int64 memPtr) InnerException: On Wed, Jun 7, 2017 at 10:01 PM, Pavel Tupitsyn <ptupit...@apache.org> wrote: > That is strange, can you wrap it in try-catch block and print out > ex.ToString()? > How many nodes do you have? > > On Wed, Jun 7, 2017

Re: update existing cache

2017-06-07 Thread Chetan D
Hi Pavel, That is the full stack trace On Jun 7, 2017 7:00 PM, "Pavel Tupitsyn" <ptupit...@apache.org> wrote: > Hi Chetan, is that full stack trace? > > Pavel > > On Wed, Jun 7, 2017 at 4:20 PM, Chetan D <ccheta...@gmail.com> wrote: > >> Hi Pavel, &

Re: update existing cache

2017-06-07 Thread Chetan D
, > e.Entity.Power)); > > Here you have ICache<int, car> again instead of List, by the way. > Have you decided to go this way instead? > > > > $bin/ignite.sh but its not working > For .NET please use > platforms\dotnet\bin\Apache.Ignite.exe > > > Thanks,

Re: update existing cache

2017-06-07 Thread Chetan D
Hi, I need one more help can you tell me how to start ignite node without using Visual studio. i have seen this command $bin/ignite.sh but its not working On Wed, Jun 7, 2017 at 4:29 PM, Chetan D <ccheta...@gmail.com> wrote: > Hi Pavel, > > when a new record has been add

Re: update existing cache

2017-06-07 Thread Chetan D
voke(IBinaryStream stream, Ignite grid) at Apache.Ignite.Core.Impl.Cache.Store.CacheStore.Invoke(PlatformMemoryStream stream, Ignite grid) at Apache.Ignite.Core.Impl.Unmanaged.UnmanagedCallbacks.CacheStoreInvoke(Int64 memPtr) InnerException: On Wed, Jun 7, 2017 at 3:08 PM, Chetan D <ccheta...@gmail.com> wrot

Re: update existing cache

2017-06-07 Thread Chetan D
; { > case ChangeType.Update: > cache.Put(e.ID, e); > break; > case ChangeType.Delete: > cache.Remove(e.ID); > break; > } > } > > Let me know if this makes sense. > > Thanks, > Pavel > >

update existing cache

2017-06-07 Thread Chetan D
Hi Pavel, I am using the same car program which you have written in blog and i have some doubts on that. I have the following scenarios which i have doubts on. 1.#region using put List directcar = new List(); while (rdr.Read()) {

Re: New blog post: ADO.NET Ignite Cache Store

2017-05-31 Thread Chetan D
it should not be displayed from cache as well. Can you please guide me how to handle this. Regards Chetan D On Tue, May 30, 2017 at 5:36 PM, Pavel Tupitsyn <ptupit...@apache.org> wrote: > Basically, data streamer does the same thing as cache.Put() in a loop. > Data streamer is mo

Re: New blog post: ADO.NET Ignite Cache Store

2017-05-30 Thread Chetan D
or is it different with respect to datastreamer? Regards Chetan D On Mon, May 29, 2017 at 6:45 PM, Pavel Tupitsyn <ptupit...@apache.org> wrote: > 1) ICache implements IEnumerable, so you can do `foreach (var entry in > cache)` or `cache.ToList()`. > 2) To bulk load the data into cache you

Re: Write behind using Grid Gain

2017-05-26 Thread Chetan D
mework-Cache-Store/ > > Chetan, I'll prepare an example with Ignite 2.0 / ado.net and post it > some time later. > > Pavel > > On Fri, May 26, 2017 at 2:32 PM, Chetan D <ccheta...@gmail.com> wrote: > >> ++ User List >> >> any help much appreciated. &g

Re: Swap Problem

2016-11-02 Thread Level D
Thank you for your reply. Zhou

Re: Swap Problem

2016-11-02 Thread Level D
In additon, after all those operations have been done, will the 20 pieces of data be deleted from hard disk? -- Original -- From: "Level D";<724172...@qq.com>; Date: Wed, Nov 2, 2016 05:22 PM To: "user"<user@ignite.apache.org>

Swap Problem

2016-11-02 Thread Level D
Hi all, Here's my case. The swapEnabled is true. I have 120 pieces of data that 100 pieces are stored in memory and the other 20 pieces in hard disk. Will the rest 10 pieces be moved to memory if I delete all data in memory and 10 pieces in hard disk? Regards, Zhou.

Which ports does ignite cluster need to run normally?

2016-09-30 Thread Level D
Hi all, There is an active firewall in my system, and these following ports will be added to exceptions list. time server port??31100~31200 TCP server port??11211 Remote Management ??com.sun.management.jmxremote.port49128 TcpDiscoverySpi??47500~47600 TcpCommunicationSpi??47100~47200

Question about cron-based scheduler

2016-09-28 Thread Level D
Hi all, I find the minimal scheduling time unit this scheduler supported is 1 minute. But I need a scheduling time unit less than 1 minute . Is there a way to make it happen? Regards, Zhou.

Re: Cache Problems

2016-09-12 Thread Level D
Hi, I have about 17GB data needs to be loaded into ignite. Every time I destory the cache and create the cache with the same name, the memory increases 17GB. It seems the off-heap memory not released. I find ignite can release off-heap memory when grid stopped. I'd like to know if ignite can

How to optimize Ignite when running on a virtual machine

2016-09-08 Thread Level D
Hi all, I have read the article about jvm and system tuning (https://apacheignite.readme.io/docs/jvm-and-system-tuning#section-detailed-garbage-collection-stats). I found it mainly focus on physical machines. But I use virtual machines. Is there any optimization for the virtual machine?

Re: Cache Problems

2016-09-08 Thread Level D
Hi val, Thank you again for your kind reply. http://www.springframework.org/schema/beans; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xmlns:p="http://www.springframework.org/schema/p; xmlns:util="http://www.springframework.org/schema/util;

IgniteClientDisconnectedException

2016-09-06 Thread Level D
Hi all, I load data via DataStreamer. After a while, ignite disconnects. Attachment is errorlog. My configuration is Are there any properties need to be improved? Does ignite have a property to disable kicking off slow client? Regards, Zhou. 36B71B50@9249E77B.F886CF57.png Description:

Re: Cache Problems

2016-09-04 Thread Level D
Hi Val, Thanks a lot for your reply. For the third question, I have a case. I buckup a cache in non-heap memory with some updates eveyday. When it's finished, I destory the former cache. But system memory is used more and more. Here's a url. https://issues.apache.org/jira/browse/IGNITE-2833

Cache Problems

2016-09-02 Thread Level D
Hi all, I have several questions about ignite 1.6.0's cache. 1. When does ignite free the non-heap memory? I found a system.gc in source code, is it? 2. How can I check the data in non-heap memory with just ignite itself? 3. Are there any bugs about ignite cannot release non-heap memory

LoadCache

2016-07-07 Thread Level D
Hi all, I have a strange case. First, I use LoadCache to load 6,000,000 data into a cache named eqt, it takes about ten minutes. Second, continuously query eqt cache. Third, use LoadCache to load another 6,000,000 data into a cache named eqt_temp. Forth, continuously query eqt_temp cache

Re: More nodes spend more time

2016-06-22 Thread Level D
I'm quite sure. All machines are in the same computer room. I run my only one client code on one of my servers. In addition, I use ignite 1.6 and execute sql query in filter. What does "JVM need a warm-up before the code will otimizirovan" exactly mean? What shoulde I do about the

More nodes spend more time

2016-06-22 Thread Level D
Hi, I demand both read and write operations, so I chose partitioned mode cache. When I increased my cluster by one node, I got slower reads. Is there any way to make it faster?

Re: Re?? NullPointerException When Use ReadThrough

2016-05-13 Thread Level D
Er... In my opinion, readthrough synchronizes data from hbase to ignite cache. Even though readthrough doesn't get any data from hbase, it also synchronizes data. As a result, nullpointerexception comes out. As I mentioned before, I use hbase without ignite to execute that line, console will

Re?? NullPointerException When Use ReadThrough

2016-05-13 Thread Level D
The stack trace shows that NPE comes from hbasetest.HbaseLoadCacheStore.load(HbaseLoadCacheStore.java:121), which is not an Ignite class. Is this your code? Can you check what is null in this class on line 121? D. On Thu, May 12, 2016 at 11:43 PM, Level D <724172...@qq.com> wrote: C

NullPointerException When Use ReadThrough

2016-05-12 Thread Level D
Hi, When I use readthrough to get a key neither existed in ignite cache nor in hbase, console shows nullpointerexception. Is it nessary for hbase to have the record? In addition to this way,how can I avoid that exception?

Problems About Loadcache Streamer And Putall

2016-04-25 Thread Level D
Hi?? I've already read the development manul about these three methods. And it says that putall is inefficient when cluster loads a large nember of data. Here comes my problems. What are the advantages of localcache and streamer in big data? Are there any mesures to ensure data is not

How Does Ignite Create Lucene Index?

2016-04-11 Thread Level D
Hi, I Would Like To Know How Ignite Creates Lucene Index When I Try Text Quary With Partitioned Mode In Detail. I don't think that the progress is just the same as solr cause ignite doesn't have something like a leader node. Is there anything similar? If every node in ignite cluster has

Re: Working with Ignite Cache on Scala Play

2016-01-18 Thread a d
Thanks for the inputs Alexey. From: Alexey Kuznetsov Sent: Thursday, January 14, 2016 8:22 PM To: user@ignite.apache.org Subject: Re: Working with Ignite Cache on Scala Play Avi, I think there is no need to start/stop nodes on each api