Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    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.
    Ulf Adams
    @ulfjack
    What happens if I change the eviction config of an IMap in some instances of a running cluster? What if I change it in all instances? Does it pick up the new eviction config or does it continue to use the config from when I first started the cluster?
    Can Gencer
    @cangencer
    Hi, we'll be decommissioning this channel soon - please join us at https://slack.hazelcast.com
    murali474
    @murali474

    @murali474:
    It looks you had deployed a webapplication with an embedded Hazelcast. Then you undeployed the application from Tomcat, but the application failed to stop Hazelcast instance. You should always stop all Hazelcast instances when an application is being stopped. the simplest thing should be to call HazelcastInstance.shutdown() from a context listener. See an example here: https://www.codejava.net/java-ee/servlet/weblistener-annotation-examples

    Thanks you @jerrinot

    murali474
    @murali474

    Hi Community,
    I am currently using hazelcast client server topology and my webapplications are acting as clients .
    both server and clients are running in same node.

    now i want to enable ssl for my hazelcast server , could some one guide me about the process and share me any reference links.

    Jiří Holuša
    @Holmistr
    Hi @murali474 :) Just a note, this channel will close soon. Please join us on https://slack.hazelcast.com
    murali474
    @murali474
    thanks @Holmistr
    Yaroslav Derman
    @yarosman
    Hello. I try to use hazelcast with scala and get strange error com.hazelcast.nio.serialization.HazelcastSerializationException: java.lang.ClassNotFoundException: com.hazelcast.Scala.KeyedDeltaUpdates$UpdateEP
    danishxav
    @danishxav
    Hi Team, Do we have any way to export hazelcast map from one cluster and import into other cluster. Please suggest.
    Hazelcast
    @hazelcast_twitter
    [Sharath Sahadevan (Sharath Sahadevan)] @danishxav: Hazelcast Enterprise has a feature called wan replication that can replicate data from one cluster to another. Requires a license. Also please note that this channel will close soon. Please join us on https://slack.hazelcast.com
    danishxav
    @danishxav
    Thanks @ssahadevan
    AdamUlatowski
    @AdamUlatowski

    Hi guys, i have simillar problem like here in a opened ticket hazelcast/hazelcast#17062
    However my error is different so maybe it's worth to ask you.

    Hazecast version 4.0.1
    Configuration: 3-member hazelcast cluster deployed on K8s, microservice using Hazelcast Client to connect to this cluster (as well deployed on k8s in same namespace)
    Scenario:
    a) after deployment hazelcastClient server can detect all 3 members and connect to the cluster, everything works as expected
    b) when hazelcast cluster is restarted, client cannot connect again automatically (i need to every time restart the pod of the HZClient to make it possible to connect again). Error log:

    com.hazelcast.client.HazelcastClientNotActiveException: Client is shutting down
        at com.hazelcast.client.impl.spi.impl.ClientInvocation.notifyException(ClientInvocation.java:260)
        at com.hazelcast.client.impl.spi.impl.ClientInvocation.invokeOnSelection(ClientInvocation.java:196)
        at com.hazelcast.client.impl.spi.impl.ClientInvocation.invoke(ClientInvocation.java:143)
        at com.hazelcast.client.impl.spi.ClientProxy.invokeOnPartition(ClientProxy.java:187)
        at com.hazelcast.client.impl.spi.ClientProxy.invoke(ClientProxy.java:182)
        at com.hazelcast.client.impl.proxy.ClientMapProxy.getInternal(ClientMapProxy.java:251)
        at com.hazelcast.client.impl.proxy.ClientMapProxy.get(ClientMapProxy.java:245)
    ...
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: No connection found to cluster.
        at com.hazelcast.client.impl.connection.nio.ClientConnectionManagerImpl.checkInvocationAllowed(ClientConnectionManagerImpl.java:487)
        at com.hazelcast.client.impl.spi.impl.ClientInvocationServiceImpl.checkInvocationAllowed(ClientInvocationServiceImpl.java:279)
        at com.hazelcast.client.impl.spi.impl.ClientInvocation.invokeOnSelection(ClientInvocation.java:165)
        ... 30 common frames omitted

    I tried to set reconnection policy but it didn't help. Piece of configuration :

      public HazelcastInstance hazelcastInstanceInCluster() {
        ClientConfig clientConfig = new ClientConfig();
        clientConfig.setClassLoader(Thread.currentThread().getContextClassLoader());
        ClientNetworkConfig networkConfig = clientConfig.getNetworkConfig();
        clientConfig.setClusterName(cacheProperties.getClusterName());
        clientConfig.setInstanceName(cacheProperties.getInstanceName());
        setConnectionStrategyConfig(clientConfig);
        networkConfig.addAddress(cacheProperties.getNetworkAddress())
            .setSmartRouting(cacheProperties.isSmartRouting())
            .addOutboundPortDefinition(cacheProperties.getOutboundPortDefinition())
            .setRedoOperation(cacheProperties.isRedoOperation())
            .setConnectionTimeout(cacheProperties.getConnectionTimeout());
        setUserDeploymentConfig(clientConfig);
        HazelcastInstance hazelcastInstance = HazelcastClient.newHazelcastClient(clientConfig);
        setEvictionPolicy(hazelcastInstance, densityProperties.getPeopleCacheName(), FIVE_MINUTES);
        setPNCounterConfig(hazelcastInstance);
        return hazelcastInstance;
      }
    
      private void setConnectionStrategyConfig(ClientConfig clientConfig) {
        ClientConnectionStrategyConfig connectionStrategy = clientConfig.getConnectionStrategyConfig();
        ConnectionRetryConfig connectionRetryConfig = connectionStrategy.getConnectionRetryConfig();
        connectionRetryConfig.setInitialBackoffMillis(1000)
            .setMaxBackoffMillis(60000)
            .setMultiplier(2)
            .setClusterConnectTimeoutMillis(30000)
            .setJitter(0.1);
      }

    Thanks!

    Hazelcast
    @hazelcast_twitter
    [Sancar Koyunlu (sancar)] Hi @*AdamUlatowski* Are you using hostname for member adresses ?
    And does these hostnames resolve to different IP address after restart ?
    [Sancar Koyunlu (sancar)] If yes, this issue is not resolved yet. We have a candidate fix on the issue but we need to do more testing on that to verify our fix.
    AdamUlatowski
    @AdamUlatowski
    Hi @sancar thank you for your answer! As you move to slack i have answered there :)
    Can Gencer
    @cangencer
    This channel is now deprecated, please use https://slack.hazelcast.com
    Ravi Chandra
    @rchandra3007

    Hi Guys,
    Need your help,
    I have deployed Hazelcast on k8 cluster by helm chart,
    In my application i have a hazelcast client to communicate with hazelcast members on k8 cluster,
    When i am making any call to my application for caching of objects, i am unable to see any cache map on Maneter,
    After checking logs of hazelcast member i found,

    com.hazelcast.nio.serialization.HazelcastSerializationException: There is no suitable de-serializer for type 1459460. This exception is likely caused by differences in the serialization configuration between members or between clients and members.

    I am using Jackson smile for serialization in application

    Nicolas Frankel
    @nfrankel
    This channel is now deprecated, please use https://slack.hazelcast.com
    :-D
    Shivam Sharma
    @svmsharma20

    Hello Everyone,

    Do anyone knows what is the name of the thread which hazelcast uses to send heartbeat?

    Matko Medenjak
    @mmedenjak

    Hi @svmsharma20 , it should be some kind of "generic thread". For example - "hz.priceless_galileo.priority-generic-operation.thread-0".

    Also, please join https://slack.hazelcast.com/ as this channel is deprecated and we will stop responding at some point.

    Vignesh-Thiraviam
    @Vignesh-Thiraviam
    Hi All , getting java.io.utfdataformatexception malformed byte sequence , while retrieving object from hazelcast map. The exception is inconsitent , is there a way to debug the root cause . Or the variable which causes this ?
    priyanshu850
    @priyanshu850
    Hello
    can someone know about this error
    INFO: [localhost]:5706 [dev] [3.10.5] Connection[id=9, /0:0:0:0:0:0:0:1:5706->/0:0:0:0:0:0:0:1:46916, endpoint=null, alive=false, type=NONE] closed. Reason: Memcached or SSL not enabled
    How can i resolve this ?
    Nicolas Frankel
    @nfrankel

    @Vignesh-Thiraviam @priyanshu850

    Also, please join https://slack.hazelcast.com/ as this channel is deprecated and we will stop responding at some point.

    panditb
    @panditb
    Hello Team , How to connect hazelcast mancenter from spring boot application with client sever architecture , hazelcast mancenter and hazelcast deployed as kuberntes application
    my hazelcast-client.yml
      cluster-name: dev
      instance-name : dev-hz
      network:
        cluster-members:
          address: dev-hz-os:5701
        smart-routing: false
      management-center:
        enabled: true
        url: http://dev-hz-mancenter/mancenter
    jkanjariya
    @jkanjariya
    HI i have face this error in hazelcast an you please suggest solution for the same
    2021-02-18 02:35:23,430 SEVERE [com.hazelcast.spi.impl.operationexecutor.impl.OperationExecutorImpl] (hz.awom-hazelcast-java-config.partition-operation.thread-7) [10.30.0.23]:5703 [awom-locking-cluster] [3.9.3] Failed to process packet: Packet{partitionId=103, conn=Connection[id=6, /10.30.0.23:52707->/10.30.4.26:5701, endpoint=[10.30.4.26]:5701, alive=true, type=MEMBER], rawFlags=1, isUrgent=false, packetType=OPERATION, typeSpecificFlags=[isResponse=false, isOpControl=false]} on hz.awom-hazelcast-java-config.partition-operation.thread-7: java.lang.NoClassDefFoundError: com/hazelcast/util/ExceptionUtil at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:415) at com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.process(OperationThread.java:115) at com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.run(OperationThread.java:100)
    Viacheslav Petriaiev
    @Viacheslav-Petriaiev

    Hello,
    I've tried to use Distributed lock functionality (hazelcastInstance.lock() / hazelcastInstance.unlock()) in Project reactor flow and I've got "Current thread is not owner of the lock!" error.
    How can I use it properly in reactive environment?

    Thank you

    Matko Medenjak
    @mmedenjak
    @panditb @jkanjariya @Viacheslav-Petriaiev please join https://slack.hazelcast.com/ as this channel is deprecated