Re: Please warn Oracle Java8 VM has inline optimization error!

2016-09-07 Thread wbyeh
https://youtu.be/dQxGd_yiQ4A I think I solved this Java 8 optimization by '-XX:-TieredCompilation' or change the code above not to use autobox during method call. It's quite . e.g. Double w =4; Double p =4; askrec.setWin(w); askrec.setPlace(p); public void setPlace(Dou

"OFFHEAP_VALUES" MODE (VISOR CONSOLE)

2016-09-07 Thread Ignitebie
Hi, We have configured few caches in "OFFHEAP_VALUES" mode and trying to see how entries are being deployed (ON/OFF) using visor. Our observation it that for "OFFHEAP_TIERED", visor show entries in off heap metrics on visor console. However, for OFFHEAP_VALUES, visor show count 0 for off heap and

Re: LOOK THORUGH THIS ERROR

2016-09-07 Thread Ravi Puri
hello, can u provide with other method to load data into cache or nay other way ? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/LOOK-THORUGH-THIS-ERROR-tp6977p7600.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Yarn Ignite Container Automatically exit when other yarn application running

2016-09-07 Thread percent620
Thanks Nikolai Tikhonov-2 response. *Did you use kerberos authentication for YARN? *No *And could you clarify which version of hadoop are you using?* hadoop-2.6.0-cdh5.5.0 -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Yarn-Ignite-Container-Automatically-exit

Re: Please warn Oracle Java8 VM has inline optimization error!

2016-09-07 Thread wbyeh
Val, I've consolidated the test case. https://github.com/WENPIN1/Ignite_Java8_Test -Patrick -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Please-warn-Oracle-Java8-VM-has-inline-optimization-error-tp7582p7598.html Sent from the Apache Ignite Users mailing lis

Re: Reassign partitions

2016-09-07 Thread wetnose
Hi, Look at the following list of steps * Create a cache "X" with 3 partitions and 1 backup, configure a local store * Start Node1 and Node2, the affinity function assigns nodes as follows part.0: Node1 (prim) Node2 (back) part.1: Node2 (prim) Node1 (back) part.2: Node1 (prim) Node2 (

Re: understanding Locks usage

2016-09-07 Thread javastuff....@gmail.com
With Key Vs Entry lock, I am talking about lock granularity. Key lock is kind of synchronous block or method which have processing logic unrelated to the key or cached data being processed but a different shared resource. Kind of distributed mutex. but note that it does not need all other feature

Re: Please warn Oracle Java8 VM has inline optimization error!

2016-09-07 Thread vkulichenko
Hi Patrick, Is there a test that reproduces the issue? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Please-warn-Oracle-Java8-VM-has-inline-optimization-error-tp7582p7595.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Automatic Persistence - POJOs and XMLs for couchbase

2016-09-07 Thread Abhishek Jain
Thanks Andrey,Alexey and Val, The issue got resolved. The issue was with the enterprise version of couchbase 4.5.0. I removed it and installed the couchbase community version 4.1.0. And I am able to generate the pojos and xml files. I appreciate all of yours great efforts. Regards Abhishek On T

Re: understanding Locks usage

2016-09-07 Thread vkulichenko
Sam, javastuff@gmail.com wrote > Is there any other way to take a distributed lock which can be unlocked by > owner thread, but does not need same LOCK instance? I mean unlock api > finds and gets the lock instance automatically to unlock. I am not sure if > IgniteLock can do that, not yet tr

Re: Cache Problems

2016-09-07 Thread vkulichenko
Hi Zhou, Most likely this ticket is not connected with what you're seeing. Please show full cache configuration and the code sample that reproduces the behavior. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Cache-Problems-tp7477p7592.html Sent from the

Re: understanding Locks usage

2016-09-07 Thread javastuff....@gmail.com
Thanks. Let me put it other way, Is there any other way to take a distributed lock which can be unlocked by owner thread, but does not need same LOCK instance? I mean unlock api finds and gets the lock instance automatically to unlock. I am not sure if IgniteLock can do that, not yet tried. Coupl

Re: Runtime error caught during grid runnable execution

2016-09-07 Thread vkulichenko
Hi, Can you attach the full log file? This NPE usually follows other exception which is actually the root cause, -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Runtime-error-caught-during-grid-runnable-execution-tp7588p7590.html Sent from the Apache Ignit

Re: IgniteConfiguration object not serializable during spark job

2016-09-07 Thread vkulichenko
Hi Ming, Yes, IgniteConfiguration is indeed not serializable. That's why IgniteContext accepts factory closure to create it instead of the instance itself. You should create IgniteConfiguration inside the closure, this way it will be created on the executor and will never be serialized. -Val -

Runtime error caught during grid runnable execution

2016-09-07 Thread Ignitebie
Hi, We tried to do a resiliency test for 7 node grid (where in 2 nodes as cache servers replicated mode). Whereas failover was transparent from one node to other node, however, on trying to reconnect first node back, we got following error and java process seems up after that, however, it is not

Re: Web Console on Local Machine not working

2016-09-07 Thread Alexey Kuznetsov
@Pawantlor, Sorry for delay, we are almost finished with testing and I'm really hope that we will rollout changes and Docker image tomorrow. Thanks On Wed, Sep 7, 2016 at 8:49 PM, pawantlor wrote: > @Alexey We are eagerly waiting for changes to be pushed and make web > console > working. Pleas

Re: Web Console on Local Machine not working

2016-09-07 Thread pawantlor
@Alexey We are eagerly waiting for changes to be pushed and make web console working. Please push frontend and backend folders to master/1.7 branch. Thanks Pavan -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Web-Console-on-Local-Machine-not-working-tp7229p758

Re: [EXTERNAL] Re: class org.apache.ignite.IgniteCheckedException: Failed to register query type: TypeDescriptor

2016-09-07 Thread chevy
Thanks for the help Sergi. I ran jps and found a thread hanging which had skipped my exit criteria. Started working after I killed it. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/class-org-apache-ignite-IgniteCheckedException-Failed-to-register-query-type-Typ

Re: Yarn Ignite Container Automatically exit when other yarn application running

2016-09-07 Thread Nikolai Tikhonov
And could you clarify which version of hadoop are you using? On Wed, Sep 7, 2016 at 3:05 PM, Nikolai Tikhonov wrote: > Hi, > > Did you use kerberos authentication for YARN? > > On Fri, Sep 2, 2016 at 3:46 AM, percent620 wrote: > >> but from yarn contains, i can't find any errors. >> >> >> somet

Re: Yarn Ignite Container Automatically exit when other yarn application running

2016-09-07 Thread Nikolai Tikhonov
Hi, Did you use kerberos authentication for YARN? On Fri, Sep 2, 2016 at 3:46 AM, percent620 wrote: > but from yarn contains, i can't find any errors. > > > sometimes the yarn am ignite was shutdown down(and sometimes restart a new > AM, i don't know why)? > > > > -- > View this message in cont

