accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From keith-turner <...@git.apache.org>
Subject [GitHub] accumulo pull request #224: ACCUMULO-4500 ACCUMULO-96 Added summarization
Date Wed, 01 Mar 2017 23:22:14 GMT
Github user keith-turner commented on a diff in the pull request:

    https://github.com/apache/accumulo/pull/224#discussion_r103815757
  
    --- Diff: core/src/main/java/org/apache/accumulo/core/client/rfile/RFileWriterBuilder.java
---
    @@ -92,10 +102,11 @@ public RFileWriter build() throws IOException {
           } else {
             fsdo = new FSDataOutputStream(out.getOutputStream(), new FileSystem.Statistics("foo"));
           }
    -      return new RFileWriter(fileops.newWriterBuilder().forOutputStream(".rf", fsdo,
out.getConf()).withTableConfiguration(acuconf).build(), visCacheSize);
    +      return new RFileWriter(fileops.newWriterBuilder().forOutputStream(".rf", fsdo,
out.getConf()).withTableConfiguration(acuconf)
    +          .setAccumuloStartEnabled(false).build(), visCacheSize);
         } else {
           return new RFileWriter(fileops.newWriterBuilder().forFile(out.path.toString(),
out.getFileSystem(), out.getConf()).withTableConfiguration(acuconf)
    -          .build(), visCacheSize);
    +          .setAccumuloStartEnabled(false).build(), visCacheSize);
    --- End diff --
    
    It presumed that this code us running in a client process, so do not want to use Accumulo
start to load classes.


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