accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Drob (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-2639) MetadataLocationObtainer opaquely sets ScannerOpts
Date Sat, 05 Apr 2014 00:37:15 GMT
Mike Drob created ACCUMULO-2639:
-----------------------------------

             Summary: MetadataLocationObtainer opaquely sets ScannerOpts
                 Key: ACCUMULO-2639
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2639
             Project: Accumulo
          Issue Type: Bug
    Affects Versions: 1.6.0
            Reporter: Mike Drob


{code}
    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();
{code}

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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message