Re: Ignite client mvn artifact's purpose?

2018-06-07 Thread Muthu
ote: > >> Hi Folks, >> >> I notice there is a mvn artifact with artifact id "ignite-clients". What >> is >> its purpose? >> >> https://mvnrepository.com/artifact/org.apache.ignite/ignite-clients/2.4.0 >> <https://mvnrepository.com/artifa

Re: IgniteSpringBean & Ignite SpringTransactionManager broken with 2.4?

2018-05-25 Thread Muthu
ignite = Ignition.ignite(igniteInstanceName);* if (transactionConcurrency == null) transactionConcurrency = ignite.configuration().getTransactionConfiguration().getDefaultTxConcurrency(); log = ignite.log(); } Regards, Muthu On Thu, May 24, 2018 at 8:58 PM, mlekshma wrote

Re: Ignite Spring Integration seems broken with 2.4 (upgrading from 2.3)

2018-05-24 Thread Muthu
bleBeanFac tory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1687) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac tory.initializeBean(AbstractAutowireCapableBeanFactory.java:1624) ... 22 common frames omitted Regards, Muthu -- The real danger with modern techno

Re: Ignite Spring Integration seems broken with 2.4 (upgrading from 2.3)

2018-05-24 Thread Muthu
One thing i can do is to move the SpringTransactionManager bean instance creation into a @Bean method, i am going to test doing this once i get my machine back...but i wish i didn't have to change anything.. On Thu, May 24, 2018 at 12:54 PM, mlekshma wrote: > We are upgrading from 2.3 to 2.4 &

Re: Ignite web console query

2018-05-24 Thread Muthu
Hi Dennis, Is there a way to get & keep logging these long running queries & transactions? Thanks Muthu Regards, Muthu -- The real danger with modern technology isn't that machines will begin to think like people, but that people will begin to think like machines. -- Faith is to

Re: Trouble using latest Ignite Web Console (2.1)

2017-08-25 Thread Muthu
you have suggested & see if it generates pojos with the keys. Regards, Muthu -- The real danger with modern technology isn't that machines will begin to think like people, but that people will begin to think like machines. -- Faith is to believe what you do not see; the reward of this fa

Re: Trouble using latest Ignite Web Console (2.1)

2017-08-25 Thread Muthu
SQL json type fields (though mapped correctly as java.sql.Types.OTHER / java.lang.Object by web console generator). I will post that separately in the forum with more details on the error as i don't have that right now. Thanks again! Regards, Muthu -- The real danger with modern technolo

Re: Trouble using latest Ignite Web Console (2.1)

2017-08-04 Thread Muthu
public class Dept implements Serializable { ... ... private String id; public String getId() { return id; } public void setId(String id) { this.id = id; } ... ... } Regards, Muthu -- The real danger with modern technology isn't that machines will begin to think like pe

Re: Trouble using latest Ignite Web Console (2.1)

2017-08-04 Thread Muthu
Hi Alexey, Try this, https://github.com/softwarebrahma/IgniteCacheWithAutomaticExternalPersistence Can be run like below, java -jar -Ddb.host=localhost -Ddb.port=5432 -Ddb.name=postgres -DIGNITE_QUIET=false target\CacheAutomaticPersistence-0.0.1-SNAPSHOT.jar Regards, Muthu -- The real danger

Explicit setting of write synchronization mode FULL_SYNC needed for replicated caches?

2017-08-03 Thread Muthu
ookup of primary & backup? Regards, Muthu -- The real danger with modern technology isn't that machines will begin to think like people, but that people will begin to think like machines. -- Faith is to believe what you do not see; the reward of this faith is to see what you believe.

Re: Trouble using latest Ignite Web Console (2.1)

2017-08-03 Thread Muthu
ecute(JdbcStatement.java:158) at org.apache.ignite.internal.processors.query.h2.H2TableEngine.createTable(H2TableEngine.java:68) at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.createTable(IgniteH2Indexing.java:1606) at org.apache.ignite.internal.processors.query.

Re: Trouble using latest Ignite Web Console (2.1)

2017-08-03 Thread Muthu
ecutors$RunnableAdapter.call(Executors.java:473) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:7

Re: Trouble using latest Ignite Web Console (2.1)

2017-08-02 Thread Muthu
rsion from inside the web console image & then got it to connect properly). I see the new image has been pushed a couple hours back..will retry with that & let you know. Regards, Muthu -- The real danger with modern technology isn't that machines will begin to think like people, but th

Trouble using latest Ignite Web Console (2.1)

2017-08-02 Thread Muthu
for model/cache artifact generation, etc. Has any one else tried using it? Regards, Muthu -- The real danger with modern technology isn't that machines will begin to think like people, but that people will begin to think like machines. -- Faith is to believe what you do not see; the reward of t

Re: Ignite 2.1?

2017-07-19 Thread Muthu
Thanks Vyacheslav!..i am looking forward to it. Regards, Muthu -- The real danger with modern technology isn't that machines will begin to think like people, but that people will begin to think like machines. -- Faith is to believe what you do not see; the reward of this faith is to see wha

Ignite 2.1?

2017-07-19 Thread Muthu
Folks, Any one knows when 2.1 would be coming out? As per this, the release date is July 17th...this past Monday, https://cwiki.apache.org/confluence/display/IGNITE/Apache+Ignite+2.1 Regards, Muthu -- The real danger with modern technology isn't that machines will begin to think like p

Re: New version of Web Console Released

2017-06-24 Thread Muthu
Great!...for now i will use the console.gridgain.com version to continue with my POCs. Regards, Muthu On Sat, Jun 24, 2017 at 7:47 AM, Alexey Kuznetsov wrote: > Not, yet. > > It will be available with Ignite-2.1 release. > As far as I know 2.1 could be released in 2 or 3 weeks. >

Re: How does Ignite Lucene based text indexing & querying work if a field has comma separated values

2017-06-23 Thread Muthu
. Regards, Muthu On Fri, Jun 23, 2017 at 8:58 AM, Andrey Mashenkov < andrey.mashen...@gmail.com> wrote: > Hi Muthu, > > Using comma as separator is bad idea in common case. As you see from Unicode > standard, 3,456.789 wouldn't break into 2 words. > It would be better

Re: New version of Web Console Released

2017-06-23 Thread Muthu
Hi Alexey, Is the latest web console available as a docker image that i can pick up?...i see this but it seems is a month old... https://hub.docker.com/r/apacheignite/web-console-standalone/ Regards, Muthu On Mon, Jun 19, 2017 at 8:04 PM, Alexey Kuznetsov wrote: > Igniters! > > I&

Ignite as DB -> Can an ORM work with Ignite as DB via Ignite's JDBC driver?

2017-06-22 Thread Muthu
from one or more of these caches?. Pardon me..i could not say these for sure from the docs...if this kind of support is available then can we use it like a JDBC data store & talk via an ORM? Regards, Muthu

Re: Ignite spring transactions integration works?

2017-06-22 Thread Muthu
t seem to work that way & there is a dangling entry in the first table. Regards, Muthu On Thu, Jun 22, 2017 at 1:13 PM, fatih tekin wrote: > Because you are trying to insert employee with same name and you do have > constraint for it . > Caused by: org.postgresql.util.PSQLException

Ignite spring transactions integration works?

2017-06-22 Thread Muthu
a:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable. run(TaskThread.java:61) at java.lang.Thread.run(Unknown Source) Regards, Muthu

Re: How does Ignite Lucene based text indexing & querying work if a field has comma separated values

2017-06-21 Thread Muthu
Okay...thanks for the input..just to understand better the comma is needed with space to make sure it tokenizes the entire words in between as tokens? Regards, Muthu On Wed, Jun 21, 2017 at 8:58 AM, Andrey Mashenkov < andrey.mashen...@gmail.com> wrote: > Not quite, comma separated St

Re: How does Ignite Lucene based text indexing & querying work if a field has comma separated values

2017-06-20 Thread Muthu
The objects in my ignite cache have a List as member...so i have to change it to a comma separated String if i have to able to perform text searches..correct? Regards, Muthu On Tue, Jun 20, 2017 at 1:49 PM, Muthu wrote: > Okay..alrite..thanks Andrey. > > Regards, > Muthu > &

Re: How does Ignite Lucene based text indexing & querying work if a field has comma separated values

2017-06-20 Thread Muthu
Okay..alrite..thanks Andrey. Regards, Muthu On Tue, Jun 20, 2017 at 1:30 PM, Andrey Mashenkov < andrey.mashen...@gmail.com> wrote: > Hi, > I mean object fields which are type of String. > > 20 июня 2017 г. 23:04 пользователь "Muthu" > написал: > >

Re: How does Ignite Lucene based text indexing & querying work if a field has comma separated values

2017-06-20 Thread Muthu
Okay...btw what is an object String? Regards, Muthu On Sat, Jun 17, 2017 at 1:53 AM, Andrey Mashenkov < andrey.mashen...@gmail.com> wrote: > No, only Strings and object String fields are supported. > > 16 июня 2017 г. 21:27 пользователь "Muthu" > написал: > >

Re: How does Ignite Lucene based text indexing & querying work if a field has comma separated values

2017-06-16 Thread Muthu
Great!...thanks for the info...how about a list of strings (List)...will it also be handled (an array value in the key-value pair)? Regards, Muthu On Fri, Jun 16, 2017 at 2:03 AM, Andrey Mashenkov < andrey.mashen...@gmail.com> wrote: > Hi Muthu, > > Yes, field value will be

How does Ignite Lucene based text indexing & querying work if a field has comma separated values

2017-06-15 Thread Muthu
Folks, If a field annotated with @QueryTextField contains comma separated values would this be tokenized before being indexed by Lucene? How does it work? Regards, Muthu

Re: Grid/Cluster unique UUID possible with IgniteUuid?

2017-06-13 Thread Muthu
east need the *igniteAtomicSequence *for cluster level uniqueness... /** VM ID. */ public static final UUID VM_ID = UUID.randomUUID(); public static IgniteUuid randomUuid() { return new IgniteUuid(VM_ID, cntGen.incrementAndGet()); } Regards, Muthu On Tue, Jun 13, 2017 at 6:32 AM, Nikolai Tikhonov w

Re: Grid/Cluster unique UUID possible with IgniteUuid?

2017-06-12 Thread Muthu
t;Time for UUID generation (millis) : " + (t2 - t1)); *dept.setId(uUID);* * deptCache.getAndPut(uUID, dept);* System.out.println(" in ObjectCacheMgrService.insertDepartment : department inserted successfully : " + dept); ... ... Regards, Muthu On Mon, Jun 12, 2017 at 3:

Re: Automatic Persistence : Unable to bring up cache with web console generated models ("org.apache.ignite.IgniteCheckedException: Failed to register query type" exception is thrown)

2017-06-12 Thread Muthu
some queries on the second point you mentioned...please see inline. Regards, Muthu On Mon, Jun 12, 2017 at 6:32 AM, Alexey Kuznetsov wrote: > Muthu, > > >>2. With Ignite/Web Console, if a DB table insert/update/delete operation > were to happen to the database directly is th

Re: Automatic Persistence : Unable to bring up cache with web console generated models ("org.apache.ignite.IgniteCheckedException: Failed to register query type" exception is thrown)

2017-06-09 Thread Muthu
SQL DB & i need to build a cache without trying to integrate with MyBatis which is problematic. I have some tools in mind & things like messaging based loads, etc to try but if Ignite does this with some integration that would be great. Regards, Muthu On Fri, Jun 9, 2017 at 8:12 PM, Muthu wro

Automatic Persistence : Unable to bring up cache with web console generated models ("org.apache.ignite.IgniteCheckedException: Failed to register query type" exception is thrown)

2017-06-09 Thread Muthu
* ename text,* * job text,* * mgr text,* * hiredate date,* * sal integer,* * comm integer,* * deptid text,* * CONSTRAINT pk_emp PRIMARY KEY (id),* * CONSTRAINT fk_deptid FOREIGN KEY (deptid)* * REFERENCES dcm.dept (id) MATCH SIMPLE* * ON UPDATE RESTRICT ON DELETE CASCADE* *)* *WITH (* * OIDS=FALSE* *);* *ALTER TABLE dcm.emp* * OWNER TO postgres;* Regards, Muthu

Re: Grid/Cluster unique UUID possible with IgniteUuid?

2017-06-09 Thread Muthu
Missed adding this one...i know there is support for ID generation with IgniteAtomicSequence @ https://apacheignite.readme.io/docs/id-generator The question is which one should i use...i want to use this to generate unique ids for entities that are to be cached & persisted.. Regards, Muthu

Grid/Cluster unique UUID possible with IgniteUuid?

2017-06-09 Thread Muthu
s one with with a java.util.UUID (generated with its randomUUID) & an AutomicLong's incrementAndGet Can i safely assume that given that it uses a combination of UUID & long on the individual VMs that are part of the Grid/Cluster it will be unique or is there a better way? Regards, Muthu

Ignite Web Console

2017-06-07 Thread Muthu
rom DB if not in cache -- This includes read based on any predicate (where clause), custom select sql queries, bulk operations Regards, Muthu

Re: New version of Web Console released

2017-06-07 Thread Muthu
Sure i will do that..thanks! Regards, Muthu On Wed, Jun 7, 2017 at 5:06 AM, Alexey Kuznetsov wrote: > Muthu, > > It is better to start separate thread on user list about your use case. > > On Wed, Jun 7, 2017 at 4:22 PM, Muthu wrote: > >> >> Thanks Alexey!

Re: New version of Web Console released

2017-06-07 Thread Muthu
includes insert, update & delete and batch/bulk operations 2. A way to read from ignite cache which will automatically read from DB if not in cache -- This includes read based on any predicate (where clause), custom select sql queries, bulk operations Regards, Muthu On Wed, Jun 7, 201

Re: New version of Web Console released

2017-06-06 Thread Muthu
l version from console.gridgain.com ? Also does this version support the Automatic RDBMS Integration as stated @ https://apacheignite-tools.readme.io/docs/automatic-rdbms-integration? Will i able to use this as an alternative to say an ORM like MyBatis? Regards, Muthu On Mon, Jun 5, 2017 at 10:44 AM, Deni

Re: MyBatis Ignite L2 cache Integration issues

2017-06-06 Thread Muthu
eyType()); System.out.println("VALUE TYPE : cacheMetrics : " + cacheMetrics.getValueType()); Output: KEY TYPE : cacheMetricsMXBean : java.lang.Object VALUE TYPE : cacheMetricsMXBean : java.lang.Object KEY TYPE : cacheMetrics : java.lang.Object VALUE TYPE : cacheMetrics : java.lang.Object Regards, Mu

Re: MyBatis Ignite L2 cache Integration issues

2017-06-05 Thread Muthu
e entries inserted or updated? For 3, I haven't tried using the default MyBatis L2 cache...i can try if that also has the same behavior. Regards, Muthu On Mon, Jun 5, 2017 at 7:06 PM, Roman Shtykh wrote: > Muthu, > > For 1 & 2, have you checked [1]? I think it is not related

Re: Combine two table caches to expose a database view type cache?

2017-06-05 Thread Muthu
the same DTO object as generated by MyBatis. Regards, Muthu On Mon, Jun 5, 2017 at 12:10 PM, Muthu wrote: > > Thanks Nikolai for the suggestion..one other thing i was thinking was to > use continuous queries feature to create & update the new cache...but the > problem is i still ha

Re: Combine two table caches to expose a database view type cache?

2017-06-05 Thread Muthu
o or three tables with lots of columns i was wondering if there was a way i can auto generate this boiler plate code... Regards, Muthu On Mon, Jun 5, 2017 at 5:44 AM, Nikolai Tikhonov wrote: > Hello, > > You need to implement your own CacheStore which will execute several > selects f

Re: Combine two table caches to expose a database view type cache?

2017-05-31 Thread Muthu
s("Ignite"))) { for (List row : cursor) System.out.println("Person name=" + row.get(0)); } Regards, Muthu -- The latest fact in modern technology isn't that machines will begin to think like people, but that people will begin to think like machines. -- Nothing exi

Re: Combine two table caches to expose a database view type cache?

2017-05-30 Thread Muthu
Just to clarify a little bit i don't want the view created on the database but rather created & exposed purely in ignite. The individual tables are already cached & available as L2 cache (MyBatis L2 cache) in Ignite. Regards, Muthu On Tue, May 30, 2017 at 4:07 PM, Muthu wrote

Combine two table caches to expose a database view type cache?

2017-05-30 Thread Muthu
Hi Folks, I need to combine two table caches to expose a database view type cache. Is there an elegant way to do this where i don't need to manually set/construct the view's POJO from the result of the join query? Regards, Muthu

Re: MyBatis Ignite L2 cache Integration does not work with Ignite 2.0

2017-05-26 Thread Muthu
path from within the packaged jar file it just cannot be used in a realistic scenario. Thanks Muthu Regards, Muthu -- The latest fact in modern technology isn't that machines will begin to think like people, but that people will begin to think like machines. -- Nothing exists except atom

Re: MyBatis Ignite L2 cache Integration does not work with Ignite 2.0

2017-05-25 Thread Muthu
??--**??-- 2017-05-25 01:56:37.800 WARN 8008 --- [ main] o.m.caches.ignite.IgniteCacheAdapter : Initializing the default cache. Consider properly configuring 'config/default-config.xml' instead. **??-- * May 25, 2017 1:56:37 AM org.apache.ig

Re: MyBatis Ignite L2 cache Integration does not work with Ignite 2.0

2017-05-25 Thread Muthu
2017-05-25 01:30:28.315* WARN 12204 --- [ main] o.m.caches.ignite.IgniteCacheAdapter : Initializing the default cache. Consider properly configuring 'config/default-config.xml' instead. *??-- ??--2017-05-25 01:30:28.466* INFO 1220