[
https://issues.apache.org/jira/browse/HDFS-13840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16587363#comment-16587363
]
Brahma Reddy Battula commented on HDFS-13840:
---------------------------------------------
Uploaded the patch.
Updating the replica based on latest GS.Kindly review.
> RBW Blocks which are having less GS shouldn't added on DN restart
> -----------------------------------------------------------------
>
> Key: HDFS-13840
> URL: https://issues.apache.org/jira/browse/HDFS-13840
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Brahma Reddy Battula
> Assignee: Brahma Reddy Battula
> Priority: Minor
> Attachments: HDFS-13840.patch
>
>
> # Start two DN's (DN1,DN2).
> # Write fileA with rep=2 ( dn't close)
> # Stop DN1.
> # Write some data to fileA.
> # restart the DN1
> # Get the blocklocations of fileA.
> Here RWR state block will be reported on DN restart and added to locations.
> IMO,RWR blocks which having less GS shouldn't added, as they give false
> postive (anyway read can be failed as it's genstamp is less)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]