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)