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

ASF GitHub Bot commented on HDFS-17741:
---------------------------------------

LiuGuH opened a new pull request, #7432:
URL: https://github.com/apache/hadoop/pull/7432

   
   <!--
     Thanks for sending a pull request!
       1. If this is your first time, please read our contributor guidelines: 
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
       2. Make sure your PR title starts with JIRA issue id, e.g., 
'HADOOP-17799. Your PR title ...'.
   -->
   
   ### Description of PR
   [HDFS-17741](https://issues.apache.org/jira/browse/HDFS-17741)
   
   When create a file with overwrite, the old blocks will not delete 
immediately because these blocks not add into MarkedDeleteQueue.
   
   This will have two consequences
   
   (1)The block will delete when datanode block report comes.
   
     (2)  If the block is in the PendingReconstructionBlocks, it will  be 
timeouted after 300s.
   
    
   ### How was this patch tested?
   Add a test case.
   
   




> The old blocks should be added into MarkedDeleteQueue when create a file with 
> overwrite
> ---------------------------------------------------------------------------------------
>
>                 Key: HDFS-17741
>                 URL: https://issues.apache.org/jira/browse/HDFS-17741
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: liuguanghua
>            Priority: Major
>
> When create a file with overwrite, the old blocks will not delete immediately 
> because these blocks not add into MarkedDeleteQueue.
> This will have two consequences
> (1)The block will delete when datanode block report comes.
>   (2)  If the block is in the PendingReconstructionBlocks, it will  be 
> timeouted after 300s.
>  



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