Accumulo
  1. Accumulo
  2. ACCUMULO-2639

MetadataLocationObtainer opaquely sets ScannerOpts

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.6.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

          ScannerOptions opts = new ScannerOptions() {
            ScannerOptions setOpts() {
              this.fetchedColumns = locCols;
              this.serverSideIteratorList = new ArrayList<IterInfo>();
              // see comment in lookupTablet about why iterator is used
              this.serverSideIteratorList.add(new IterInfo(10000, WholeRowIterator.class.getName(), "WRI"));
              return this;
            }
          }.setOpts();
      

      This code is not very clear and probably exists because we didn't have a good API on ScannerOpts. This should be cleaned up.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Mike Drob
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development