user2310939
user2310939

Reputation:

Hazelcast configuration for distributed data structure

For distributing data structure i want to configure hazelcast. followed all the instructions mentioned in the documentation but still not able to configure it between two machines connected over networks. both are reachable but still while running codes its creating separate list on two machines. I think hazel*.config.xml file is not even being used by the program. because after deleting the config.xml file still program is running.

please help.

Upvotes: 0

Views: 240

Answers (1)

pveentjer
pveentjer

Reputation: 11307

You need to check the logging. It shows exactly which config file is being loaded. If you config files contains errors or is not found, Hazelcast defaults to a default configuration.

We are thinking about removing this behavior and do a hard failure instead of this silent one because it is confusing.

Upvotes: 1

Related Questions