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

Alex Juncevich edited comment on HDDS-11120 at 7/8/24 8:26 PM:
---------------------------------------------------------------

Example with current iteration info

{code}
ContainerBalancer is running.
Started at: 2024-07-08 18:56:49

Container Balancer Configuration values:
Key                                                Value
Threshold                                          10.0
Max Datanodes to Involve per Iteration(percent)    20
Max Size to Move per Iteration                     0GB
Max Size Entering Target per Iteration             26GB
Max Size Leaving Source per Iteration              26GB
Number of Iterations                               2
Time Limit for Single Container's Movement         65min
Time Limit for Single Container's Replication      50min
Interval between each Iteration                    0min
Whether to Enable Network Topology                 false
Whether to Trigger Refresh Datanode Usage Info     false
Container IDs to Exclude from Balancing            None
Datanodes Specified to be Balanced                 None
Datanodes Excluded from Balancing                  None

Current iteration info:
Key                                                Value
Iteration number                                   1
Iteration result                                   IN_PROGRESS
Size scheduled to move                             48
Moved data size                                    48
Scheduled to move containers                       11
Already moved containers                           11
Failed to move containers                          0
Failed to move containers by timeout               0
Entered data to nodes                              
80f6bc27-e6f3-493e-b1f4-25f810ad960d <- 27
701ca98e-aa1a-4b36-b817-e28ed634bba6 <- 23
Exited data from nodes                             
b8b9c511-c30f-4933-8938-2f272e307070 -> 24
7bd99815-47e7-4015-bc61-ca6ef6dfd130 -> 26
 {code}

Example with current iteration info + history iterations info
{code}
ContainerBalancer is running.
Started at: 2024-07-08 18:46:36

Container Balancer Configuration values:
Key                                                Value
Threshold                                          10.0
Max Datanodes to Involve per Iteration(percent)    20
Max Size to Move per Iteration                     0GB
Max Size Entering Target per Iteration             26GB
Max Size Leaving Source per Iteration              26GB
Number of Iterations                               2
Time Limit for Single Container's Movement         65min
Time Limit for Single Container's Replication      50min
Interval between each Iteration                    0min
Whether to Enable Network Topology                 false
Whether to Trigger Refresh Datanode Usage Info     false
Container IDs to Exclude from Balancing            None
Datanodes Specified to be Balanced                 None
Datanodes Excluded from Balancing                  None

Iteration history list:
Key                                                Value
Iteration number                                   0
Iteration result                                   ITERATION_COMPLETED
Size scheduled to move                             48
Moved data size                                    48
Scheduled to move containers                       11
Already moved containers                           11
Failed to move containers                          0
Failed to move containers by timeout               0
Entered data to nodes                              
80f6bc27-e6f3-493e-b1f4-25f810ad960d <- 27
701ca98e-aa1a-4b36-b817-e28ed634bba6 <- 23
Exited data from nodes                             
b8b9c511-c30f-4933-8938-2f272e307070 -> 24
7bd99815-47e7-4015-bc61-ca6ef6dfd130 -> 26

Key                                                Value
Iteration number                                   1
Iteration result                                   ITERATION_COMPLETED
Size scheduled to move                             48
Moved data size                                    48
Scheduled to move containers                       11
Already moved containers                           11
Failed to move containers                          0
Failed to move containers by timeout               0
Entered data to nodes                              
80f6bc27-e6f3-493e-b1f4-25f810ad960d <- 27
701ca98e-aa1a-4b36-b817-e28ed634bba6 <- 23
Exited data from nodes                             
b8b9c511-c30f-4933-8938-2f272e307070 -> 24
7bd99815-47e7-4015-bc61-ca6ef6dfd130 -> 26

Key                                                Value
Iteration number                                   1
Iteration result                                   IN_PROGRESS
Size scheduled to move                             48
Moved data size                                    48
Scheduled to move containers                       11
Already moved containers                           11
Failed to move containers                          0
Failed to move containers by timeout               0
Entered data to nodes                              
80f6bc27-e6f3-493e-b1f4-25f810ad960d <- 27
701ca98e-aa1a-4b36-b817-e28ed634bba6 <- 23
Exited data from nodes                             
b8b9c511-c30f-4933-8938-2f272e307070 -> 24
7bd99815-47e7-4015-bc61-ca6ef6dfd130 -> 26
{code}


was (Author: JIRAUSER306129):
Example with current iteration info
ContainerBalancer is running.
Started at: 2024-07-08 18:56:49

Container Balancer Configuration values:
Key                                                Value
Threshold                                          10.0
Max Datanodes to Involve per Iteration(percent)    20
Max Size to Move per Iteration                     0GB
Max Size Entering Target per Iteration             26GB
Max Size Leaving Source per Iteration              26GBNumber of Iterations     
                          2
Time Limit for Single Container's Movement         65min
Time Limit for Single Container's Replication      50min
Interval between each Iteration                    0min
Whether to Enable Network Topology                 falseWhether to Trigger 
Refresh Datanode Usage Info     falseContainer IDs to Exclude from Balancing    
        None
Datanodes Specified to be Balanced                 None
Datanodes Excluded from Balancing                  None

Current iteration info:
Key                                                Value
Iteration number                                   1
Iteration result                                   IN_PROGRESS
Size scheduled to move                             48
Moved data size                                    48
Scheduled to move containers                       11
Already moved containers                           11
Failed to move containers                          0
Failed to move containers by timeout               0
Entered data to nodes                              
80f6bc27-e6f3-493e-b1f4-25f810ad960d <- 27
701ca98e-aa1a-4b36-b817-e28ed634bba6 <- 23
Exited data from nodes                             
b8b9c511-c30f-4933-8938-2f272e307070 -> 24
7bd99815-47e7-4015-bc61-ca6ef6dfd130 -> 26
 

Example with current iteration info + history iterations info
ContainerBalancer is running.
Started at: 2024-07-08 18:46:36

Container Balancer Configuration values:
Key                                                Value
Threshold                                          10.0
Max Datanodes to Involve per Iteration(percent)    20
Max Size to Move per Iteration                     0GB
Max Size Entering Target per Iteration             26GB
Max Size Leaving Source per Iteration              26GBNumber of Iterations     
                          2
Time Limit for Single Container's Movement         65min
Time Limit for Single Container's Replication      50min
Interval between each Iteration                    0min
Whether to Enable Network Topology                 falseWhether to Trigger 
Refresh Datanode Usage Info     falseContainer IDs to Exclude from Balancing    
        None
Datanodes Specified to be Balanced                 None
Datanodes Excluded from Balancing                  None

Iteration history list:
Key                                                Value
Iteration number                                   0
Iteration result                                   ITERATION_COMPLETED
Size scheduled to move                             48
Moved data size                                    48
Scheduled to move containers                       11
Already moved containers                           11
Failed to move containers                          0
Failed to move containers by timeout               0
Entered data to nodes                              
80f6bc27-e6f3-493e-b1f4-25f810ad960d <- 27
701ca98e-aa1a-4b36-b817-e28ed634bba6 <- 23
Exited data from nodes                             
b8b9c511-c30f-4933-8938-2f272e307070 -> 24
7bd99815-47e7-4015-bc61-ca6ef6dfd130 -> 26

Key                                                Value
Iteration number                                   1
Iteration result                                   ITERATION_COMPLETED
Size scheduled to move                             48
Moved data size                                    48
Scheduled to move containers                       11
Already moved containers                           11
Failed to move containers                          0
Failed to move containers by timeout               0
Entered data to nodes                              
80f6bc27-e6f3-493e-b1f4-25f810ad960d <- 27
701ca98e-aa1a-4b36-b817-e28ed634bba6 <- 23
Exited data from nodes                             
b8b9c511-c30f-4933-8938-2f272e307070 -> 24
7bd99815-47e7-4015-bc61-ca6ef6dfd130 -> 26

Key                                                Value
Iteration number                                   1
Iteration result                                   IN_PROGRESS
Size scheduled to move                             48
Moved data size                                    48
Scheduled to move containers                       11
Already moved containers                           11
Failed to move containers                          0
Failed to move containers by timeout               0
Entered data to nodes                              
80f6bc27-e6f3-493e-b1f4-25f810ad960d <- 27
701ca98e-aa1a-4b36-b817-e28ed634bba6 <- 23
Exited data from nodes                             
b8b9c511-c30f-4933-8938-2f272e307070 -> 24
7bd99815-47e7-4015-bc61-ca6ef6dfd130 -> 26

> Create
> ------
>
>                 Key: HDDS-11120
>                 URL: https://issues.apache.org/jira/browse/HDDS-11120
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Alex Juncevich
>            Assignee: Alex Juncevich
>            Priority: Major
>
> Need to add additional information in rebalancing status cli command.
>  # Rebalancing start time
>  # Rebalancing parameters
>  # How many containers need to be balanced and how many containers from then 
> still unbalanced
>  # How many data in Gb need to transfered in general and how many 
> untransfered yet
>  # Which datanodes took a part in rebalancing
> As idea to use flags for command to get more information about rebalancing 
> status. For example use `-v` or `--verbose`.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to