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 36D94FB7C for ; Tue, 7 May 2013 02:43:19 +0000 (UTC) Received: (qmail 4123 invoked by uid 500); 7 May 2013 02:43:19 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 4096 invoked by uid 500); 7 May 2013 02:43:19 -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 4087 invoked by uid 99); 7 May 2013 02:43:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 May 2013 02:43:19 +0000 Date: Tue, 7 May 2013 02:43:19 +0000 (UTC) From: "Hudson (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-466) add a default constraint to limit the size of keys 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-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13650416#comment-13650416 ] Hudson commented on ACCUMULO-466: --------------------------------- Integrated in Accumulo-Trunk #851 (See [https://builds.apache.org/job/Accumulo-Trunk/851/]) ACCUMULO-466 commit Corey Nolet's patch to add a default constraint limit the size of keys (Revision 1478404) Result = SUCCESS ecn : Files : * /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/constraints/DefaultKeySizeConstraint.java * /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/iterators/IteratorUtil.java * /accumulo/trunk/core/src/test/java/org/apache/accumulo/core/constraints * /accumulo/trunk/core/src/test/java/org/apache/accumulo/core/constraints/DefaultKeySizeConstraintTest.java * /accumulo/trunk/proxy/src/test/java/org/apache/accumulo/proxy/SimpleTest.java * /accumulo/trunk/test/src/test/java/org/apache/accumulo/test/ShellServerTest.java * /accumulo/trunk/test/src/test/java/org/apache/accumulo/test/TableOperationsIT.java > add a default constraint to limit the size of keys > -------------------------------------------------- > > Key: ACCUMULO-466 > URL: https://issues.apache.org/jira/browse/ACCUMULO-466 > Project: Accumulo > Issue Type: Improvement > Components: master > Reporter: Eric Newton > Assignee: Corey J. Nolet > Fix For: 1.6.0 > > Attachments: ACCUMULO-466.1.patch > > > If a user mistakenly inserts extremely large keys, the tablet server will eventually run out of memory just loading indexes. This is almost certainly a mistake. Add a constraint, by default, to new tables, which will limit the size of a key to a megabyte, for example, to catch these kinds of errors earlier. If the user intends to use very large keys, they can always remove the constraint. -- 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