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

xiaojunxiang updated HDFS-17446:
--------------------------------
    Description: 
Datanodes do not print logs when addToReplicasMap is just started, so we will 
not be aware of its progress, or even wait up to 4 hours for a large cluster. 
This is very confusing.

A cluster is as follows:
!image-2024-03-28-23-53-29-057.png!

 

The optimized result is as follows:

(Because Scan thread is ForkJoinPool, so the printing may be repeated, but it 
will affect the overall progress of the presentation
)

!image-2024-04-01-17-26-05-433.png!

 

 

  was:
Datanodes do not print logs when addToReplicasMap is just started, so we will 
not be aware of its progress, or even wait up to 4 hours for a large cluster. 
This is very confusing.

A cluster is as follows:
 !image-2024-03-28-23-53-29-057.png! 


> The DataNode adds a log to report its progress during addToReplicasMap 
> execution.
> ---------------------------------------------------------------------------------
>
>                 Key: HDFS-17446
>                 URL: https://issues.apache.org/jira/browse/HDFS-17446
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs
>            Reporter: xiaojunxiang
>            Priority: Critical
>              Labels: pull-request-available
>         Attachments: image-2024-03-28-23-53-29-057.png, 
> image-2024-04-01-17-26-05-433.png
>
>
> Datanodes do not print logs when addToReplicasMap is just started, so we will 
> not be aware of its progress, or even wait up to 4 hours for a large cluster. 
> This is very confusing.
> A cluster is as follows:
> !image-2024-03-28-23-53-29-057.png!
>  
> The optimized result is as follows:
> (Because Scan thread is ForkJoinPool, so the printing may be repeated, but it 
> will affect the overall progress of the presentation
> )
> !image-2024-04-01-17-26-05-433.png!
>  
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to