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

MetadataLocationObtainer opaquely sets ScannerOpts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.6.0
    • None
    • None
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mdrob Mike Drob
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: