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

Fix error handling in get(List<Get> gets)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.92.0
    • 0.92.0
    • Client
    • None
    • Reviewed

    Description

      See HBASE-3634 for details. The get(List<Get> gets) call needs to catch (or rather use a try/finally) the exception thrown by batch() and copy the Result instances over and return it. If that is not intended then we need to fix the JavaDoc in HTableInterface to reflect the new behavior.

      In general it seems to make sense to check the various methods (list based put, get, delete compared to batch) and agree on the correct behavior.

      Attachments

        1. HBASE-3670.r1.diff
          1.0 kB
          Harsh J

        Activity

          People

            qwertymaniac Harsh J
            larsgeorge Lars George
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: