Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-16833 Implement asynchronous hbase client based on HBASE-15921
  3. HBASE-17740

Correct the semantic of batch and partial for async client

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: asyncclient, Client, Scanners
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      Now async client has the same semantic with sync client for batch and partial.
      '''
      Now setBatch doesn't mean setAllowPartialResult(true)
      If user setBatch(5) and rpc returns 3+5+5+5+3 cells, we should return 5+5+5+5+1 to user.
      '''

      Also a minor API change:
      Result#createCompleteResult(List<Result>) is changed to Result#createCompleteResult(Iterable<Result>).

      Show
      Now async client has the same semantic with sync client for batch and partial. ''' Now setBatch doesn't mean setAllowPartialResult(true) If user setBatch(5) and rpc returns 3+5+5+5+3 cells, we should return 5+5+5+5+1 to user. ''' Also a minor API change: Result#createCompleteResult(List<Result>) is changed to Result#createCompleteResult(Iterable<Result>).

      Attachments

      1. HBASE-17740-v1.patch
        46 kB
        Duo Zhang
      2. HBASE-17740.patch
        46 kB
        Duo Zhang

        Issue Links

          Activity

            People

            • Assignee:
              zhangduo Duo Zhang
              Reporter:
              zhangduo Duo Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: