accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1673) Mikstake in 1.5 Manual section 7.3 Indexing
Date Thu, 19 Sep 2013 17:42:54 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13772089#comment-13772089
] 

ASF subversion and git services commented on ACCUMULO-1673:
-----------------------------------------------------------

Commit baf134c836dd90d581a71484544d5ced64a7e35a in branch refs/heads/master from [~_alexm]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=baf134c ]

ACCUMULO-1673 fix 1.5 manual indexing example

Signed-off-by: Josh Elser <elserj@rpi.edu>

                
> Mikstake in 1.5 Manual section 7.3 Indexing
> -------------------------------------------
>
>                 Key: ACCUMULO-1673
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1673
>             Project: Accumulo
>          Issue Type: Bug
>          Components: docs
>            Reporter: Miguel Pereira
>            Assignee: Alex Moundalexis
>            Priority: Trivial
>              Labels: documentaion, newbie
>             Fix For: 1.5.1, 1.6.0
>
>         Attachments: ACCUMULO-1673.patch.txt
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> HashSet<Text> matchingRows = new HashSet<Text>();
> ...
>     matchingRows.add(new Text(entry.getKey().getColumnQualifier()));
> ...
> bscan.fetchFamily("attributes");
> ...
> for(Entry<Key,Value> entry : scan)
> Should read:
> HashSet<Range> matchingRows = new HashSet<Range>();
> ...
>     matchingRows.add(new Range(entry.getKey().getColumnQualifier()));
> ...
> bscan.fetchColumnFamily("attributes"); // api change?
> ...
> for(Entry<Key,Value> entry : bscan)
> // Now this line will work, since it accepts a collection of range not text 
> bscan.setRanges(matchingRows);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message