accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joshelser <>
Subject [GitHub] accumulo pull request #196: ACCUMULO-4057 Moved the code to a private static...
Date Thu, 29 Dec 2016 20:23:52 GMT
Github user joshelser commented on a diff in the pull request:
    --- Diff: core/src/main/java/org/apache/accumulo/core/iterators/ ---
    @@ -235,18 +235,27 @@ private static void mergeOptions(Map<String,Map<String,String>>
ssio, Map<String
       public static <K extends WritableComparable<?>,V extends Writable> SortedKeyValueIterator<K,V>
loadIterators(IteratorScope scope,
           SortedKeyValueIterator<K,V> source, KeyExtent extent, AccumuloConfiguration
conf, List<IterInfo> ssiList, Map<String,Map<String,String>> ssio,
           IteratorEnvironment env, boolean useAccumuloClassLoader) throws IOException {
    -    List<IterInfo> iters = new ArrayList<>(ssiList);
    -    Map<String,Map<String,String>> allOptions = new HashMap<>();
    -    parseIteratorConfiguration(scope, iters, ssio, allOptions, conf);
    -    return loadIterators(source, iters, allOptions, env, useAccumuloClassLoader, conf.get(Property.TABLE_CLASSPATH));
    +    return loadIteratorsHelper(scope, source, extent, conf, ssiList, ssio, env, useAccumuloClassLoader,
    --- End diff --
    Related comment to below: would recommend switching the `null` back to `conf.get(Property.TABLE_CLASSPATH)`

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 or file a JIRA ticket
with INFRA.

View raw message