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 #269: ACCUMULO-4656
Date Tue, 20 Jun 2017 15:50:41 GMT
Github user keith-turner commented on a diff in the pull request:

    https://github.com/apache/accumulo/pull/269#discussion_r123017014
  
    --- Diff: core/src/main/java/org/apache/accumulo/core/file/rfile/RFile.java ---
    @@ -309,11 +309,18 @@ public void printInfo(boolean isSample) throws IOException {
           long numKeys = 0;
           IndexIterator countIter = indexReader.lookup(new Key());
           while (countIter.hasNext()) {
    -        numKeys += countIter.next().getNumEntries();
    +        IndexEntry indexEntry = countIter.next();
    +        numKeys += indexEntry.getNumEntries();
           }
     
           out.printf("\t%-22s : %,d\n", "Num entries", numKeys);
           out.printf("\t%-22s : %s\n", "Column families", (isDefaultLG && columnFamilies
== null ? "<UNKNOWN>" : columnFamilies.keySet()));
    +
    +      if (includeIndexDetails) {
    +        out.printf("\t%-22s :\n", "Index Entries", lastKey);
    +        String prefix = String.format("\t   ", "");
    --- End diff --
    
    This used to do something different, then i changed it.  Now its just goofy.


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