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

Tighten the contract for batch client methods

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.0.0
    • API
    • Reviewed
    • Patch

    Description

      Right now, the API documentation for Table#get(List) and Table#batch(List, Result[]) both leave open the possibility for the ordering of the result array to be independent of the input actions.

      In at least the batch method case, ordering of the result array is important in order to know which partial requests failed in the event of an exception. Since that contact is required in the batch case, I think it should be extended to the get(List) case as well to make the API easier.

      Attachments

        1. HBASE-17486.patch
          2 kB
          Michael Axiak

        Activity

          People

            axiak Michael Axiak
            axiak Michael Axiak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: