.setProperty("hazelcast.logging.type", "slf4j")
.setProperty("hazelcast.jmx", "true")
...
//retVal.addMapConfig(createDefaultConfig(name)) ...
val multiCastConfig = retVal.networkConfig.join.multicastConfig
...
with(retVal.networkConfig.join) {
awsConfig.isEnabled = false
kubernetesConfig.setEnabled(true)
.setProperty("service-dns", serviceDnsValue())
tcpIpConfig.isEnabled = false
multicastConfig.isEnabled = false
}
retVal.partitionGroupConfig.setEnabled(false)// set retVal.groupConfig.name
apiVersion: v1
kind: Service
metadata:
name: <service-prefix>
spec:
type: ClusterIP
clusterIP: None
selector:
app: <service>
ports:
- name: hazelcast
port: 5701
--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/f144f8de-2e9b-4764-9963-c70fd5675c7c%40googlegroups.com.
But I still get the same error. I guess with retVal.partitionGroupConfig.setEnabled(false) the ZONE_AWARE feature is disabled.
I think I do not need this feature actually. Is it possible that the Hostname must be different in OpenShift? I mean without .cluster.local?
Here is the error again:
0Cannot fetch the current zone, ZONE_AWARE feature is disabled
2019-08-06 10:21:01.375 WARN DiscoveryService:67 [main] [] - [10.81.4.122]:5701 [ordersheet] [3.11.2] DNS lookup for serviceDns 'ordersheet-tst-cache.ordersheet.svc.cluster.local' failed: name not found
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/trinity-46470911-2621-40b1-9b56-f2061e9d1140-1565087119059%403c-app-webde-bap21.
Hi David,Two questions:1. Do you see this warning in all PODs?2. Does your cluster members find each other? And if yes, do you experience the Split Brain issue while starting the cluster?
Cheers,Rafał
Best regards,David
To unsubscribe from this group and stop receiving emails from it, send an email to haze...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/f144f8de-2e9b-4764-9963-c70fd5675c7c%40googlegroups.com.
--Rafał Leszko--
You received this message because you are subscribed to a topic in the Google Groups "Hazelcast" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hazelcast/C9uQ84tT178/unsubscribe.
To unsubscribe from this group and all its topics, send an email to haze...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/CAHAsrUQZi3_S2QYZdiGC5XzuPsVhyWM3NR9GY8V9tRxDem4-mw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to haze...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/trinity-46470911-2621-40b1-9b56-f2061e9d1140-1565087119059%403c-app-webde-bap21.
$ kubectl logs pod/hazelcast-embedded-57f84c545b-jjhcs
...
Members {size:2, ver:4} [
Member [10.16.2.6]:5701 - 33076b61-e99d-46f2-b5c1-35e0e75f2311
Member [10.16.2.8]:5701 - 9ba9bb61-6e34-460a-9208-c5a644490107 this
]
...To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/71082eeb-078f-4243-8f66-1c03b7d6e35c%40googlegroups.com.
Service.yml:--apiVersion: v1 kind: Service metadata: name: <service-prefix> spec: type: ClusterIP clusterIP: None selector: app: <service> ports: - name: hazelcast port: 5701--
--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/786c183d-5260-41ee-a792-430450c28248%40googlegroups.com.