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-3602 BatchScanner optimization for...
Date Thu, 16 Apr 2015 22:20:45 GMT
Github user joshelser commented on a diff in the pull request:

    https://github.com/apache/accumulo/pull/25#discussion_r28555436
  
    --- Diff: core/src/main/java/org/apache/accumulo/core/client/mapred/InputFormatBase.java
---
    @@ -315,19 +352,8 @@ protected static TabletLocator getTabletLocator(JobConf job) throws
TableNotFoun
       protected abstract static class RecordReaderBase<K,V> extends AbstractRecordReader<K,V>
{
     
         @Override
    -    protected void setupIterators(JobConf job, Scanner scanner, String tableName, org.apache.accumulo.core.client.mapred.RangeInputSplit
split) {
    -      List<IteratorSetting> iterators = null;
    -
    -      if (null == split) {
    -        iterators = getIterators(job);
    -      } else {
    -        iterators = split.getIterators();
    -        if (null == iterators) {
    -          iterators = getIterators(job);
    -        }
    -      }
    -
    -      setupIterators(iterators, scanner);
    +    protected List<IteratorSetting> jobIterators(JobConf job, String tableName)
{
    +      return getIterators(job);
    --- End diff --
    
    n/m, pulled it into Eclipse and realized it's just me :)


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