Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8117

More accurate verification in SimulatedFSDataset: replace DEFAULT_DATABYTE with patterned data

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.8.0, 3.0.0-alpha1
    • None
    • None

    Description

      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.

      Attachments

        1. HDFS-8117-branch2.patch
          14 kB
          Zhe Zhang
        2. HDFS-8117.003.patch
          14 kB
          Zhe Zhang
        3. HDFS-8117.002.patch
          13 kB
          Zhe Zhang
        4. HDFS-8117.001.patch
          12 kB
          Zhe Zhang
        5. HDFS-8117.000.patch
          11 kB
          Zhe Zhang

        Activity

          People

            zhz Zhe Zhang
            zhz Zhe Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: