Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10597

IOEngine#read() should return the number of bytes transferred

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.98.1, 0.99.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      IOEngine#read() is called by BucketCache#getBlock().

      IOEngine#read() should return the number of bytes transferred so that BucketCache#getBlock() can check this return value against the length obtained from bucketEntry.

        Attachments

        1. 10597-v1.txt
          5 kB
          Ted Yu
        2. 10597-v2.txt
          5 kB
          Ted Yu
        3. 10597-v3.txt
          5 kB
          Ted Yu

          Activity

            People

            • Assignee:
              yuzhihong@gmail.com Ted Yu
              Reporter:
              yuzhihong@gmail.com Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: