[ https://issues.apache.org/jira/browse/HDFS-8117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14496470#comment-14496470 ]
Zhe Zhang commented on HDFS-8117: --------------------------------- Thanks Andrew for reviewing and taking care of the commit! > More accurate verification in SimulatedFSDataset: replace DEFAULT_DATABYTE > with patterned data > ---------------------------------------------------------------------------------------------- > > Key: HDFS-8117 > URL: https://issues.apache.org/jira/browse/HDFS-8117 > Project: Hadoop HDFS > Issue Type: Improvement > Affects Versions: 2.6.0 > Reporter: Zhe Zhang > Assignee: Zhe Zhang > Fix For: 2.8.0 > > Attachments: HDFS-8117-branch2.patch, HDFS-8117.000.patch, > HDFS-8117.001.patch, HDFS-8117.002.patch, HDFS-8117.003.patch > > > Currently {{SimulatedFSDataset}} uses a single {{DEFAULT_DATABYTE}} to > simulate _all_ block content. This is not accurate because the return of this > byte just means the read request has hit an arbitrary position in an > arbitrary simulated block. > This JIRA aims to improve it with a more accurate verification. When position > {{p}} of a simulated block {{b}} is accessed, the returned byte is {{b}}'s > block ID plus {{p}}, moduled by the max value of a byte. -- This message was sent by Atlassian JIRA (v6.3.4#6332)