Hazelcast cluster not starting Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!How do you programmatically configure hazelcast for the multicast discovery mechanism?How to handle error being thrown by ClusterListenerThread during the instantiation (by Spring) of my Hazelcast Client bean?Hazelcast: connecting to remote clusterCreating HazelCast cluster running on multiple docker containersHazelcast client connection disconnection events triggered even if there is still one member node remainingAWS Discovery only tries 3 ports 5701, 5702 & 5703 while joining clusterhazelcast-kubernetes Network Discovery: How to use with Multiple NodesHazelcast IMap - What can be the most efficient way to get value for multiple keys?Hazelcast Eureka Cloud Discovery Plugin not workingNeed Help on JsonSerializer Hazelcast-client
What is the chair depicted in Cesare Maccari's 1889 painting "Cicerone denuncia Catilina"?
How to run automated tests after each commit?
What order were files/directories output in dir?
What does this say in Elvish?
Lagrange four-squares theorem --- deterministic complexity
Why weren't discrete x86 CPUs ever used in game hardware?
Sentence with dass with three Verbs (One modal and two connected with zu)
How much damage would a cupful of neutron star matter do to the Earth?
One-one communication
Is it fair for a professor to grade us on the possession of past papers?
How to compare two different files line by line in unix?
preposition before coffee
Tannaka duality for semisimple groups
Significance of Cersei's obsession with elephants?
If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?
Does "shooting for effect" have contradictory meanings in different areas?
A term for a woman complaining about things/begging in a cute/childish way
What is an "asse" in Elizabethan English?
Why are my pictures showing a dark band on one edge?
Misunderstanding of Sylow theory
How many time has Arya actually used Needle?
Can the Flaming Sphere spell be rammed into multiple Tiny creatures that are in the same 5-foot square?
Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?
Putting class ranking in CV, but against dept guidelines
Hazelcast cluster not starting
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!How do you programmatically configure hazelcast for the multicast discovery mechanism?How to handle error being thrown by ClusterListenerThread during the instantiation (by Spring) of my Hazelcast Client bean?Hazelcast: connecting to remote clusterCreating HazelCast cluster running on multiple docker containersHazelcast client connection disconnection events triggered even if there is still one member node remainingAWS Discovery only tries 3 ports 5701, 5702 & 5703 while joining clusterhazelcast-kubernetes Network Discovery: How to use with Multiple NodesHazelcast IMap - What can be the most efficient way to get value for multiple keys?Hazelcast Eureka Cloud Discovery Plugin not workingNeed Help on JsonSerializer Hazelcast-client
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I'm not able to see members added to the cluster when I start from multiple ports. Below is just the basic configuration. Each seems to have its own port.
@SpringBootApplication
@Configuration
public class HazelcastApplication
public static void main(String[] args)
SpringApplication.run(HazelcastApplication.class, args);
@Bean(destroyMethod = "shutdown")
public HazelcastInstance createStorageNode() throws Exception
return Hazelcast.newHazelcastInstance();
Members [1]
Member [169.254.137.152]:5702 this
Members [1]
Member [169.254.137.152]:5701 this
hazelcast
add a comment |
I'm not able to see members added to the cluster when I start from multiple ports. Below is just the basic configuration. Each seems to have its own port.
@SpringBootApplication
@Configuration
public class HazelcastApplication
public static void main(String[] args)
SpringApplication.run(HazelcastApplication.class, args);
@Bean(destroyMethod = "shutdown")
public HazelcastInstance createStorageNode() throws Exception
return Hazelcast.newHazelcastInstance();
Members [1]
Member [169.254.137.152]:5702 this
Members [1]
Member [169.254.137.152]:5701 this
hazelcast
add a comment |
I'm not able to see members added to the cluster when I start from multiple ports. Below is just the basic configuration. Each seems to have its own port.
@SpringBootApplication
@Configuration
public class HazelcastApplication
public static void main(String[] args)
SpringApplication.run(HazelcastApplication.class, args);
@Bean(destroyMethod = "shutdown")
public HazelcastInstance createStorageNode() throws Exception
return Hazelcast.newHazelcastInstance();
Members [1]
Member [169.254.137.152]:5702 this
Members [1]
Member [169.254.137.152]:5701 this
hazelcast
I'm not able to see members added to the cluster when I start from multiple ports. Below is just the basic configuration. Each seems to have its own port.
@SpringBootApplication
@Configuration
public class HazelcastApplication
public static void main(String[] args)
SpringApplication.run(HazelcastApplication.class, args);
@Bean(destroyMethod = "shutdown")
public HazelcastInstance createStorageNode() throws Exception
return Hazelcast.newHazelcastInstance();
Members [1]
Member [169.254.137.152]:5702 this
Members [1]
Member [169.254.137.152]:5701 this
hazelcast
hazelcast
asked Mar 8 at 21:48
user3310115user3310115
277313
277313
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
It's possible that you have multiple network interfaces on the machine you're running on while running multicast. Modify your above method to:
@Bean(destroyMethod = "shutdown")
public HazelcastInstance createStorageNode() throws Exception
Config config = new Config();
JoinConfig joinConfig = config.getNetworkConfig().getJoin();
joinConfig.getMulticastConfig().setEnabled(false);
joinConfig.getTcpIpConfig().setEnabled(true)
.getMembers()
.add("127.0.0.1");
//.add("169.254.137.152"); // or this
Hazelcast.newHazelcastInstance(config);
How so? Becuase its the same local env right? Also if u see the ports that the application started on , the ip is the same
– user3310115
Mar 9 at 12:46
I'm only guessing here so will need need more info. Please run "ifconfig -a" if on mac, "ipconfig /all" if on windows, "ip a" in linux to list all the interfaces on your machine.
– Manny David
Mar 11 at 18:41
If you are running virtual box or vmware fusion, please refer to the following previously reported issue: github.com/hazelcast/hazelcast/issues/11415
– Manny David
Mar 11 at 22:41
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55071468%2fhazelcast-cluster-not-starting%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It's possible that you have multiple network interfaces on the machine you're running on while running multicast. Modify your above method to:
@Bean(destroyMethod = "shutdown")
public HazelcastInstance createStorageNode() throws Exception
Config config = new Config();
JoinConfig joinConfig = config.getNetworkConfig().getJoin();
joinConfig.getMulticastConfig().setEnabled(false);
joinConfig.getTcpIpConfig().setEnabled(true)
.getMembers()
.add("127.0.0.1");
//.add("169.254.137.152"); // or this
Hazelcast.newHazelcastInstance(config);
How so? Becuase its the same local env right? Also if u see the ports that the application started on , the ip is the same
– user3310115
Mar 9 at 12:46
I'm only guessing here so will need need more info. Please run "ifconfig -a" if on mac, "ipconfig /all" if on windows, "ip a" in linux to list all the interfaces on your machine.
– Manny David
Mar 11 at 18:41
If you are running virtual box or vmware fusion, please refer to the following previously reported issue: github.com/hazelcast/hazelcast/issues/11415
– Manny David
Mar 11 at 22:41
add a comment |
It's possible that you have multiple network interfaces on the machine you're running on while running multicast. Modify your above method to:
@Bean(destroyMethod = "shutdown")
public HazelcastInstance createStorageNode() throws Exception
Config config = new Config();
JoinConfig joinConfig = config.getNetworkConfig().getJoin();
joinConfig.getMulticastConfig().setEnabled(false);
joinConfig.getTcpIpConfig().setEnabled(true)
.getMembers()
.add("127.0.0.1");
//.add("169.254.137.152"); // or this
Hazelcast.newHazelcastInstance(config);
How so? Becuase its the same local env right? Also if u see the ports that the application started on , the ip is the same
– user3310115
Mar 9 at 12:46
I'm only guessing here so will need need more info. Please run "ifconfig -a" if on mac, "ipconfig /all" if on windows, "ip a" in linux to list all the interfaces on your machine.
– Manny David
Mar 11 at 18:41
If you are running virtual box or vmware fusion, please refer to the following previously reported issue: github.com/hazelcast/hazelcast/issues/11415
– Manny David
Mar 11 at 22:41
add a comment |
It's possible that you have multiple network interfaces on the machine you're running on while running multicast. Modify your above method to:
@Bean(destroyMethod = "shutdown")
public HazelcastInstance createStorageNode() throws Exception
Config config = new Config();
JoinConfig joinConfig = config.getNetworkConfig().getJoin();
joinConfig.getMulticastConfig().setEnabled(false);
joinConfig.getTcpIpConfig().setEnabled(true)
.getMembers()
.add("127.0.0.1");
//.add("169.254.137.152"); // or this
Hazelcast.newHazelcastInstance(config);
It's possible that you have multiple network interfaces on the machine you're running on while running multicast. Modify your above method to:
@Bean(destroyMethod = "shutdown")
public HazelcastInstance createStorageNode() throws Exception
Config config = new Config();
JoinConfig joinConfig = config.getNetworkConfig().getJoin();
joinConfig.getMulticastConfig().setEnabled(false);
joinConfig.getTcpIpConfig().setEnabled(true)
.getMembers()
.add("127.0.0.1");
//.add("169.254.137.152"); // or this
Hazelcast.newHazelcastInstance(config);
answered Mar 9 at 0:14
Manny DavidManny David
562
562
How so? Becuase its the same local env right? Also if u see the ports that the application started on , the ip is the same
– user3310115
Mar 9 at 12:46
I'm only guessing here so will need need more info. Please run "ifconfig -a" if on mac, "ipconfig /all" if on windows, "ip a" in linux to list all the interfaces on your machine.
– Manny David
Mar 11 at 18:41
If you are running virtual box or vmware fusion, please refer to the following previously reported issue: github.com/hazelcast/hazelcast/issues/11415
– Manny David
Mar 11 at 22:41
add a comment |
How so? Becuase its the same local env right? Also if u see the ports that the application started on , the ip is the same
– user3310115
Mar 9 at 12:46
I'm only guessing here so will need need more info. Please run "ifconfig -a" if on mac, "ipconfig /all" if on windows, "ip a" in linux to list all the interfaces on your machine.
– Manny David
Mar 11 at 18:41
If you are running virtual box or vmware fusion, please refer to the following previously reported issue: github.com/hazelcast/hazelcast/issues/11415
– Manny David
Mar 11 at 22:41
How so? Becuase its the same local env right? Also if u see the ports that the application started on , the ip is the same
– user3310115
Mar 9 at 12:46
How so? Becuase its the same local env right? Also if u see the ports that the application started on , the ip is the same
– user3310115
Mar 9 at 12:46
I'm only guessing here so will need need more info. Please run "ifconfig -a" if on mac, "ipconfig /all" if on windows, "ip a" in linux to list all the interfaces on your machine.
– Manny David
Mar 11 at 18:41
I'm only guessing here so will need need more info. Please run "ifconfig -a" if on mac, "ipconfig /all" if on windows, "ip a" in linux to list all the interfaces on your machine.
– Manny David
Mar 11 at 18:41
If you are running virtual box or vmware fusion, please refer to the following previously reported issue: github.com/hazelcast/hazelcast/issues/11415
– Manny David
Mar 11 at 22:41
If you are running virtual box or vmware fusion, please refer to the following previously reported issue: github.com/hazelcast/hazelcast/issues/11415
– Manny David
Mar 11 at 22:41
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55071468%2fhazelcast-cluster-not-starting%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown