[ https://issues.apache.org/jira/browse/ACCUMULO-2874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14025242#comment-14025242 ]
ASF subversion and git services commented on ACCUMULO-2874: ----------------------------------------------------------- Commit 1e0d50e6119df49b79bfdff6be81d9f8c5f667bb in accumulo's branch refs/heads/1.6.1-SNAPSHOT from [~ecn] [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=1e0d50e ] ACCUMULO-2874 update the docs to match the actual API > user documentation errors > ------------------------- > > Key: ACCUMULO-2874 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2874 > Project: Accumulo > Issue Type: Bug > Components: docs > Affects Versions: 1.5.0, 1.5.1, 1.6.0 > Reporter: Eric Newton > Assignee: Eric Newton > Fix For: 1.5.2, 1.6.1, 1.7.0 > > > Vicky Vat writes > {quote} > I have been looking at the "Reading Data" section > [here|http://accumulo.apache.org/1.6/accumulo_user_manual.html#_reading_data]. > Looking at the code I don't see the fetchFamily method as mentioned in this > line > {{scan.fetchFamily("attributes");}} > Looks to me that the document is not updated or something had recently been > changed in the API. > I had a look at the history on 1.6.1-Snapshot branch, I can't make out if > the fectchFamily was renamed from it there > [see > ScannerOptions|https://github.com/apache/accumulo/commits/master/core/src/main/java/org/apache/accumulo/core/client/impl/ScannerOptions.java] > It seems the docs contains wrong method name of fetchFamily, wanted to > confirm before digging further or raising issue. > Thanks, > Vicky > {quote} > and: > {quote} > The following piece also looks crazy > {noformat} > for(Entry<Key,Value> entry : scan) { > String row = entry.getKey().getRow(); > Value value = entry.getValue(); > {noformat} > {quote} -- This message was sent by Atlassian JIRA (v6.2#6252)