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

Brahma Reddy Battula commented on HDFS-10810:
---------------------------------------------

Without HDFS-9600 block will be marked as corrupt which added whether stored 
block is complete or not.

Now {{isNeededReconstruction(block, repl.liveReplicas()}} returns false and 
block will be removed from the neededReconstruction
{code}neededReconstruction.remove(block, oldReplicas, repl.readOnlyReplicas(),
repl.decommissionedAndDecommissioning(), oldExpectedReplicas);{code}

>  Setreplication removing block from underconstrcution temporarly when batch 
> IBR is enabled.
> -------------------------------------------------------------------------------------------
>
>                 Key: HDFS-10810
>                 URL: https://issues.apache.org/jira/browse/HDFS-10810
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>
> 1)Batch IBR is enabled with number of committed blocks allowed=1
> 2) Written one block and closed the file without waiting for IBR
> 3)Setreplication called immediately on the file. 
> SO till the finalized IBR Received, this block will be marked as corrupt.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to