accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-2639) MetadataLocationObtainer opaquely sets ScannerOpts
Date Sat, 05 Apr 2014 13:29:15 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-2639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christopher Tubbs updated ACCUMULO-2639:
----------------------------------------

    Issue Type: Improvement  (was: Bug)

> MetadataLocationObtainer opaquely sets ScannerOpts
> --------------------------------------------------
>
>                 Key: ACCUMULO-2639
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2639
>             Project: Accumulo
>          Issue Type: Improvement
>    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