Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy are these Hazelcast warnings appearing?
    primarykey
    data
    text
    <p>I'm using Hazelcast to cache a JMS topic.</p> <p>Everything works great up to a point. After about 30-40 minutes of runtime I start getting :</p> <pre><code>WARNING: [192.168.3.102]:5701 [devGroup] RedoLog{key=Data{partitionHash=-1465305045} size= 10, operation=CONCURRENT_MAP_PUT_IF_ABSENT, target=Address[192.168.3.102]:5701, targetConnected=false, redoCount=910, migrating=null partition=Partition [186]{ 0:Address[192.168.3.102]:5701 } } </code></pre> <p>As much as I understood from reading dev forums these are Redo warnings meaning that Hazelcast can not connect to the specified instance <code>target=Address[192.168.3.102]:5701</code> to distribute the cache.</p> <p>The odd thing however is that my configuration has only one node, which is the current server instance:</p> <pre><code>INFO: [192.168.3.102]:5701 [devGroup] Members [1] { Member [192.168.3.102]:5701 this } </code></pre> <p>I'm using spring to configure it:</p> <pre><code>&lt;hz:hazelcast id="hazelcastInstance"&gt; &lt;hz:config&gt; &lt;hz:group name="devGroup" password="pass"/&gt; &lt;hz:properties&gt; &lt;hz:property name="hazelcast.merge.first.run.delay.seconds"&gt;5&lt;/hz:property&gt; &lt;hz:property name="hazelcast.merge.next.run.delay.seconds"&gt;5&lt;/hz:property&gt; &lt;/hz:properties&gt; &lt;hz:network port="5701" port-auto-increment="true"&gt; &lt;hz:join&gt; &lt;hz:multicast enabled="false" /&gt; &lt;hz:tcp-ip enabled="true"&gt; &lt;hz:members&gt;192.168.3.102&lt;/hz:members&gt; &lt;/hz:tcp-ip&gt; &lt;/hz:join&gt; &lt;hz:symmetric-encryption enabled="true" algorithm="PBEWithMD5AndDES" salt="thesalt" password="thepass" iteration-count="19"/&gt; &lt;hz:asymmetric-encryption enabled="false" key-password="thekeypass" key-alias="local" store-type="JKS" store-password="thestorepass" store-path="keystore"/&gt; &lt;/hz:network&gt; &lt;/hz:config&gt; &lt;/hz:hazelcast&gt; </code></pre> <p>I'm using Hazelcast 2.1, Spring 3.1 and Tomcat 7</p> <p>So does anyone know why I'm getting the warnings ?</p> <p>Thanks,</p> <hr> <p>To answer the comments:</p> <p>I use it like this:</p> <pre><code>final ConcurrentMap&lt;K, V&gt; cachedMap = getHazelcast().getMap(region); cachedMap.putIfAbsent(key, value); </code></pre> <p>The <code>getHazelcast()</code> method returns the injected <code>HazelcastInstance</code> via spring (the one in the configuration above, I've checked the bean id and it seems ok).</p> <hr> <p>Update 2.</p> <p>There is a max size on the map added programatically:</p> <pre><code>final MapConfig mapConfig = hazelcast.getConfig().getMapConfig(region); .... val is calculated here .... mapConfig.getMaxSizeConfig().setSize(val); </code></pre> <p><code>val</code> can not be less then 25000</p> <p>I have tried without the size configuration however and I still get the warnings.</p> <p>I also use <code>map.values(SqlPredicate(""))</code> to get values by date.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload