HBase
  1. HBase
  2. HBASE-10597

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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.

      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

        Ted Yu created issue -
        Ted Yu made changes -
        Field Original Value New Value
        Attachment 10597-v1.txt [ 12630605 ]
        Ted Yu made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Ted Yu made changes -
        Attachment 10597-v2.txt [ 12630720 ]
        Ted Yu made changes -
        Attachment 10597-v3.txt [ 12630734 ]
        Ted Yu made changes -
        Fix Version/s 0.98.1 [ 12325664 ]
        Fix Version/s 0.99.0 [ 12325675 ]
        Ted Yu made changes -
        Hadoop Flags Reviewed [ 10343 ]
        Ted Yu made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Enis Soztutar made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Ted Yu
            Reporter:
            Ted Yu
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development