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 F2C48FE46 for ; Wed, 3 Apr 2013 20:23:15 +0000 (UTC) Received: (qmail 73436 invoked by uid 500); 3 Apr 2013 20:23:15 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 73412 invoked by uid 500); 3 Apr 2013 20:23:15 -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 73403 invoked by uid 99); 3 Apr 2013 20:23:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Apr 2013 20:23:15 +0000 Date: Wed, 3 Apr 2013 20:23:15 +0000 (UTC) From: "William Slacum (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-1228) Allow clients to disable column families and locality groups 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-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621291#comment-13621291 ] William Slacum commented on ACCUMULO-1228: ------------------------------------------ Why even have the locality group defined that way in the first place then? It seems brittle if we require a client to apply labels to sets of column families (that maybe have to be mutually exclusive across lables?) and then never use them. How does the system handle querying today if a locality group is inconsistent across RFiles? I'd more prefer to have a consistent API for creation and use. If we don't allow a user to query based on locality group name, then we shouldn't have them specify it in the first place. Likewise, if we require them to specify it at creation time, then they should be able to query using it. Having one without the other makes it kind of useless. > Allow clients to disable column families and locality groups > ------------------------------------------------------------ > > Key: ACCUMULO-1228 > URL: https://issues.apache.org/jira/browse/ACCUMULO-1228 > Project: Accumulo > Issue Type: New Feature > Components: client, tserver > Affects Versions: 1.5.0 > Reporter: William Slacum > Priority: Minor > Fix For: 1.6.0 > > > There's an inconsistency between what a server is capable of and what a client can tell it to do with respect to fetching column families. > Currently, a user can tell a {{Scanner}} to fetch some set of column families. The iterators support not only this, but also the converse where a user does not want to retrieve column families. An iterator implementation can do this by hand, but a client cannot specifically tell a Scanner to not return data from a set of column families. Clients should be able to specify this option. > There also seems to be an inconsistency with how locality groups are defined and then utilized. If I want to specify a set of column families as being part of a locality group, I have to provide a mapping of locality group name to a list of column families. If I want to fetch a locality group, I have to get the mapping first, rather than just set which locality group I want to use. It'd be more convenient to tell the scanner just to fetch which locality groups I want, and have the server know which column families that means. -- 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