Re: Couchbase as persistent store

2016-10-21 Thread Igor Sapego
You are welcome ) Best Regards, Igor On Fri, Oct 21, 2016 at 10:39 AM, kvipin wrote: > Igor, thanks a lot for confirming that everything is working fine from > Apache-Ignite side. That helped me focus into my code only, which was > really > a problematic piece. > > The biggest problem was that

Re: Couchbase as persistent store

2016-10-21 Thread kvipin
Igor, thanks a lot for confirming that everything is working fine from Apache-Ignite side. That helped me focus into my code only, which was really a problematic piece. The biggest problem was that I didn't have exception handling in my code hence I was not getting any clue. Once I added exception

Re: Couchbase as persistent store

2016-10-20 Thread Igor Sapego
I've checked the command you provided. It works, though it really does not add any objects to DB. However, I've added some prints to TestTableStore#writeAll() and I can see that all 100 entires are passed to it to be written. It seems that there is some issue with your implementation of this funct

Re: Couchbase as persistent store

2016-10-20 Thread kvipin
Hi Igor, does write-through works for you? following is the sample command line: $ ./tester -c config/test-tool-client.xml -o 1 -l 1 -i 1 -n 100 // insert (-o 1) 100 records(-n 100) with tid 1 (-i 1) once(-l 1). above command line will insert records into ignite server node successfully which I

Re: Couchbase as persistent store

2016-10-19 Thread Igor Sapego
Could it be that your 8080 TCP port is already in use? Best Regards, Igor On Wed, Oct 19, 2016 at 4:33 PM, Igor Sapego wrote: > Hi, > > I tried your example and it works for me. Could it be that there is an > issue with you network configuration? > > Best Regards, > Igor > > On Tue, Oct 18, 201

Re: Couchbase as persistent store

2016-10-19 Thread Igor Sapego
Hi, I tried your example and it works for me. Could it be that there is an issue with you network configuration? Best Regards, Igor On Tue, Oct 18, 2016 at 9:48 PM, kvipin wrote: > Hi Val, > > Please find the attached sample code tarball. > apache-ignite-tester-cs-5.xz >

Re: Couchbase as persistent store

2016-10-18 Thread kvipin
Hi Val, Please find the attached sample code tarball. apache-ignite-tester-cs-5.xz build: $ tar -xvf apache-ignite-tester-cs-5.xz $ cd apache-ignite-tester-cs-5 apache-ignite-tester-cs-5]$ ./configure apa

Re: Couchbase as persistent store

2016-10-13 Thread vkulichenko
Hi, Can you provide a small project that will reproduce the issue? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Couchbase-as-persistent-store-tp7476p8280.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Couchbase as persistent store

2016-10-13 Thread kvipin
any clue guys? thanks, -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Couchbase-as-persistent-store-tp7476p8267.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Couchbase as persistent store

2016-10-06 Thread kvipin
No Val, in fact it doesn't even seem to open the bucket/connection also. Following is the *output of server node:* $ ./nodemgr -c config/test-tool-server.xml log4j:WARN No appenders could be found for logger (org.springframework.core.env.StandardEnvironment). log4j:WARN Please initialize the log4j

Re: Couchbase as persistent store

2016-10-04 Thread vkulichenko
You have write behind enabled. This means that the data will be flushed eventually. Does it work if you disable write behind (in this case the store will be updated synchronously with the cache update)? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Couchb

Re: Couchbase as persistent store

2016-10-04 Thread kvipin
Val, I'm not getting any error or exception that's what makes it difficult to figure out whats going on. But I do see Apache Ignite opening couchbase bucket successfully, which is equivalent to connection establishment. But after that no activity server side and client side every thing seems to be

Re: Couchbase as persistent store

2016-10-03 Thread vkulichenko
What is the exception now? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Couchbase-as-persistent-store-tp7476p8065.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Couchbase as persistent store

2016-09-30 Thread kvipin
Guys, read-through is working fine for me but write-through is not working. I'm not getting error/exception either. Following is my configuration file and relevant code blocks, *Sever node configuration file:* $ cat test-tool-server.xml http://www.springframework.org/schema/beans"; xmln

Re: Couchbase as persistent store

2016-09-15 Thread kvipin
Thanks a ton Val, it solved my problem. regards, -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Couchbase-as-persistent-store-tp7476p7762.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Couchbase as persistent store

2016-09-12 Thread vkulichenko
Hi Kevin, It looks like you serialize the instance of the CacheStore, most likely due to the fact that you use SingletonFactory. Please try to use ClassFactory or your own factory that will not encapsulate the instance, but will create a new one in the 'create()' method. -Val -- View this mess

Re: Couchbase as persistent store

2016-09-10 Thread kvipin
Thanks val, I've fixed it. Now I'm getting following *exception while running my test program: * [06:00:01] Security status [authentication=off, tls/ssl=off] [06:00:03] Performance suggestions for grid (fix if possible) [06:00:03] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true [06:

Re: Couchbase as persistent store

2016-09-02 Thread vkulichenko
Method signatures in your implementations are incorrect. Please pay attention to generics. The write method, for example, should look like this: @Override public void write(Cache.Entry entry) throws CacheWriterException -Val -- View this message in context: http://apache-ignite-users.70518.x6