[ 
https://issues.apache.org/jira/browse/IGNITE-13510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amelchev Nikita updated IGNITE-13510:
-------------------------------------
    Description: 
the control.sh utility immediately relinquishes control
and without using metricExporter it is impossible to understand whether the 
snapshot completed or not

Creating

{noformat}
Create snapshot operation is in progress.
Snapshot name: snapshot1
Operation ID: 0c636326-76f8-4918-b15c-1010d9c47a5f
Started at: Aug 17, 2022 8:02:27 PM
Duration: 00:00:00.734

Estimated operation progress:

Node ID                                 Processed, bytes    Total, bytes    
Percent
a4d3f584-bd67-4550-a26a-afa3bd500004    120.0 KB            2.2 MB          5%  
   
ef3a27fd-86eb-4886-97e6-7b061f100001    16.6 MB             34.1 MB         48% 
   
ffd8a17e-1fa4-4671-aac6-e2a344700003    12.6 MB             34.4 MB         36% 
   
072d4b79-d4f9-472e-8b6a-d05c34f00002    132.0 KB            2.1 MB          6%  
   
210db306-0aa9-45ef-a0ca-5b7f61200000    16.7 MB             34.2 MB         48% 
  
{noformat}

Restoring

{noformat}
Restore snapshot operation is in progress.
Snapshot name: snapshot1
Operation ID: 96201080-b1d0-4f0c-80ef-5e046c1f62cf
Started at: Aug 17, 2022 8:02:30 PM
Duration: 00:00:00.170

Estimated operation progress:

Node ID                                 Processed, partitions    Total, 
partitions    Percent
a4d3f584-bd67-4550-a26a-afa3bd500004    9                        9              
      100%   
ef3a27fd-86eb-4886-97e6-7b061f100001    11                       16             
      68%    
ffd8a17e-1fa4-4671-aac6-e2a344700003    14                       16             
      87%    
072d4b79-d4f9-472e-8b6a-d05c34f00002    11                       12             
      91%    
210db306-0aa9-45ef-a0ca-5b7f61200000    12                       16             
      75%    
{noformat}

No snapshot operation

{noformat}
There is no create or restore snapshot operation in progress.
{noformat}



  was:
the control.sh utility immediately relinquishes control
and without using metricExporter it is impossible to understand whether the 
snapshot completed or not

Restoring
{code:java}
Control utility [ver. 2.12.0-SNAPSHOT#20211004-sha1:77de60a7]
2021 Copyright(C) Apache Software Foundation
User: sega
Time: 2021-10-07T14:18:59.523
Command [SNAPSHOT] started
Arguments: --snapshot status --yes 
--------------------------------------------------------------------------------
Status of SNAPSHOT operations:
gridCommandHandlerTest0 -> Restoring to snapshot with name: snapshot_02052020
gridCommandHandlerTest1 -> Restoring to snapshot with name: snapshot_02052020

Command [SNAPSHOT] finished with code: 0
Control utility has completed execution at: 2021-10-07T14:18:59.546
Execution time: 23 ms
{code}

Creating
{code:java}
Control utility [ver. 2.12.0-SNAPSHOT#20211004-sha1:77de60a7]
2021 Copyright(C) Apache Software Foundation
User: sega
Time: 2021-10-07T14:18:55.368
Command [SNAPSHOT] started
Arguments: --snapshot status --yes 
--------------------------------------------------------------------------------
Status of SNAPSHOT operations:
gridCommandHandlerTest0 -> Creating the snapshot with name: snapshot_02052020
gridCommandHandlerTest1 -> Creating the snapshot with name: snapshot_02052020

Command [SNAPSHOT] finished with code: 0
Control utility has completed execution at: 2021-10-07T14:18:55.391
Execution time: 23 ms
{code}

No snapshot operation
{code:java}
Control utility [ver. 2.12.0-SNAPSHOT#20211004-sha1:77de60a7]
2021 Copyright(C) Apache Software Foundation
User: sega
Time: 2021-10-07T14:18:58.408
Command [SNAPSHOT] started
Arguments: --snapshot status --yes 
--------------------------------------------------------------------------------
Status of SNAPSHOT operations:
gridCommandHandlerTest0 -> No snapshot operation.
gridCommandHandlerTest1 -> No snapshot operation.

Command [SNAPSHOT] finished with code: 0
Control utility has completed execution at: 2021-10-07T14:18:58.439
Execution time: 31 ms
{code}






> Getting status of snapshot execution via command line and jmx
> -------------------------------------------------------------
>
>                 Key: IGNITE-13510
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13510
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Sergei Ryzhov
>            Assignee: Amelchev Nikita
>            Priority: Major
>              Labels: iep-43, ise, snapshot
>             Fix For: 2.14
>
>          Time Spent: 4.5h
>  Remaining Estimate: 0h
>
> the control.sh utility immediately relinquishes control
> and without using metricExporter it is impossible to understand whether the 
> snapshot completed or not
> Creating
> {noformat}
> Create snapshot operation is in progress.
> Snapshot name: snapshot1
> Operation ID: 0c636326-76f8-4918-b15c-1010d9c47a5f
> Started at: Aug 17, 2022 8:02:27 PM
> Duration: 00:00:00.734
> Estimated operation progress:
> Node ID                                 Processed, bytes    Total, bytes    
> Percent
> a4d3f584-bd67-4550-a26a-afa3bd500004    120.0 KB            2.2 MB          
> 5%     
> ef3a27fd-86eb-4886-97e6-7b061f100001    16.6 MB             34.1 MB         
> 48%    
> ffd8a17e-1fa4-4671-aac6-e2a344700003    12.6 MB             34.4 MB         
> 36%    
> 072d4b79-d4f9-472e-8b6a-d05c34f00002    132.0 KB            2.1 MB          
> 6%     
> 210db306-0aa9-45ef-a0ca-5b7f61200000    16.7 MB             34.2 MB         
> 48%   
> {noformat}
> Restoring
> {noformat}
> Restore snapshot operation is in progress.
> Snapshot name: snapshot1
> Operation ID: 96201080-b1d0-4f0c-80ef-5e046c1f62cf
> Started at: Aug 17, 2022 8:02:30 PM
> Duration: 00:00:00.170
> Estimated operation progress:
> Node ID                                 Processed, partitions    Total, 
> partitions    Percent
> a4d3f584-bd67-4550-a26a-afa3bd500004    9                        9            
>         100%   
> ef3a27fd-86eb-4886-97e6-7b061f100001    11                       16           
>         68%    
> ffd8a17e-1fa4-4671-aac6-e2a344700003    14                       16           
>         87%    
> 072d4b79-d4f9-472e-8b6a-d05c34f00002    11                       12           
>         91%    
> 210db306-0aa9-45ef-a0ca-5b7f61200000    12                       16           
>         75%    
> {noformat}
> No snapshot operation
> {noformat}
> There is no create or restore snapshot operation in progress.
> {noformat}



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

Reply via email to