accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Newton (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-2874) user documentation errors
Date Mon, 09 Jun 2014 13:35:02 GMT
Eric Newton created ACCUMULO-2874:
-------------------------------------

             Summary: 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.6.0, 1.5.1, 1.5.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)

Mime
View raw message