You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2014/04/05 15:29:15 UTC

[jira] [Updated] (ACCUMULO-2639) MetadataLocationObtainer opaquely sets ScannerOpts

     [ 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)