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

Kirill Gusakov commented on IGNITE-10837:
-----------------------------------------

Before:
{{}}
{noformat}
Current topology version: 1 (Coordinator: ConsistentId=gridCommandHandlerTest0, 
Order=1)

Baseline nodes:
    ConsistentId=gridCommandHandlerTest0, State=ONLINE, Order=1{noformat}
After (non-verbose):
{noformat}
Current topology version: 1 (Coordinator: ConsistentId=gridCommandHandlerTest0, 
Address=188.166.164.247.hostname/188.166.164.247, Order=1)

Baseline nodes:
    ConsistentId=gridCommandHandlerTest0, 
Address=188.166.164.247.hostname/188.166.164.247, State=ONLINE, 
Order=1{noformat}
After (verbose):
{noformat}
Current topology version: 1 (Coordinator: ConsistentId=gridCommandHandlerTest0, 
Addresses=188.166.164.247.hostname/188.166.164.247,10.19.112.175.hostname/10.19.112.175,
 Order=1)

Baseline nodes:
    ConsistentId=gridCommandHandlerTest0, 
Addresses=188.166.164.247.hostname/188.166.164.247,10.19.112.175.hostname/10.19.112.175,
 State=ONLINE, Order=1{noformat}
 

{{{{}}{{}}}}
 

> control.sh --baseline should output node IP addresses
> -----------------------------------------------------
>
>                 Key: IGNITE-10837
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10837
>             Project: Ignite
>          Issue Type: Improvement
>          Components: control.sh
>    Affects Versions: 2.5, 2.8
>            Reporter: Max Shonichev
>            Assignee: Kirill Gusakov
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> control.sh --baseline outputs node's consistent IDs
> it would be very useful, if it also output node's IP addresses.
> UPDATE:
>  * Also, will be useful to have a hostname (if exists).
>  * The baseline node has multiple IPs and in general, we have no 
> understanding which one should be used. So, two options available:
>  ** Use {{VisorTaskUtils#sortAddresses}} and get the head
>  ** In --verbose mode shows the whole list of IPs sorted by 
> {{VisorTaskUtils#sortAddresses}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to