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

REST server does not respect client supplied max versions when creating scanner

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.90.1
    • 0.90.2, 0.92.0
    • REST
    • None

    Description

      In org.apache.hadoop.hbase.rest.ScannerResource.update(), where a new scanner is created on the server, we don't seem to respect the max versions value sent by the client:

          RowSpec spec = new RowSpec(model.getStartRow(), endRow,
            model.getColumns(), model.getStartTime(), model.getEndTime(), 1);
      

      Looks to me like the last argument of "1" should instead be model.getMaxVersions().

      Attachments

        Activity

          People

            apurtell Andrew Kyle Purtell
            ghelmling Gary Helmling
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: