karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandr Palto (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-1465) "cluster:group-set" command same to "cluster:group-join" command
Date Mon, 14 May 2012 17:11:55 GMT

    [ https://issues.apache.org/jira/browse/KARAF-1465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13274757#comment-13274757
] 

Alexandr Palto commented on KARAF-1465:
---------------------------------------

Comments to issue reopen.

For now group-set is working normally only into "one direction". It join\remove node from
default to custom group, but only join node into default from custom (and also leaves it is
in old, default group).

See logs output for details:

karaf@trun> group-list 
   Group                  Members
* [default             ] [apaltoNB.local:5701* apaltoNB.local:5702 apaltoNB.local:5703 ]
  [testgrp             ] [apaltoNB.local:5703 ]


karaf@trun> group-set testgrp apaltoNB.local:5702
   Group                  Members
* [default             ] [apaltoNB.local:5701* apaltoNB.local:5703 ]
  [testgrp             ] [apaltoNB.local:5702 apaltoNB.local:5703 ]


karaf@trun> group-set default apaltoNB.local:5702 
   Group                  Members
* [default             ] [apaltoNB.local:5701* apaltoNB.local:5702 apaltoNB.local:5703 ]
  [testgrp             ] [apaltoNB.local:5702 apaltoNB.local:5703 ]


karaf@trun> group-list
   Group                  Members
* [default             ] [apaltoNB.local:5701* apaltoNB.local:5702 apaltoNB.local:5703 ]
  [testgrp             ] [apaltoNB.local:5702 apaltoNB.local:5703 ]
                
> "cluster:group-set" command same to "cluster:group-join" command
> ----------------------------------------------------------------
>
>                 Key: KARAF-1465
>                 URL: https://issues.apache.org/jira/browse/KARAF-1465
>             Project: Karaf
>          Issue Type: Bug
>          Components: cellar-core
>            Reporter: Xiaoli Ding
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: cellar-3.0.0, cellar-2.2.4
>
>
> 1.Start three karaf and install cellar
> 2.three node are in default group(n1,n2,n3)
> {panel}
> karaf@trun> group-list
>    Group                  Members
>  [default             ] [xlding:5701* xlding:5703 xlding:5702 ]
> {panel}
> 2.using group-create to create new group(grp1)
> 3.on n1,using group-set to set n1 to grp1
> {panel}
> karaf@trun> group-set grp1 xlding:5701
>    Group                  Members
>  [default             ] [xlding:5701* xlding:5703 xlding:5702 ]
>  [grp1                ] [xlding:5701* ]
> {panel}
> 4.the n1(xlding:5701) should removed from defaut group,should only in grp1.

--
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

       

Mime
View raw message