Re: New version of Web Console released

2017-06-07 Thread Alexey Kuznetsov
Muthu, >> Is the web console not part of or deploy-able from the ignite fabric distrib Yes. It is not part of binary distribution. You can build it from sources or use Docker image (see: https://hub.docker.com/r/apacheignite/web-console-standalone/tags/) >> .but i do not find any directory named

Re: New version of Web Console released

2017-06-07 Thread Alexey Kuznetsov
Denis, >>>Sounds great! BTW, was this ticket resolved as a part of the release: >>> https://issues.apache.org/jira/browse/IGNITE-5303 (supporting multiple RDBMS configurations from the wizard) Yes we fixed this issue, now it is on testing with all major RDBMS. -- Alexey Kuznetsov

Get by key only working on .net for certain long literal values

2017-06-07 Thread Gordon Reid (Nine Mile)
Hi There, This one is very strange. I have a .NET client, Java client and Java server. All running locally on windows desktop. On the server side I have some cache entries, SecurityKey,Security I have two Security objects, one with id=4 and one with id=953 On the Java client, this works no pr

update existing cache

2017-06-07 Thread Chetan D
Hi Pavel, I am using the same car program which you have written in blog and i have some doubts on that. I have the following scenarios which i have doubts on. 1.#region using put List directcar = new List(); while (rdr.Read()) {

Re: Failed to wait for initial partition map exchange

2017-06-07 Thread Vladimir
Unfortunately, it’s not a warning. New node cannot join the cluster. And there is no heavy load on the cluster, no CPU/memory consumption. No any network problem because I tested all the nodes on single machine. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Fai

Re: update existing cache

2017-06-07 Thread Pavel Tupitsyn
Hi Chetan, I'm not sure about #1 and #3 - why do you add all entities as a list with a single key? Typically this is not how Ignite is used. Proper way is to add each entity (Car) as a separate cache entry, with unique key (id), like in #2. As soon as you have all data in cache, each Car with a u

Re: New version of Web Console released

2017-06-07 Thread Muthu
Thanks Alexey! for the pointers. For the ORM alternate case the use case is the below (basically today we are thinking of using Ignite with MyBatis with Ignite being the L2 cache (among other things) & MyBatis being the persistence framework, the question is can Ignite do the cache with the Web con

Re: update existing cache

2017-06-07 Thread Chetan D
Hi Pavel, I got that its easy when there is a key with value but my requirement is such that i need to store all values of table with single key associated. The code which you sent is not working and doesnt give any error as well. you have sent it in case when an update happens. my question is

Re: update existing cache

2017-06-07 Thread Chetan D
also i am doing this and got the following error dont know what it is. SqlCommand cmd = new SqlCommand("select Name,Power from Cars", con); con.Open(); rdr = cmd.ExecuteReader(); #region using put List directcar = new

Re: IGFS Question

2017-06-07 Thread Yermek
Hi, maybe like this: try ( InputStream in = fs.open(new IgfsPath(dataPath)); BufferedReader buffer = new BufferedReader(new InputStreamReader(in)); IgniteDataStreamer dsStreamer = ignite.dataStreamer(cache.getName()) ) { AtomicInteger i = new Atom

Re: update existing cache

2017-06-07 Thread Chetan D
Hi, I need one more help can you tell me how to start ignite node without using Visual studio. i have seen this command $bin/ignite.sh but its not working On Wed, Jun 7, 2017 at 4:29 PM, Chetan D wrote: > Hi Pavel, > > when a new record has been added to DB i have handled it through event

Re: update existing cache

2017-06-07 Thread Pavel Tupitsyn
> my requirement is such that i need to store all values of table with single key associated How many values do you plan to store in a single Ignite entry? Typically you have one Ignite cache entry for one DB row. > when a new record has been added and that new record i need to insert it to cache

Re: New version of Web Console released

2017-06-07 Thread Alexey Kuznetsov
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! for the pointers. For the ORM alternate case the use case > is the below (basically today we are thinking of using Ignite with MyBatis > with Ignite bei

Is it necessary to configure setting HBase which use Secondary File System?

2017-06-07 Thread Takashi Sasaki
Hello, I'm newbie of Ignite, so have some question. When I use Secondary File System to write HBase WAL, should I use igfs:// instead of hdfs:// ? hbase-site.xml(default) is hdfs://. -- hbase.wal.dir hdfs://[dnsname]:[port]/user/hbase/WAL -- Does the secondary file system

Re: update existing cache

2017-06-07 Thread Chetan D
Hi Pavel, I have implemented Lock but got following exception. using (var cacheLock = cache.Lock(1)) { cacheLock.Enter(); List cars = cache.Get(1); cars.Add(newCar); cache.Put(1, cars);-->exception here cacheLock.Exit(); } Apache.Ignite.Core.Cache.Stor

Re: update existing cache

2017-06-07 Thread Pavel Tupitsyn
Hi Chetan, is that full stack trace? Pavel On Wed, Jun 7, 2017 at 4:20 PM, Chetan D wrote: > Hi Pavel, > > I have implemented Lock but got following exception. > > using (var cacheLock = cache.Lock(1)) > { > cacheLock.Enter(); > List cars = cache.Get(1); > cars.Add(newCar); > ca

Re: Ignite to Cassandra change from 1.9 to 2.0

2017-06-07 Thread Kenan Dalley
Thanks, Igor. We look forward to the next version coming out. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-to-Cassandra-change-from-1-9-to-2-0-tp13099p13470.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: BinaryInvalidTypeException: Unknown pair [platformId=.., typeId=...] when using CacheJdbcPojoStoreFactory and read/write-through

2017-06-07 Thread Andrey Mashenkov
Binary configuration is global and not related to cache. So, there is no way to use it with NodeFilter. You can try to disable configuration consistency check with JVM option IGNITE_SKIP_CONFIGURATION_CONSISTENCY_CHECK, but i'm not sure it will help. On Tue, Jun 6, 2017 at 7:54 PM, Vladimir wrot

Re: Get by key only working on .net for certain long literal values

2017-06-07 Thread Pavel Tupitsyn
Hi Gordon, Seems like all your threads are related: http://apache-ignite-users.70518.x6.nabble.com/BinaryIdentityResolver-is-gone-in-2-0-but-default-seems-to-have-a-problem-td13444.html http://apache-ignite-users.70518.x6.nabble.com/UPDATED-BinaryIdentityResolver-is-gone-in-2-0-but-default-seems-t

Re: BinaryIdentityResolver is gone in 2.0 but default seems to have a problem

2017-06-07 Thread Pavel Tupitsyn
Let's move the discussion to a single thread: http://apache-ignite-users.70518.x6.nabble.com/Get-by-key-only-working-on-net-for-certain-long-literal-values-td13456.html On Wed, Jun 7, 2017 at 6:21 AM, Gordon Reid (Nine Mile) < gordon.r...@ninemilefinancial.com> wrote: > Hi There, > > > > I am abl

Re: UPDATED: BinaryIdentityResolver is gone in 2.0 but default seems to have a problem

2017-06-07 Thread Pavel Tupitsyn
Let's move the discussion to a single thread: http://apache-ignite-users.70518.x6.nabble.com/Get-by-key-only-working-on-net-for-certain-long-literal-values-td13456.html On Wed, Jun 7, 2017 at 6:23 AM, Gordon Reid (Nine Mile) < gordon.r...@ninemilefinancial.com> wrote: > Hi There, > > > > I am abl

Re: update existing cache

2017-06-07 Thread Chetan D
Hi Pavel, That is the full stack trace On Jun 7, 2017 7:00 PM, "Pavel Tupitsyn" wrote: > Hi Chetan, is that full stack trace? > > Pavel > > On Wed, Jun 7, 2017 at 4:20 PM, Chetan D wrote: > >> Hi Pavel, >> >> I have implemented Lock but got following exception. >> >> using (var cacheLock = cac

Re: Continuous Query remote listener misses some events or respond really late

2017-06-07 Thread begineer
Hi.. Sorry its quite late to reply. CQ is setup in execute method of service not in init(), but we do have initialQuery in CQ to scan existing events to matching the filter. Below is snapshot of one of the many ignite services set to process trade on when trade moves to particular status. As you c

Re: Scheduler throwing NullPointerException for Ignite 2.0.0

2017-06-07 Thread Alexey Goncharuk
Hi Raul, Do you observe this exception under some specific events, like topology change? Can you share an example of how you use Ignite scheduler in your service here? Thanks, AG 2017-06-06 17:21 GMT+03:00 Raul : > Hi, > > We are trying to deploy a service as cluster singleton in our environmen

Re: How to create a compute tasks which uses Cache and transaction?

2017-06-07 Thread Denis Magda
Sure, use a constructor. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-to-create-a-compute-tasks-which-uses-Cache-and-transaction-tp13339p13480.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Scheduler throwing NullPointerException for Ignite 2.0.0

2017-06-07 Thread Raul
Hi Alexey, This exception occurs right on start up as we try to add our services to the cron. We are using the scheduler as an example given your docs ( https://apacheignite.readme.io/docs/cron-based-scheduling). Below is the example, similar to the issue raised by another user, link for the ref

Re: update existing cache

2017-06-07 Thread Pavel Tupitsyn
That is strange, can you wrap it in try-catch block and print out ex.ToString()? How many nodes do you have? On Wed, Jun 7, 2017 at 5:46 PM, Chetan D wrote: > Hi Pavel, > > That is the full stack trace > > On Jun 7, 2017 7:00 PM, "Pavel Tupitsyn" wrote: > >> Hi Chetan, is that full stack trace?

Re: Ignite Cache returning Null value from Mapper

2017-06-07 Thread Michael Cherkasov
Hi Prashant, Could you please collect more logs, please add "-DIGNITE_QUIET=false" arg to Createcache and TestMapper runs? I even tried CentOS with the same version as you have, but it still works fine for me. I have a suggestion, usually there's separate account for Hadoop, and when you try to r

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! for the pointers. For the ORM alterna

R: Memory Leak or my Error?

2017-06-07 Thread Devis Balsemin
Hi Vladimir, for now i have change my code in this way: From queryCursor = cache.query(new SqlQuery(cls, whereCondition).setArgs(whereParams)); With cache.iterator() and Java 8 Stream/Filter/…. My memory now works very fine over 37.4% less of resources and CMS objects in garbage

Re: Get by key only working on .net for certain long literal values

2017-06-07 Thread Gordon Reid (Nine Mile)
Hi. Yes, I am on 2.0. Get Outlook for Android From: Pavel Tupitsyn Sent: Thursday, June 8, 2017 12:26:41 AM To: user@ignite.apache.org Subject: Re: Get by key only working on .net for certain long literal values Hi Gordon, Seems like all

Re: Failed to wait for initial partition map exchange

2017-06-07 Thread vkulichenko
Please attach full logs. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Failed-to-wait-for-initial-partition-map-exchange-tp6252p13487.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Ignite Web Console

2017-06-07 Thread Muthu
Hi Folks, Does the new Ignite web console have full support for automatic RDBMS integration as mentioned @ https://apacheignite-tools.readme.io/docs/automatic-rdbms-integration Can Ignite do the caching with the Web console's RDBMS Integration or Model support being used to play the role of the p

Re: IGFS Question

2017-06-07 Thread Ishan Jain
But for this i have to open ignite with IGFS config. How will i use ignite then with normal config? On Wed, Jun 7, 2017 at 3:55 PM, Yermek wrote: > Hi, maybe like this: > > try ( > InputStream in = fs.open(new IgfsPath(dataPath)); > BufferedReader buffer = new BufferedReader(ne

Re: IGFS Question

2017-06-07 Thread Ishan Jain
And IGFS cache is system cache so cannot be remotely accessed. On Thu, Jun 8, 2017 at 8:51 AM, Ishan Jain wrote: > But for this i have to open ignite with IGFS config. How will i use ignite > then with normal config? > > On Wed, Jun 7, 2017 at 3:55 PM, Yermek > wrote: > >> Hi, maybe like this:

Re: Is it necessary to configure setting HBase which use Secondary File System?

2017-06-07 Thread Takashi Sasaki
Hello, I used igfs:// instead of hdfs:// for hbase.wal.dir property, then HBase Master Server throwed Exception. 2017-06-08 02:51:56,745 ERROR [main] master.HMasterCommandLine: Master exiting java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster.

Re: vertx-ignite

2017-06-07 Thread Anil
Hi Nikhonov, May I know the reason for adding template configuration. Its a generic cache configuration. I have added all cache configurations required for my application explicitly in ignite.xml as we don't use java based IgniteCache creation. I dont see any importance of adding template configu

Re: update existing cache

2017-06-07 Thread Chetan D
yes i tried with try catch and the same message i got. Apache.Ignite.Core.Cache.Store.CacheStoreException was unhandled by user code HResult=-2146233088 Message=class org.apache.ignite.transactions.TransactionRollbackException: Transaction has been rolled back: 48906b28c51--0674- db36-