Why is non-dc licensed Bitbucket trying to setup a cluster?

Our non-dc licensed Bitbucket is trying to setup cluster even though we do not have any data center licenses.

Can we stop hazelcast somehow?

Here's what hazelcast is printing to log every 5 minutes:

Members [1] {
Member [172.26.101.100]:5701 this
}

2016-10-11 01:27:15,320 INFO [cached3] c.h.p.InternalPartitionService [172.26.101.100]:5701 [atlbitbucket] [3.5.2-atlassian-37] Initializing cluster partition table first arrangement...
2016-10-11 01:27:15,341 ERROR [hz.hazelcast.partition-operation.thread-2] c.h.m.impl.operation.MergeOperation [172.26.101.100]:5701 [atlbitbucket] [3.5.2-atlassian-37] Failed to deserialize enum: com.atlassian$
com.hazelcast.nio.serialization.HazelcastSerializationException: Failed to deserialize enum: com.atlassian.analytics.client.configuration.AnalyticsConfig$Key
at com.hazelcast.nio.serialization.DefaultSerializers$EnumSerializer.read(DefaultSerializers.java:253) ~[hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.nio.serialization.DefaultSerializers$EnumSerializer.read(DefaultSerializers.java:235) ~[hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.nio.serialization.StreamSerializerAdapter.read(StreamSerializerAdapter.java:41) ~[hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.nio.serialization.SerializationServiceImpl.toObject(SerializationServiceImpl.java:276) ~[hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.spi.impl.NodeEngineImpl.toObject(NodeEngineImpl.java:200) ~[hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.map.impl.MapServiceContextImpl.toObject(MapServiceContextImpl.java:309) ~[hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.map.impl.DefaultRecordStore.merge(DefaultRecordStore.java:858) ~[hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.map.impl.operation.MergeOperation.run(MergeOperation.java:55) ~[hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:137) ~[hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.processOperation(OperationThread.java:154) [hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.process(OperationThread.java:110) [hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.doRun(OperationThread.java:101) [hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.run(OperationThread.java:76) [hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
java.lang.ClassNotFoundException: com.atlassian.analytics.client.configuration.AnalyticsConfig$Key
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1332) ~[catalina.jar:8.0.36]
at com.hazelcast.nio.ClassLoaderUtil.tryLoadClass(ClassLoaderUtil.java:125) ~[hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.nio.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:114) ~[hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.nio.serialization.DefaultSerializers$EnumSerializer.read(DefaultSerializers.java:251) ~[hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.nio.serialization.DefaultSerializers$EnumSerializer.read(DefaultSerializers.java:235) ~[hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.nio.serialization.StreamSerializerAdapter.read(StreamSerializerAdapter.java:41) ~[hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.nio.serialization.SerializationServiceImpl.toObject(SerializationServiceImpl.java:276) ~[hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.spi.impl.NodeEngineImpl.toObject(NodeEngineImpl.java:200) ~[hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.map.impl.MapServiceContextImpl.toObject(MapServiceContextImpl.java:309) ~[hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.map.impl.DefaultRecordStore.merge(DefaultRecordStore.java:858) ~[hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.map.impl.operation.MergeOperation.run(MergeOperation.java:55) ~[hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:137) ~[hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.processOperation(OperationThread.java:154) [hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.process(OperationThread.java:110) [hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.doRun(OperationThread.java:101) [hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
at com.hazelcast.spi.impl.operationexecutor.classic.OperationThread.run(OperationThread.java:76) [hazelcast-3.5.2-atlassian-37.jar:3.5.2-atlassian-37]
... 1 frame trimmed

1 answer

Hi Henri,

Thanks for reporting this.  I've raised https://jira.atlassian.com/browse/BSERV-9227 to track this issue.

Until this issue is resolved, you should be able to work around it by adding hazelcast.network.multicast=false to your bitbucket.properties file, and restarting.

Best regards,
Chris
Atlassian 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

315 views 0 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you