Please warn Oracle Java8 VM has inline optimization error!

2016-09-07 Thread wbyeh
Dear Friends, I just test ignite 1.7.0 with Oracle JDK8 with some occasional error on adjacent calling on Cache Object setters, it seems some bytecode optimization caused the passing parameter to be ignored on the subsequent setter call. e.g. double w, p =0; w = p =4.0; askrec.setWin(w);

Re: Access cache entries in C++ via JNI call

2016-09-07 Thread Igor Sapego
Hi Caio, I don't think it's possible currently. We have plans on introducing Compute functionality into C++ client, but it is not there yet and you can't access cache entities from the JNI using public API. Best Regards, Igor On Fri, Sep 2, 2016 at 2:04 PM, Caio Nishibe wrote: > Hi Igor, > > m

Re: why allocated containers much more than INGNITE_NODE_COUNT?

2016-09-07 Thread Nikolai Tikhonov
Val, Shirely Yes. our YARN integration does not support win environment. I've created ticket on it https://issues.apache.org/jira/browse/IGNITE-3850 On Wed, Sep 7, 2016 at 5:23 AM, vkulichenko wrote: > Nikolai, > > Is this a bug? Should we create a ticket? > > -Val > > > > -- > View this messag

IgniteConfiguration object not serializable during spark job

2016-09-07 Thread ming.he
Hi Guys, I am coding a simple application with Ignite and Spark, UT works well, but when make assembly fat jar and run with Spark, I got this error. It looks IgniteConfiguration can't serializable, but in IgniteContext, Once variable, this type value marked as @transient, it should not need to

Re: CacheJdbcPojoStore with MariaDB

2016-09-07 Thread Alexey Kuznetsov
Hi, @seyeony! I see that you are giving 1Gb of heap to node. Could you try with >=2Gb and try once more. -- Alexey Kuznetsov GridGain Systems www.gridgain.com

Re: CacheJdbcPojoStore with MariaDB

2016-09-07 Thread seyeony
Hi Alexey, After a while, i got some logs more as follows: logs from node-1 === Exception in thread "mgmt-#69%null%" java.lang.OutOfMemoryError: GC overhead limit exceeded logs from node-2 === [18:22:11,333][SEVERE][mgmt-#67%null%][GridJobWorker] Failed to execute job [jobId=0414c

Re: CacheJdbcPojoStore with MariaDB

2016-09-07 Thread seyeony
Hi Alexey, I modified the examples of examples/schema-import/src/main/java/org/apache/ignite/schema/* 1. 5802153 objects of AffiliateStore (This was created with bin/ignie-schema-import.sh) 2. OFFHEAP_TIERED is used already. 3. start 3 node: ignite.sh example-ignite.xml ( with modified example-def

Re: IgniteClientDisconnectedException

2016-09-07 Thread Vladislav Pyatkov
Hi, The stack does not contain any information why client is disconnected. Could you please provide logs files from server nodes? About configure mechanism of kicking off slow client, you can look the article[1]. But turn off this is bad idea, because slow client can lead to memory leak on server

Re: CacheJdbcPojoStore with MariaDB

2016-09-07 Thread Alexey Kuznetsov
Hi, @seyeony! I see OutOfMemoryError in your stack trace. How many objects are you trying to load in cache? Maybe you should switch to OFFHEAP_TIERED mode? See: https://apacheignite.readme.io/docs/off-heap-memory#offheap_tiered Also could you attach your config, logs from all nodes and describe