Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    jklingsporn
    @jklingsporn
    Also: does it make a difference if I configure the cluster using the <aws>-tag or using a <discovery-strategy>?
    Mesut Celik
    @mesutcelik
    no difference but <aws> much cleaner and easier to use.
    jklingsporn
    @jklingsporn
    okay, thanks
    Oh wow, it worked. Apparently it takes some minutes until the nodes discover each other -.-
    jklingsporn
    @jklingsporn
    Can I use the Lite-member feature inside AWS?
    Mesut Celik
    @mesutcelik
    yes you can use on AWS EC2 based deployments.
    jklingsporn
    @jklingsporn
    Cool, I think that would help in my case
    ihorpts
    @ihorpts
    Hi all
    is there somebody, who has any experience with JCache configuration in Hazelcast (see my question above)?
    Many thanks in advance!
    linking12
    @linking12
    when I upgrading jdk8 to jdk11, I got class not found error, Can some body has any experience?
    Caused by: java.lang.ClassNotFoundException: io.github.bucket4j.grid.CommandResult
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
    at com.hazelcast.internal.nio.ClassLoaderUtil.tryLoadClass(ClassLoaderUtil.java:287)
    at com.hazelcast.internal.nio.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:251)
    at com.hazelcast.internal.nio.IOUtil$ClassLoaderAwareObjectInputStream.resolveClass(IOUtil.java:783)
    at java.base/java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1943)
    at java.base/java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1829)
    at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2117)
    at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1646)
    at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:464)
    at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:422)
    at com.hazelcast.internal.serialization.impl.JavaDefaultSerializers$JavaSerializer.read(JavaDefaultSerializers.java:83)
    jklingsporn
    @jklingsporn
    Hey, probably a stupid question, but I have the following setup: one node being member of a hazlecast "cluster" and N nodes being lite members. On the single node I keep receiving com.hazelcast.partition.NoDataMemberInClusterException - what can I do?
    Target of invocation cannot be found! Partition owner is null but partitions can't be assigned since all nodes in the cluster are lite members.
    jklingsporn
    @jklingsporn
    It pops up, even if there are no other members
    Vignesh-Thiraviam
    @Vignesh-Thiraviam
    Hi All , is there any way where I can find the number of entries in a hazelcast map ?
    ihorpts
    @ihorpts
    @Vignesh-Thiraviam IMap extends java base ConcurentMap --> Map, which contains method size(). Does it work for you that way?
    Vignesh-Thiraviam
    @Vignesh-Thiraviam
    does this provide consolidated for all cluster members ?
    @ihorpts
    ihorpts
    @ihorpts
    @Vignesh-Thiraviam
    yes, AFAIK it should return you size from a distributed map, very close to the time when size() method was invoked (there might be another action(s) going on, which might change size of the map).
    Vignesh-Thiraviam
    @Vignesh-Thiraviam
    ok thanks @ihorpts , basically there is a use case to monitor the entries for a specific time intreval , but management centre doesnt allow JMX like features
    so thinking to write a service to find the count
    ihorpts
    @ihorpts
    @Vignesh-Thiraviam would it be easier to have map listener for it?
    Vignesh-Thiraviam
    @Vignesh-Thiraviam
    what is map listener , is there any documentation for it ? @ihorpts
    Vignesh-Thiraviam
    @Vignesh-Thiraviam
    thanks @ihorpts , these looks like update for event, but i just want to monitor size of map after I have loaded all the values
    jklingsporn
    @jklingsporn
    I am probably running into this issue: hazelcast/hazelcast-aws#94
    Hazelcast
    @hazelcast_twitter
    [Rafal Leszko (unknown)] @jklingsporn are you using the latest version?
    jklingsporn
    @jklingsporn
    No, I need to use 3.12 (aws-version 2.4). I am a vertx user and they are relying on it.
    but even if I am using tags instead of the security-group property it does not work for me
    jklingsporn
    @jklingsporn
    Just upgraded to the latest version and got the same issues. What is strange to me though that it takes very long for the master node to actually discover the (lite) members. Is there some way to periodically scan for new members or is the algorithm expecting new members to join the cluster and propagate their existence?
    Hazelcast
    @hazelcast_twitter
    [Rafal Leszko (unknown)] @jklingsporn the algorithm expects that new members find the cluster and join
    jklingsporn
    @jklingsporn
    okay, thanks
    regarding dependencies: is it enough to add hazlecast and hazlecast-awsas dependencies or should I use hazlecast-all?
    jklingsporn
    @jklingsporn
    this is my config: https://pastebin.com/VSWBGfwP
    Hazelcast
    @hazelcast_twitter
    [Rafal Leszko (unknown)] It's enough to use hazelcast + hazelcast-aws, but I suggest using hazlecast-all, because if you defined hazelcast and separately hazelcast-aws, then you need to think about the version compatibility: https://github.com/hazelcast/hazelcast-aws#requirements
    jklingsporn
    @jklingsporn
    The only way I can get it working is when both environments are full node members. When configuring one member as a lite-member it fails on start with the message
    Target of invocation cannot be found! Partition owner is null but partitions can't be assigned since all nodes in the cluster are lite members.
    But even if both members are full node members it takes up to 5 minutes until they discover each other.
    Hazelcast
    @hazelcast_twitter
    [Rafal Leszko (unknown)] > But even if both members are full node members it takes up to 5 minutes until they discover each other.
    That's weird. Could you create a GH Issue in https://github.com/hazelcast/hazelcast-aws describing the exact steps to reproduce?
    jklingsporn
    @jklingsporn
    I can, but I have the feeling that there are so many factors to take into account - especially the configuration on AWS side. E.g. the nodes are in different AvailabilityZones (AZ) - probably that is causing issues.
    Hazelcast
    @hazelcast_twitter
    [Rafal Leszko (unknown)] Nodes in different AZ should not cause any issues, we test multiple zones
    jklingsporn
    @jklingsporn
    great
    jklingsporn
    @jklingsporn
    as my issue affects ElasticBeanstalk should I post under the existing issue or create a new issue?
    Hazelcast
    @hazelcast_twitter
    [Rafal Leszko (unknown)] If you can reproduce it without ElasticBeanstalk, then separately
    [Rafal Leszko (unknown)] if not, then, you can use the same issue
    DB
    @dineshbhagat
    Has anyone had upgraded the Hazelcast enterprise version from 3.12.x to 4.0.x?
    Though referring,
    1. https://github.com/hazelcast/hazelcast/wiki/4.0
    2. https://docs.hazelcast.org/docs/4.0/manual/html-single/#upgrading-to-hazelcast-imdg-4-0
      If anyone has more pointers, it would be great.
    ihorpts
    @ihorpts
    :point_up: August 12, 2020 9:54 AM
    @jerrinot we use client-server topology and don't use (probably yet) User Code Deployment. We have an automated processes to deliver those jars (Kubernetes for development and semi-manual deployment in PROD)
    Hazelcast
    @hazelcast_twitter
    [Sharath Sahadevan (Sharath Sahadevan)] @dineshbhagat : yes , a few of our clients have upgraded or are in the process of upgrading to 4.0.x. Plan your code changes per the docs, test it in your test and performance env and the roll it out to Prod. We do have a migration tool for Enterprise customers ( who have a license ) to ease the migration path. In addition our expert services team assists with migration planning and implementation as needed. After reviewing the docs above, if you have any specific feedback on what is missing that would be helpful in improving our documentation. Let us know if you have any questions as you go through the upgrade process.
    DB
    @dineshbhagat
    @ssahadevan can you please share download link/web page for the migration tool?
    Hazelcast
    @hazelcast_twitter
    [Sharath Sahadevan (Sharath Sahadevan)] @dineshbhagat - The migration tool uses WAN replication for migrating data from the old version to the new 4.x. If you are currently an enterprise customer, please reach out to the Hazelcast Account Exec or Solution Architect that you work with or the support portal ( https://hazelcast.zendesk.com/hc/en-us) they can assist. If you do not have a license and would like one, please reach out to sales@hazelcast.com and we can get you set up. Let me know if there are more questions.
    DB
    @dineshbhagat
    @ssahadevan Thank you, will reach out.