Re: Question on the log of public pool thread [pub-#14505].

2020-05-13 Thread James Yuan
the huge threads cause long GC and hang the whole system. Thanks, James. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Question on the log of public pool thread [pub-#14505].

2020-05-12 Thread James Yuan
ic pool? Or the number of computed task? If pub-#14505 number increase all the time, does it mean the public thread is not returned back due to my program issue? I have only configured the public pool thread number 640. Thanks, James.

RE: [EXTERNAL] Re: Replace or Put after PutAsync causes Ignite to hang

2019-04-15 Thread James PRINCE
Hi, Thanks for looking. You need to run two instances of the reproducer. Let the first run until you can see "Wait" on the console then run the second. For me the second instance won't get past the Replace call in either 2.6 or 2.7. It's using the default config with nothing else set up over an

Replace or Put after PutAsync causes Ignite to hang

2019-04-11 Thread James PRINCE
Hi, I'm working on a .Net Core (2+) application that uses Ignite. I've noticed some odd behaviour and have narrowed it down to a Put or a Replace call hanging after a PutAsync. I started looking at the issue when one of our nodes was randomly logging a possible starvation in striped pool warni

Re: Affinity quesions

2018-10-05 Thread James Dodson
Thanks Val. Is there a way I can verify this behavior - a way to query one node in particular to see what data is on each node? On Fri, Oct 5, 2018 at 2:04 PM vkulichenko wrote: > James, > > That would be enough - everything with the same affinity key will be stored > on the same

Affinity quesions

2018-10-05 Thread James Dodson
If I have something like: class HouseKey { @QuerySqlField(index = true) Long id @AffinityKeyMapped @QuerySqlField Short ownerId } and class CarKey { @QuerySqlField(index = true) Long id @AffinityKeyMapped @QuerySqlField Short ownerId } and define my c

Service Grid classpath changes

2018-09-24 Thread James Dodson
I understand service grid does not have peer class loading, so we need to provide any needed jars to the /libs directory of our Ignite nodes. As we make changes to our service classes over time, those jars will also need to change. Can we do some kind of rolling deploy - bring down 1 node, update

Re: Ignite Service Grid

2018-08-30 Thread James Dodson
: java.lang.ClassNotFoundException: com.domain.ignite.NodeFilter On Thu, Aug 30, 2018 at 9:24 AM James Dodson wrote: > We haven't even gotten a service node started properly. It is unclear if > we can do what we want with just 1 service node, or what a correct > architecture looks like. > Do we even need

Re: Ignite Service Grid

2018-08-30 Thread James Dodson
an it work if the rest of our nodes use peer class loading? Sorry - lots of questions about how to even begin On Thu, Aug 30, 2018 at 8:48 AM luqmanahmad wrote: > James, can you show us how you are trying to invoke the services from > continuous queries and spring boot as well? > > &

Ignite Service Grid

2018-08-30 Thread James Dodson
I am seeking some guidance about Ignite Service Grid. We have a cluster of standalone Ignite data nodes. Connecting to the data nodes, we have several Spring Boot applications each launching an Ignite client node. One of the Spring Boot applications creates Continuous Queries in Ignite. These que

[no subject]

2018-06-27 Thread James Dodson
Hello. I am creating a Spring Boot application that gets objects from Kinesis and uses ignite-spring-data to insert those objects into an Ignite cluster. As objects are inserted, I want to take some action - specifically, inspect the object being inserted, query Ignite for a related object and if

Ignite 2.3 still not support group_concat

2017-11-01 Thread james wu
The new ignite 2.3 release doc said there are aggregation group_concat and related usage https://apacheignite-sql.readme.io/docs/group_concat, but look into the source code, this function still not support /** {@inheritDoc} */ @Override public String getSQL() { String text; swi

Re: Cannot insert data into table using JDBC

2017-10-16 Thread James
ame); if (res == null) res = ""; return res; } Now cacheName2schema has this value - {SQL_PUBLIC_SAMPLE_SUPERSTORE=PUBLIC, ignite-sys-cache=ignite-sys-cache, am_jdbc=PUBLIC}. I think problem is that my prepareStatement carries "PUBLIC" as a ca

Re: Cannot insert data into table using JDBC

2017-10-16 Thread James
I found out that following code in IgniteH2Indexing.java throws one exception. stmt.executeUpdate("SET SCHEMA " + H2Utils.withQuotes(schema)); In Ignite implementation, schema is "PUBLIC" at beginning during runtime, then changed to "". But I cannot figure out why my code get this exception.

Cannot insert data into table using JDBC

2017-10-16 Thread James
I am running a local server with native persistence. CacheConfiguration cacheConfiguration = new CacheConfiguration<>(); cacheConfiguration.setSqlSchema("public"); cacheConfiguration.setName("am_jdbc"); igniteConfiguration.setCacheCo

Re: How to cancel IgniteRunnale on remote node?

2017-10-16 Thread james wu
configuration need to add to IgniteConfiguration? Thanks James -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

How to cancel IgniteRunnale on remote node?

2017-10-11 Thread james wu
kafkaStreamer.setThreads(4); kafkaStreamer.setConsumerConfig(createDefaultConsumerConfig(streamingExecutionContext)); } /** * This method used to stop the kafka consumer when shutdown the ignite job. */ public void stop() { if (kafkaStreamer != null) kafkaStreamer.stop(); log.info("Ignite kafka stream stopped!"); } } Could you help answer my question? Thanks James -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: computation on view

2017-10-02 Thread James
Nikolai, What is "describe on update events and update the cache"? Can you describe them in detail or provide a url? For question 3, can I use grid service to do some computation? Which one has a better performance - SQL or grid service? Thanks, James. -- Sent from: http://apa

computation on view

2017-10-01 Thread James
need to use a lot of join to generate a set of data as a view like in traditional database. How do I create a view in Ignite. 3. On the data in above view, I need to query again to do a lot of computations such as "group by" to find a maximum value. What is best approach in Ignite? Than

Re: Can I use Ignite for my case?

2017-09-03 Thread James
following dummy question? What is api for standard client-server? What is api to embed Ignite into my Java application? I like to get some databse sql query benchmarks on ignite vs MySQL? Where can I find a big database data? Thanks, James. -- Sent from: http://apache-ignite-users.70518.x6

Can I use Ignite for my case?

2017-09-03 Thread James
to achieve above goal. Above is my fast solution I want. Later, I will add distributed functionalities. Thanks, James -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Fwd: Create and query a binary cache in ignite

2017-07-30 Thread James Isaac
ny way I can avoid this? Regards, James