With printing code before last assertion, we can see the contents remains in
the case is,
LruEvictionExample.testPutAll entry Entry [key=3, val=new3]
LruEvictionExample.testPutAll entry Entry [key=6, val=new6]
LruEvictionExample.testPutAll entry Entry [key=1, val=new1]
LruEvictionExample.testPut
Hi,
I have a problem when I placed cache.removeAll with the Lru eviction policy.
Here is my test case, and it does not work at the last assert.
package org.apache.ignite.examples;
import junit.framework.TestCase;
import org.apache.ignite.Ignite;
import org.apache.ignite.IgniteCache;
import
Greg, thanks but the configuration is absolutely fine and am using it to
start the server. No it is not a cluster. There is only 1 server and a junit
test.
-Seshu
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Eviction-for-OFFHEAP-TIERED-vs-OFFHEAP-VALUES-tp230
Val, thanks. There is only 1 server. And I used junit test (please refer to
my previous message)
-Seshu
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Eviction-for-OFFHEAP-TIERED-vs-OFFHEAP-VALUES-tp2302p2311.html
Sent from the Apache Ignite Users mailing list
Val, thanks for your response. I am using 1.5.0-b1 version. Here is the
configuration I used to start the server. Also attached is test case. I am
inserting 5000 cache entries. Each entry is 1MB. Max offheap size is 1GB. I
think in this case, the get() test should not pass unless offheap stored all
Hi Greg,
Good point about several nodes in topology! Seshu, please keep in mind that
this is a per-node setting, so the limit is actually multiplied by the
number of nodes.
XML looks correct to me. Ignite uses Spring-based configuration, which
supports expressions and "p:" syntax via custom tags.
Seems to me that you didn't provide enough information to really assist in any
way...
One potential issue is that you are trying to do math in your properties with
"#{1L * 1024L ...}.
Also your configuration just doesn't feel right:
You have ""
Which makes "p:maxMemorySize" a property name
Hi Yury,
Please properly subscribe to the mailing list so that community receives
email notifications. Follow the instruction here:
http://apache-ignite-users.70518.x6.nabble.com/mailing_list/MailingListOptions.jtp?forum=1
yury_alpatov wrote
> Hi all! I am newby in Apache Ignite. I want to conne
Hi Seshu,
The issue is not reproduced for me. How do you check current memory size of
the cache? Do you have a failing test that you can share with us?
-Val
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Eviction-for-OFFHEAP-TIERED-vs-OFFHEAP-VALUES-tp2302p230
Hi Sumesh,
Please properly subscribe to the mailing list, otherwise community doesn't
receive email notifications. The process is very simple, just follow this
instruction:
http://apache-ignite-users.70518.x6.nabble.com/mailing_list/MailingListOptions.jtp?forum=1
sumesh wrote
> Ignite server sho
Hi,
You're right, text queries are based on Lucene full text search engine and
therefore fully support Lucene syntax [1].
E.g., query that searches only one field looks like this:
TextQuery(Person.class, "resume:Master");
[1] https://lucene.apache.org/core/2_9_4/queryparsersyntax.html
-Val
I am trying to use OFFHEAP_VALUES with offHeapMaxMemory (1G). I configured
LRU eviction with maxMemorySize set to 1G (same as offHeapMaxMemory). When I
put a large number of entries in the cache, I expected offHeap entries to
get evicted. But it seems like offHeap is growing beyond configured limit
*this is the example of TextQuery:*
TextQuery query_obj = new TextQuery,
Person>(Person.class, "Master");
*and the definition of Person class:*
private static class Person implements Serializable {
..
@QueryTextField
private String resume;
@QueryTextField
private Stri
13 matches
Mail list logo