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

2016-08-30 Thread vikramT
hi Vasiliy, Alexey, I tried this code "cache.loadCache(null,InventoryOrdersKey.class.getName(), "select * from inventory_orders");" and getting different error log ignite-19d380e7.log Also I have added constructo

Re: Why store raw value in cache when peer class loading is enabled?

2016-08-30 Thread amdam23000
Got it, thanks. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Why-store-raw-value-in-cache-when-peer-class-loading-is-enabled-tp7423p7429.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

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

2016-08-30 Thread Alexey Kuznetsov
I think - YES. I will create issue in JIRA. On Wed, Aug 31, 2016 at 12:55 PM, vkulichenko wrote: > Vasiliy, Alexey, > > Does it make sense to validate the arguments on the early stage and give a > meaningful exception? > > -Val > > > > -- > View this message in context: http://apache-ignite-user

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

2016-08-30 Thread vkulichenko
Vasiliy, Alexey, Does it make sense to validate the arguments on the early stage and give a meaningful exception? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/javax-cache-CacheException-Failed-to-find-mapping-description-tp7350p7427.html Sent from the A

Re: Can not find schema for object with compact footer

2016-08-30 Thread hahadada
This is what it looks like //declarations IgniteCache eventCache; if (event.getEventId() == null) { throw new IllegalArgumentException("No event ID found for " + event.toString() + " unable to write to cache"); } boolean success =

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

2016-08-30 Thread Vasiliy Sisko
Hello @vikramT. I reproduce your problem. You incorrectly pass arguments for loadCache method. For loadCache class name string is required: “org.infocepts.ignite.hiveCache.InventoryOrdersKey”. You send class Class.forName(InventoryOrdersKey.class.getName()) that transforms to “class org.infocep

Re: Why store raw value in cache when peer class loading is enabled?

2016-08-30 Thread vkulichenko
Hi, The purpose of the ticket you mentioned is to fix this. So I believe this is not necessary and actually this is a legacy code left from before-the-binary-format era. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Why-store-raw-value-in-cache-when-peer

Why store raw value in cache when peer class loading is enabled?

2016-08-30 Thread amdam23000
Hi All, when i looked into IGNITE-2417 , i found that the raw data was stored in cache though its marshalled byte data was already cached.And this is what causes IGNITE-2417. Relevant source code (In IgniteCacheObjectProcessorImpl.java): boolea

Re: LOCAL cache and EntryProcessor

2016-08-30 Thread vkulichenko
Hi, 1. You can get the cache mode for a particular cache like this: CacheMode mode = cache.getConfiguration(CacheConfiguration.class).getCacheMode(); 2. You can use invoke() with local cache like with any other cache. No need for special handling with explicit locks. -Val -- View this messag

Re: IgniteCompute.broadcast() stuck

2016-08-30 Thread vkulichenko
Hi Binti, Such a dump only means that a client is executing a task and waiting for the result. Is it executing longer than you expect? What is actually wrong from your point of view? Also there was no such thread in the dump files you provided. Please make sure that you grab dumps and logs when t

Re: Cannot recreate cache after cache.destroy()

2016-08-30 Thread vkulichenko
Hi, I noticed that you're reusing the CacheConfiguration when you recreate the cache: CacheConfiguration cacheCfg = new CacheConfiguration(cache.getConfiguration(CacheConfiguration.class)); This looks suspicious and can be the reason for the issue. Please try to create brand new configuration ea

LOCAL cache and EntryProcessor

2016-08-30 Thread javastuff....@gmail.com
1. We have a separate logic for local cache for a specific scenario, How to find cache mode for a given cache name? Does below code correct or there is alternate way - private boolean isLocalCache(String pObjectType) { CacheConfiguration[] cfg = ignite.configuration().getCacheConfigu

Re: Unexpected exception during cache update java.lang.ArrayIndexOutOfBoundsException: -503

2016-08-30 Thread vkulichenko
Hi, Please properly subscribe to the mailing list so that the community can receive email notifications for your messages. To subscribe, send empty email to user-subscr...@ignite.apache.org and follow simple instructions in the reply. wjw465150 wrote > i see source code;i guess java array use In

Re: Local node seems to be disconnected from topology (failure detection timeout is reached)

2016-08-30 Thread vkulichenko
Hi Yuci, It's one or another - you either use failureDetectionTimeout or fine grained settings that you mentioned. In case you use the latter, failureDetectionTimeout is ignored. Having said that I would recommend to try failureDetectionTimeout first and see how it works. Then try everything else

Re: Can not find schema for object with compact footer

2016-08-30 Thread vkulichenko
Hi, Can you show the code which does the failing cache put? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Can-not-find-schema-for-object-with-compact-footer-tp7406p7416.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: GET with LIKE operator for keys

2016-08-30 Thread javastuff....@gmail.com
Thank you again. My bad I missed 'Predefined Fields' note from documentation. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/GET-with-LIKE-operator-for-keys-tp7381p7415.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Way to save Multiple queries results for further manipulation

2016-08-30 Thread vkulichenko
This is not possible right now, but there is a huge task for this on the roadmap: https://issues.apache.org/jira/browse/IGNITE-961 Looks like that there is some progress, but it's not finished yet. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Way-to-sav

Re: How do I know the cache rebalance is finished?

2016-08-30 Thread vkulichenko
Kamal, >From what I see, the ticket is still Open but it's assigned. I recommend to ask Semen on the dev@ list about the status. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-do-I-know-the-cache-rebalance-is-finished-tp5219p7413.html Sent from the Ap

Re: How to accomplish Master node failover - without resubmit

2016-08-30 Thread vkulichenko
Vinay, The previous master node could already collect results from some jobs, so I don't think it's theoretically possible without saving the data somewhere. And there is no out of the box mechanism for that, but you can easily achieve what you want. For example, create an event listener for fail

Re: Simulating network outage in tests

2016-08-30 Thread Anand Kumar Sankaran
Thanks again, Val. On 8/29/16, 3:48 PM, "vkulichenko" wrote: Hi Anand, I recommend you to ask on the dev@ list about this. Most likely you will get better guidance there. -Val -- View this message in context: https://urldefense.proofpoint.com/v2

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

2016-08-30 Thread vdpyatkov
Hello, Please properly subscribe to the mailing list so that the community can receive email notifications for your messages. To subscribe, send empty email to user-subscr...@ignite.apache.org and follow simple instructions in the reply. Thank for the information. I have created matching issue:

Re: Local node seems to be disconnected from topology (failure detection timeout is reached)

2016-08-30 Thread yucigou
Hi vdpyatkov, Thanks for the advice. I've just looked at the documentation (http://apacheignite.gridgain.org/docs/cluster-config), there are actually four timeouts to set for TcpDiscoverySpi: 1. setNetworkTimeout(long) 2. setSocketTimeout(long) 3. setAckTimeout(long) 4. setJoinTimeout(long) Wond

Re: How to accomplish Master node failover - without resubmit

2016-08-30 Thread Vinay B,
Thanks. 1. The "non-cancellation" behavior is useful. 2. Our worker results tend to be heavyweight we would ideally like another master to transparently take over the role of the failed master without the worker knowing about master node failure and without having to save results. Is this possible

ApacheCon Seville CFP closes September 9th

2016-08-30 Thread Rich Bowen
It's traditional. We wait for the last minute to get our talk proposals in for conferences. Well, the last minute has arrived. The CFP for ApacheCon Seville closes on September 9th, which is less than 2 weeks away. It's time to get your talks in, so that we can make this the best ApacheCon yet. I

Can not find schema for object with compact footer

2016-08-30 Thread hahadada
Hi, Often we get this exception while restarting our nodes. what we do to resolve this is to clean marshaller directories for all nodes (there are separate dirs for diff nodes to keep separation). Do we know cause for this and solution for fixing. attache full stack trace 2016-08-30 15:14:24.

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

2016-08-30 Thread vikramT
Please find screen for my table definition Capture.JPG Also I have attached the files generated by Schema Import utility, in the post. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/java

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

2016-08-30 Thread Alexey Kuznetsov
That's interesting... Could you provide DDL for InventoryOrders table. In that case we will easily reproduce and debug. P.S. Could you properly subscribe for user list? In this case all will receive e-mail about new messages in this thread? Messages that posted via forum not propagated to e-mail

Re: how to automatically exit JVM when the node stops?

2016-08-30 Thread Kamal C
Implement the Ignite LifeCycleBean [1] and stop the JVM on receiving the event [2] [1]: https://ignite.apache.org/releases/mobile/org/apache/ignite/lifecycle/LifecycleBean.html [2]: https://ignite.apache.org/releases/mobile/org/apache/ignite/lifecycle/LifecycleEventType.html#AFTER_NODE_STOP -- Ka

Re: why allocated containers much more than INGNITE_NODE_COUNT?

2016-08-30 Thread shirely
hi, Thanks for your advise. I found that launch container always failed. because there is a syntax error in launcontainer.cmd. In launchcontainer.cmd, there are some lines with syntax error: @set IGNITE_RELEASES_DIR=/ignite/releases/ @if %errorlevel% neq 0 exit /b %errorlevel% @set ComSpec=C:\Win

Re: How do I know the cache rebalance is finished?

2016-08-30 Thread Kamal C
Bumping up this thread. I've a similar requirement. What is the outcome of this thread ? My cache re-balance mode is Synchronous. How to know the cache re-balance is completed ? -- Kamal On Fri, Jun 24, 2016 at 2:25 PM, Vladislav Pyatkov wrote: > Hello, Andrew. > > You are right. > > I have cr

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

2016-08-30 Thread vikramT
We are NOT using any script to create data, its sample data which is present in our cluster. I am getting same error when using Sql Server instead of Hive. Thanks -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/javax-cache-CacheException-Failed-to-find-mapping

Re: Way to save Multiple queries results for further manipulation

2016-08-30 Thread chevy
Is it possible, that I add JSON data instead of Map and able to query it? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Way-to-save-Multiple-queries-results-for-further-manipulation-tp7189p7399.html Sent from the Apache Ignite Users mailing list archive at Nabb