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

For single row, single family retrieval, getRow() works half as fast as getScanner().next()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.2.0
    • 0.2.0
    • None
    • None

    Description

      We have a very typical use-case of wanting to retrieve all columns under a single row, single family.

      Benchmarking regularly reproduces the same result. Using HTable.getScanner().next() to get the RowResult works twice as fast as HTable.getRow().

      This is related to HBASE-631 by jdcryans which added this functionality to getRow().

      Attachments

        1. hbase-783-v1.patch
          2 kB
          Jean-Daniel Cryans

        Issue Links

          Activity

            People

              jdcryans Jean-Daniel Cryans
              streamy Jonathan Gray
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: