[
https://issues.apache.org/jira/browse/KARAF-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257370#comment-13257370
]
Jean-Baptiste Onofré commented on KARAF-1322:
---------------------------------------------
With the latest change on trunk and cellar-2.2.x (2.2.4-SNAPSHOT), now, only
etc/hazelcast.xml is used.
I tested to change the group name (in the hazelcast.xml):
node1:
/192.168.1.241:5701 [my] Hazelcast Management Center started at port 5801.
node2:
/192.168.1.241:5702 [my] Hazelcast Management Center started at port 5802.
So it works fine.
It also tested to create two different groups:
node1:
/192.168.1.241:5701 [my] Hazelcast Management Center started at port 5801.
node2:
/192.168.1.241:5702 [other] Hazelcast Management Center started at port 5802.
and node-list display only the member of the configured Hazelcast group:
karaf@node2> cluster:node-list
No. Host Name Port ID
* 1 192.168.1.241 5702 192.168.1.241:5702
> The Hazelcast group name is randomly set
> ----------------------------------------
>
> Key: KARAF-1322
> URL: https://issues.apache.org/jira/browse/KARAF-1322
> Project: Karaf
> Issue Type: Bug
> Components: cellar-hazelcast
> Affects Versions: cellar-2.2.3
> Reporter: Anthony Masse
> Assignee: Jean-Baptiste Onofré
> Fix For: cellar-3.0.0, cellar-2.2.4
>
>
> I want to create 2 hazelcast groups
> But when you change the default group name value ( cellar by default) in the
> both files :
> - hazelcast.xml,
> - org.apache.karaf.cellar.instance.cfg
> Once 10, the value set is the default value :
> - system | - - | /192.168.1.21:5706 [cellar] Hazelcast 1.9.4.6
> (20120105) starting at Address[192.168.1.21:5706]
> and 9 out of 10, you have your value :
> - system | - - | /192.168.1.21:5706 [myGroup] Hazelcast 1.9.4.6
> (20120105) starting at Address[192.168.1.21:5706]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira