Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D1B7A10C49 for ; Wed, 28 Aug 2013 14:30:54 +0000 (UTC) Received: (qmail 27553 invoked by uid 500); 28 Aug 2013 14:30:54 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 27395 invoked by uid 500); 28 Aug 2013 14:30:53 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 27167 invoked by uid 99); 28 Aug 2013 14:30:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Aug 2013 14:30:53 +0000 Date: Wed, 28 Aug 2013 14:30:53 +0000 (UTC) From: "Miguel Pereira (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ACCUMULO-1673) Mikstake in 1.5 Manual section 7.3 Indexing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-1673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Miguel Pereira updated ACCUMULO-1673: ------------------------------------- Description: HashSet matchingRows = new HashSet(); ... matchingRows.add(new Text(entry.getKey().getColumnQualifier())); ... bscan.fetchFamily("attributes"); Should read: HashSet matchingRows = new HashSet(); ... matchingRows.add(new Range(entry.getKey().getColumnQualifier())); ... bscan.fetchColumnFamily("attributes"); // api change? // Now this line will work, since it accepts a collection of range not text bscan.setRanges(matchingRows); was: HashSet matchingRows = new HashSet(); ... matchingRows.add(new Text(entry.getKey().getColumnQualifier())); Should read: HashSet matchingRows = new HashSet(); ... matchingRows.add(new Range(entry.getKey().getColumnQualifier())); // Now this line will work, since it accepts a collection of range not text bscan.setRanges(matchingRows); > 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 > Reporter: Miguel Pereira > Priority: Trivial > Labels: documentaion, newbie > Original Estimate: 5m > Remaining Estimate: 5m > > HashSet matchingRows = new HashSet(); > ... > matchingRows.add(new Text(entry.getKey().getColumnQualifier())); > ... > bscan.fetchFamily("attributes"); > Should read: > HashSet matchingRows = new HashSet(); > ... > matchingRows.add(new Range(entry.getKey().getColumnQualifier())); > ... > bscan.fetchColumnFamily("attributes"); // api change? > // 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