You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Zhe Zhang (JIRA)" <ji...@apache.org> on 2015/04/09 23:18:12 UTC

[jira] [Created] (HDFS-8117) More accurate verification in SimulatedFSDataset: replace DEFAULT_DATABYTE with patterned data

Zhe Zhang created HDFS-8117:
-------------------------------

             Summary: 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
            Reporter: Zhe Zhang
            Assignee: Zhe Zhang


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)