jdbc connection URL with more than 1 cache

2016-08-31 Thread seyeony
hi, i'm learing and testing ignite for feasibility. during test i met the following problem. when i define jdbc connection url with 2 params (2 caches) as follows, i got errors at executeQuery. however if i defie just 1 cache, it works fine. try { Class.forName("org.apache.ignite.Ignit

Re: javax.cache.CacheException: Failed to find mapping description

2016-08-31 Thread Alexey Kuznetsov
@vikramT, I found the problem and created issue: https://issues.apache.org/jira/browse/IGNITE-3816 You may workaround by specifying all DB related names in uppercase. See your CacheConfig.java and change // Key fields for inventory_orders. Collection keys = new ArrayList<>();

is there a interface let client know the change of assignment(like topology version)?

2016-08-31 Thread bluehu
for example, C is a client, X and Y are ignite server, then server Z join in: topologyVersion changed immediately, and then rebalance start, a CacheAffinityChangeMessage will sent after rebalance finished, then assignment changed. is there a interface let client know the change of assignment(like

Re: Any plan for a book on Apache Ignite

2016-08-31 Thread Barrett Strausser
There are couple of types on the leanpub page that was linked above. The authors might wish to correct them because they detract from what looks to be an impressive book. On Wed, Aug 31, 2016 at 4:04 AM, srecon wrote: > Hello Denis, > We have a plan to sell the book with minimum price and wi

Re: Clearing a distributed queue hangs after taking down one node

2016-08-31 Thread juanma.cvega
Hi, thanks for opening the ticket. I think I have subscribed already. I've followed the instructions in the email 3 times already. Any suggestion about the last part of the email? I'm still not able to make the queue consumption fair when 2 instances are running. Using the same sleep time for b

Re: Rebalance is skipped

2016-08-31 Thread Sergii Tyshlek
Sorry for bothering. Turns out, it was our misconfiguration. It's unlikely that someone will have similar issue, but still, here's what happened: In order to fix another issue (circular references and lazy-loading in our components), some time ago we changed cache mode of atomic cache to LOCAL. A

Re: Resolve using DNS rather than a multi-cast ip address

2016-08-31 Thread Vladislav Pyatkov
Hi, Yes, you can specify DNS name or IP in ip finder. Also ignite contains not only multicast ip finder. Lock at the article[1] [1]: https://apacheignite.readme.io/docs/cluster-config#static-ip-based-discovery On Wed, Aug 31, 2016 at 5:47 PM, Scott Tyriver wrote: > Hello I was wondering if Ign

Re: javax.cache.CacheException: Failed to find mapping description

2016-08-31 Thread Alexey Kuznetsov
@Val, @vikramT, @Vasiliy, FYI: I created issue: CacheJdbcPojoStore.loadCache() should check arguments and fail with appropriate exception message [ https://issues.apache.org/jira/browse/IGNITE-3815]. That was exactly what could help @vikramT to resolve initial bug. On Wed, Aug 31, 2016 at 6:04 PM

Resolve using DNS rather than a multi-cast ip address

2016-08-31 Thread Scott Tyriver
Hello I was wondering if Ignite supports using a DNS string as an alias to a multi-cast ip address? All the examples I have seen use an ip address as the multi-cast address. Scott Tyriver ยง System

Re: why allocated containers much more than INGNITE_NODE_COUNT?

2016-08-31 Thread Nikolai Tikhonov
Hi, Could you try to run examples over YARN (for example http://wiki.apache.org/hadoop/WordCount)? If it works could you share your ignite-yarn configuration file? On Tue, Aug 30, 2016 at 12:19 PM, shirely wrote: > hi, > Thanks for your advise. I found that launch container always failed. > bec

Re: javax.cache.CacheException: Failed to find mapping description

2016-08-31 Thread Alexey Kuznetsov
@vikramT, thanks for logs we will take a look. I see NPE in log, so we will try to reproduce. On Wed, Aug 31, 2016 at 1:31 PM, vikramT wrote: > hi Vasiliy, Alexey, > > I tried this code "cache.loadCache(null,InventoryOrdersKey.class. > getName(), > "select * from inventory_orders");" and gettin

Re: Can not find schema for object with compact footer

2016-08-31 Thread Vladislav Pyatkov
The solution available on Apache ignite master branch. On Wed, Aug 31, 2016 at 11:59 AM, Vladislav Pyatkov wrote: > Hi, > I assume the issue has solved around week ago. > Lock at the ticket https://issues.apache.org/jira/browse/IGNITE-3618 > Can you check it in your case? > > On Wed, Aug 31, 201

Re: Can not find schema for object with compact footer

2016-08-31 Thread Vladislav Pyatkov
Hi, I assume the issue has solved around week ago. Lock at the ticket https://issues.apache.org/jira/browse/IGNITE-3618 Can you check it in your case? On Wed, Aug 31, 2016 at 7:56 AM, hahadada wrote: > This is what it looks like > //declarations > IgniteCache eventCache; > > > if (event

Re: Any plan for a book on Apache Ignite

2016-08-31 Thread srecon
Hello Denis, We have a plan to sell the book with minimum price and will be available for free for teachers and students (one of the coauthors of this book is a lecturer of Moscow University). The book is not ready yet (53% completed) and i am not sure to add the link to Ignite official docs.