unsubscribe

2017-09-07 Thread waterg
-- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Streaming test

2017-08-14 Thread waterg
Hello Val, I now put the stream visitor code in a different model and packaged it in a different jar with dependencies. Interestingly, when I ran the program again, the server node has weird error messages. The FileConnector is a class in the client jar. Why would the service needs the caller's

Use SLF4J in Ignite

2017-08-14 Thread waterg
Hello there, I'm having following error when starting Ignite server node SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further detail s. In maven pom

REST API put issue

2017-07-21 Thread waterg
I used REST API put command and was able to valid the number of entries using REST size command as well as visor. However when I use JDBC to connect to ignite directly, the select count(*) return 0 rows. Has anyone tried that before? Is it a bug? -- View this message in context: http://apache-i

Re: Use AtomicLong or AtomicSequence in Streaming

2017-07-21 Thread waterg
Hello has anyone got a chance to look at this issue? Thank you! -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Use-AtomicLong-or-AtomicSequence-in-Streaming-tp14350p15251.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Ignite REST

2017-07-20 Thread waterg
Thank you Val! -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-REST-tp14952p15216.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Ignite REST

2017-07-20 Thread waterg
Mikhail, found out some process is using 8080 and ignite used 8081 instead. Good catch! On the other hand, does Ignite REST support batch request? And if not, how good is the performance of REST comparing to Java API? -- View this message in context: http://apache-ignite-users.70518.x6.nabble

Re: Ignite REST

2017-07-20 Thread waterg
Mikhail, which version of ignite did you use? Was it 2.0.0? I used on 1.8 before and it worked fine, but not on 2.0 Btw, does Ignite REST support batch request? And if not, how good is the performance of REST comparing to Java API? Thank you for helping! -- View this message in context: http:

Re: Ignite REST

2017-07-15 Thread waterg
According to the document, I copied libs\optional\ignite-rest-http to libs\ignite-rest-http. the libs folder is part of classpath. and started ignite using bin/ignite.sh config/default-config.xml And then try this: curl http://localhost:8080/ignite?cmd=version But it says The requested file is n

Ignite REST

2017-07-14 Thread waterg
Hello there, does ignite REST supports batch calls? Thank you! Jessie -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-REST-tp14952.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Use AtomicLong or AtomicSequence in Streaming

2017-07-11 Thread waterg
Hello, has anyone got a chance to look at it? Thank you so much for helping! -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Use-AtomicLong-or-AtomicSequence-in-Streaming-tp14350p14648.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Use AtomicLong or AtomicSequence in Streaming

2017-07-06 Thread waterg
Hi Val, yes, this is the same issue. Appreciate helping out. Jessie -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Use-AtomicLong-or-AtomicSequence-in-Streaming-tp14350p14413.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Use AtomicLong or AtomicSequence in Streaming

2017-07-05 Thread waterg
Hello, Can I use AtomicLong or AtomicSequence in Streaming? I have implemented a service where it uses Atomic Long or Sequence to insert data. Meanwhile I have a streaming client and defines a streamVisit in which calls the service. I found that as soon as I use Atomic Long or Sequence in Servic

Re: Streaming test

2017-07-05 Thread waterg
Hello, has anyone got a chance to look at it? Thank you! -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Streaming-test-tp14039p14345.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Streaming test

2017-06-29 Thread waterg
Hello there, please my test project. You can see 1) The initialization seem didn't finish 2) the streaming client stopped after a while. If you take out the Atomic sequence part, the stream start to work. Thank you for helping. Jessie -- View this message in context: http://apache-ignite-users

Re: Streaming test

2017-06-28 Thread waterg
I noticed that when I try to create a atomic sequence in service init method, it hangs. Is there any reason that atomicSequence cannot be used in service.init? If not, what'd be the alternative? AffinityUUID? ignite.atomicSequence( "guid", // Sequence name. start,

Streaming test

2017-06-21 Thread waterg
Hello all, I'm testing streaming input data and call a service deployed. Two things happened quite confusing and could someone in the community help? 1. I print a '.' in StreamVisitor.from method to show it's running, and call service via proxy. It actually ran for over 17K but then stopped/stuck

Re: Configuring Ignite Services to deploy on Server nodes only

2017-06-14 Thread waterg
Hi there, I was looking into the same thing. This seems to be working for me https://apacheignite.readme.io/v2.0/docs/service-configuration

Ignite 2.0 off-heap memory

2017-06-08 Thread waterg
Hello, has anyone used visor to check the memory usage in 2.0? I set up a custom region and used the custom region in the cache configuration. But when I used visor, it shows that all the entries are on heap. Should I do something different? memory config:

Re: Expired entry in cache with persistent store

2017-05-30 Thread waterg
Hello, does someone have an ignite on this topic? Thank you very much! -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Expired-entry-in-cache-with-persistent-store-tp13156p13243.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Expired entry in cache with persistent store

2017-05-25 Thread waterg
Hello all, I have test program to help me better understand the design behavior of expired entry in cache with persistent store. I have write behind/read through enabled and created listener for expire event. The log below shows that if I use a get operation after an entry is expired, the entry w

Re: Write Behind with delete performance

2017-05-10 Thread waterg
Thank you for the quick explaining and creating jira tickets. Just a thought: If insert k1 =0, k2=2, k3 =3 and delete k1=0 and k1 is not being flushed to store yet, would it be possible to just delete in memory, w/o flushing to store? and deleteAll for all k1 like records that have been flushed t

Write Behind with delete performance

2017-05-09 Thread waterg
Hello I've come up with the code that 1. the write in parallel works great with the parameters below BUT, when I start to add deletes in the process, for example 1 remove every 19 puts, I start to the write behind performance deteriorates. And log looks like below: You see the delete are alm

Docker cluster set up

2017-05-08 Thread waterg
All, I'm trying to set up a cluster using docker. The network setting seems to have some problem. Could you please take a look and advise? I have two hosts and each will run a container. Static ip address and basic address resolver are used. This is part of configuration on one container.

Query search performance and scalability

2017-05-03 Thread waterg
I have a program that issues SQLQuery on colA, colA has a single column index. The cache has about 360K entries, and 298K unique values in colA. I ran the query 1M times with different values. If the cache only has cache key, here's the results I ran with three senario With 1 server node: average

Re: Disable WriteBehind

2017-04-19 Thread waterg
ation.CacheConfiguration$IgniteAllNodesPredicate* > *[15:36:09,213][INFO][exchange-worker-#25%null%][GridCacheProcessor] > Stopped cache: stagingCache* > > Is it expected behaviour? > > On Wed, Apr 19, 2017 at 1:43 AM, waterg <[hidden email] > <http:///user/SendEmail.jtp?type=node&n

Re: Disable WriteBehind

2017-04-18 Thread waterg
onfigured only > system caches. Did you run you test on this setup? > > On Sat, Apr 15, 2017 at 2:42 AM, waterg <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=11993&i=0>> wrote: > >> Hi, please see the log attached. >> >> On Fri, Apr

Re: Disable WriteBehind

2017-04-14 Thread waterg
Hi, please see the log attached. On Fri, Apr 14, 2017 at 9:07 AM, Nikolai Tikhonov-2 [via Apache Ignite Users] wrote: > Yes, Ignite.log. > > On Fri, Apr 14, 2017 at 6:54 PM, waterg <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=11984&i=0>> wro

Re: Disable WriteBehind

2017-04-14 Thread waterg
e? > > On Thu, Apr 13, 2017 at 8:36 PM, waterg <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=11979&i=0>> wrote: > >> Hello Nikolai, >> >> Thank you for your reply. >> I'm working a simplified maven project, to reproduce.

When is CacheStoreAdapter sessionEnd method called?

2017-04-13 Thread waterg
Hello, When is CacheStoreAdapter sessionEnd method called? I implemented a persistent store with a overriding sessionEnd mothod like this. @Override public void sessionEnd(boolean commit) { Connection conn = null; System.out.println("CALL me ");

Re: Persistent store connection pool xml configuration

2017-04-13 Thread waterg
Thank you! I'll give it a try. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Persistent-store-connection-pool-xml-configuration-tp11959p11964.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Disable WriteBehind

2017-04-13 Thread waterg
ou share simple maven project which can reproduce the behaviour? > > On Mon, Apr 10, 2017 at 9:59 PM, waterg <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=11878&i=0>> wrote: > >> Thank you for reply Nikolai. I have a more complex nested if-el

Persistent store connection pool xml configuration

2017-04-13 Thread waterg
Hello, I'm looking into using connection pool for persistent store and found the example below. https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/datagrid/store/jdbc/CacheJdbcStoreExample.java What would be equivalent configuration in xml? Thank you!

Re: visor failed to connect to cluster

2017-04-13 Thread waterg
thank you. That's spot on -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/visor-failed-to-connect-to-cluster-tp11919p11958.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

visor failed to connect to cluster

2017-04-12 Thread waterg
The following error happened when starting visor command line visor> open -cpath=../config/idreg-server-prod.xml [18:24:55]__ [18:24:55] / _/ ___/ |/ / _/_ __/ __/ [18:24:55] _/ // (7 7// / / / / _/ [18:24:55] /___/\___/_/|_/___/ /_/ /___/ [18:24:55] [18:

Re: Index on complex value object

2017-04-10 Thread waterg
w. There is an issue for this > improvement in Apache Ignite's Jira, I will find that issue and update > thread with it. > > 2017-04-10 18:16 GMT+03:00 waterg <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=11866&i=0>>: > >> He

Re: Disable WriteBehind

2017-04-10 Thread waterg
ex logic. > > On Fri, Apr 7, 2017 at 7:43 PM, waterg <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=11858&i=0>> wrote: > >> >> The entry point looks like this >> >>try(Ignite ignite = Ignition.start(getConfigFile())) { >>

Index on complex value object

2017-04-10 Thread waterg
Hello, If I have the following list as value in cache: class Sample{ Integer value1; Date value2; String value3; } List list= new ArrayList<>(); cache.put(key, list); Could I create index on the Sample.value1? on Ignite? -- View this message in context: http://apache-ignite-user

Re: Disable WriteBehind

2017-04-07 Thread waterg
ue? On Fri, Apr 7, 2017 at 2:26 AM, Nikolai Tikhonov-2 [via Apache Ignite Users] wrote: > Could you share code snippet which your benchmarked? > > On Fri, Apr 7, 2017 at 6:03 AM, waterg <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=11799&i=0>> wrote:

Re: Disable WriteBehind

2017-04-06 Thread waterg
o could > you describe more your case? > > On Wed, Apr 5, 2017 at 8:45 PM, waterg <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=11789&i=0>> wrote: > >> Thank you for the reply. >> Yes, I disabled both write through and write behind. >>

Re: Disable WriteBehind

2017-04-05 Thread waterg
Thank you for the reply. Yes, I disabled both write through and write behind. We're trying evaluate the application's performance on ignite and by taking the persistent store out of equation, we thought the performance shall improve, but on the contrary we saw performance dropped over 30%. What wou

Disable WriteBehind

2017-04-04 Thread waterg
Hello all, I'm testing the effect of write behind and how it impacts the performance. I found that if I simply disable write behind by setting writeThrough and writeBehindEnabled property to false, my application performance is WORSE than before. Is it something expected? Thank you! -- View t