Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-3959

Confusing wording on BatchScanner javadoc

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.3, 1.7.0
    • Fix Version/s: 1.6.4, 1.7.1, 1.8.0
    • Component/s: docs
    • Labels:

      Description

      The following sentence in the BatchScanner Javadoc has confused my colleagues into using Scanners and wondering why performance doesn't scale.

      If you want to lookup a few ranges and expect those ranges to contain a lot of data, then use the Scanner instead.

      Also regarding this next sentence, from what I see of the BatchScanner it will break up "large Range objects" that span multiple extents (tablets) into multiple ranges, possibly one for each tablet.

      Use this when looking up lots of ranges and you expect each range to contain a small amount of data.

      If the client is okay with unsorted order and it is okay with using multiple threads, then isn't it always a better decision to use a BatchScanner than regular Scanner? In the worst case, one Range over a single row, the BatchScanner will perform the same as a regular Scanner, ya?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shutchis Shana Hutchison
                Reporter:
                shutchis Shana Hutchison
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h