accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joshelser <...@git.apache.org>
Subject [GitHub] accumulo pull request: ACCUMULO-3948: Add Scanner classloader cont...
Date Wed, 11 Nov 2015 18:11:06 GMT
Github user joshelser commented on a diff in the pull request:

    https://github.com/apache/accumulo/pull/51#discussion_r44564725
  
    --- Diff: server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/ScanDataSource.java
---
    @@ -178,8 +178,13 @@ public boolean isCurrent() {
     
         VisibilityFilter visFilter = new VisibilityFilter(colFilter, options.getAuthorizations(),
options.getDefaultLabels());
     
    -    return iterEnv.getTopLevelIterator(IteratorUtil.loadIterators(IteratorScope.scan,
visFilter, tablet.getExtent(), tablet.getTableConfiguration(),
    -        options.getSsiList(), options.getSsio(), iterEnv));
    +    if (null == options.getContext()) {
    --- End diff --
    
    Why not push down null handling to `IteratorUtil.loadIterators`?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message